* icmp-redirect
@ 2008-07-15 20:25 Andrea Bencini
2008-07-16 14:56 ` icmp-redirect Grant Taylor
0 siblings, 1 reply; 2+ messages in thread
From: Andrea Bencini @ 2008-07-15 20:25 UTC (permalink / raw)
To: netfilter
I have a local network (10.100.0.0/24) and my default gateway is a firewall
(fw;eth0=10.100.0.1) with linux OS and netfilter.
In the same network I have an other gateway (linux OS and netfilter) to
connect a local subnetwork (10.6.70.0/24). Gateway eth0 is 10.100.0.241 and
gateway eth1 is 10.6.70.241.
In the local network (10.100.0.0/24) I have windows client (XP prof) and
default gateway of these is 10.100.0.1.
I want implement "icmp redirect" in the firewall (default gateway); What do
I have to add or to change in my firewall?
Thanks
Andrea
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: icmp-redirect
2008-07-15 20:25 icmp-redirect Andrea Bencini
@ 2008-07-16 14:56 ` Grant Taylor
0 siblings, 0 replies; 2+ messages in thread
From: Grant Taylor @ 2008-07-16 14:56 UTC (permalink / raw)
To: Mail List - Netfilter
On 07/15/08 15:25, Andrea Bencini wrote:
> I have a local network (10.100.0.0/24) and my default gateway is a
> firewall (fw;eth0=10.100.0.1) with linux OS and netfilter.
> In the same network I have an other gateway (linux OS and netfilter) to
> connect a local subnetwork (10.6.70.0/24). Gateway eth0 is 10.100.0.241
> and gateway eth1 is 10.6.70.241.
> In the local network (10.100.0.0/24) I have windows client (XP prof) and
> default gateway of these is 10.100.0.1.
> I want implement "icmp redirect" in the firewall (default gateway); What
> do I have to add or to change in my firewall?
Are you sure that it is not happening already? There are some /proc
entries controlling how Linux behaves regarding ICMP redirects (should
it listen to and / or send them) that you can change. I think they both
are enabled by default, though your distro may throb them.
/proc/sys/net/ipv4/icmp_ratemask
/proc/sys/net/ipv4/icmp_ratelimit
/proc/sys/net/ipv4/icmp_ignore_bogus_error_responses
/proc/sys/net/ipv4/icmp_echo_ignore_broadcasts
/proc/sys/net/ipv4/icmp_echo_ignore_all
I think you will be most interested in the last two. Check kernel
documentation (<kernel source>/Documentation/networking/ip-sysctl.txt)
for more information.
Grant. . . .
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-07-16 14:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-15 20:25 icmp-redirect Andrea Bencini
2008-07-16 14:56 ` icmp-redirect Grant Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox