Re: kernel not processing ICMP Redirects

Kevin Buhr (buhr@stat.wisc.edu)
01 Nov 1996 17:28:18 -0600


-----BEGIN PGP SIGNED MESSAGE-----

matthew@crocker.com (Matthew S. Crocker) writes:
|
| My linux box (actually several of them) which are running 2.0.22 &
| 2.0.23 (redhat 3.0.3) are not processing ICMP redirects from my cisco
| 2501.

Are you sure?

I'm not really familiar with the routing code in the current kernel,
so someone may yet correct me. However, judging from the 2.0.24
source, recent kernels *only* store ICMP redirects in the route cache,
not in the routing tables.

As far as I know, there's no standard utility to view the route cache,
but you can "cat /proc/net/rt_cache". Any routes with the RTF_DYNAMIC
bit (0x10) set in "flags" are the result of a redirect.

Even though these entries won't appear in the routing table, they'll
still be used.

Kevin <buhr@stat.wisc.edu>

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3
Charset: noconv
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQBVAwUBMnqHeomVIQW1OgXhAQGUPAIAgDJOc+TKxvXDxmKjldY4ISRMDYgX7rEC
WNbe0gUfRY3PN5V+yF4kibkxZXVTbkO7cx2DC2mPYxtpERJfKNmsLw==
=YriN
-----END PGP SIGNATURE-----