Linux Netfilter discussions
 help / color / mirror / Atom feed
* Couple More Questions
@ 2003-10-30 18:57 David C. Hart
  2003-10-30 19:06 ` Robert P. J. Day
  2003-10-30 20:34 ` Jeffrey Laramie
  0 siblings, 2 replies; 5+ messages in thread
From: David C. Hart @ 2003-10-30 18:57 UTC (permalink / raw)
  To: iptables mailing list

[-- Attachment #1: Type: text/plain, Size: 449 bytes --]

I've read the tutorial but a couple of doubts linger.

1. Since I'm only logging rejected packets, any suggestions on getting
name resolution into the log?

2. I'm still a bit confused on the logging of the destination address.
With our one static IP, there are two possibilities. Either a packet is
intended for our IP or for another. Yet, the logs will always show the
destination address as the IP of the LAN interface. Any suggestions?

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: Couple More Questions
@ 2003-10-30 21:04 Daniel Chemko
  0 siblings, 0 replies; 5+ messages in thread
From: Daniel Chemko @ 2003-10-30 21:04 UTC (permalink / raw)
  To: David C. Hart, iptables mailing list


2. I'm still a bit confused on the logging of the destination address.
With our one static IP, there are two possibilities. Either a packet is
intended for our IP or for another. Yet, the logs will always show the
destination address as the IP of the LAN interface. Any suggestions?

I imagine you are talking about the fact that the only packets getting
logged are those destined for the firewall machine itself. The reason
for this is that before you reach the (PREROUTING?) INPUT or FORWARD
chains, the IP layer analyses the packet to see if the packet is
destined for this machine or not. If it isn't, then the packet is
silently thrown away before reaching Netfilter.

If you DO want to receive packets in a IP layer promiscuous manner, then
you will have to set /proc/sys/net/ipv4/conf/*/rp_filter to 0. This
disables the destination IP filtering.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-10-30 21:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-30 18:57 Couple More Questions David C. Hart
2003-10-30 19:06 ` Robert P. J. Day
2003-10-30 19:14   ` David C. Hart
2003-10-30 20:34 ` Jeffrey Laramie
  -- strict thread matches above, loose matches on Subject: below --
2003-10-30 21:04 Daniel Chemko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox