Re: NAT and netfilter (appology, thanks, and correction)

David S. Miller (davem@redhat.com)
Sun, 2 Jan 2000 04:25:13 -0800


From: "Trever Adams" <nightbox@hotmail.com>
Date: Sun, 02 Jan 2000 04:59:16 MST

My worry is since my box will now forward to the private network,
how do I keep people from doing source routing and routing packets
onto my machine...

The kernel drops source routed frames based upon sysctl settings
under "/proc/sys/net/ipv4/conf/{all,default,...}/accept_source_route

Set it to "0" for interfaces you'd like source routes to be rejected
upon, or just set it under ipv4/conf/all/ to reject them everywhere
(this is the default).

Later,
David S. Miller
davem@redhat.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/