lkml.org 
[lkml]   [1996]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: ICMP REDIRECTs
Date
> In the file net/ipv4/ip_forward.c, it says that you do not have to forward
> a frame on the interface that it arrived upon. Is it okay if someone
> wants to forward a frame on the same interface and disable the ICMP
> REDIRECTs ?

Yes. The packet is sent anyway, the redirect as you can see in the code you
pasted is configurable.

> 3. Is it okay, if I define CONFIG_IP_NO_ICMP_REDIRECT in the file
> /usr/src/linux/include/net/ip_masq.h as
>
> #ifndef CONFIG_IP_NO_ICMP_REDIRECT
> #define CONFIG_IP_NO_ICMP_REDIRECT
> #endif
>
> to accomplish the desired effect for the point 2 ?

I'd add it to my net/Config.in as a question but yes should be fine



\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.063 / U:0.764 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site