Messages in this thread |  | | From | (Alan Cox) | Subject | Re: ICMP REDIRECTs | Date | Tue, 16 Apr 1996 14:44:21 +0100 (BST) |
| |
> 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
|  |