All of lore.kernel.org
 help / color / mirror / Atom feed
* Dropping network "noise"
@ 2005-02-13  6:28 Mikhail Zotov
  2005-02-13 12:03 ` Jose Maria Lopez Hernandez
  2005-02-15 16:15 ` Jason Opperisano
  0 siblings, 2 replies; 12+ messages in thread
From: Mikhail Zotov @ 2005-02-13  6:28 UTC (permalink / raw)
  To: netfilter

Hello everybody,

I have a Linux machine (with a static routable IP address)
connected to a windoops LAN.  As is known, there is certain
"noise" in windoops networks, which can be silently dropped
by a rule like this:

iptables -A INPUT -p udp --dport 135:139 -j DROP

I have found that this "noise" can also be effectively blocked
by the following rule:

iptables -A INPUT -d ! $IP.ADDRESS.OF.MY_BOX -j DROP

I haven't noticed anything going wrong yet, still I'd like to
know: Does this rule have a (potential) drawback?  Can it break
anything in case I have NFS or obtain IP address via DHCP or
in any other situation?

A similar question goes for the case of a Linux router/gateway
protecting a LAN (with machines with routable IP addresses).
Can the following rules do any harm?

iptables -A FORWARD -i $EXTERIOR_INTERFACE -d $LAN.BROADCAST -j DROP
iptables -A FORWARD -i $EXTERIOR_INTERFACE -d ! $LAN.IP.ADDRESSES.RANGE -j DROP

Thanks in advance!

--
Mikhail




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

end of thread, other threads:[~2005-02-16 13:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-13  6:28 Dropping network "noise" Mikhail Zotov
2005-02-13 12:03 ` Jose Maria Lopez Hernandez
2005-02-13 13:09   ` Georgi Alexandrov
2005-02-13 13:30     ` Mikhail Zotov
2005-02-13 13:56     ` Jose Maria Lopez Hernandez
2005-02-13 20:54       ` R. DuFresne
2005-02-13 21:35         ` Jose Maria Lopez Hernandez
2005-02-13 13:30   ` Mikhail Zotov
2005-02-15 16:15 ` Jason Opperisano
2005-02-16  7:34   ` Mikhail Zotov
2005-02-16 13:28     ` Jason Opperisano
2005-02-16 13:51       ` Mikhail Zotov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.