On 09/25/2018 03:17 AM, Pepe Charli wrote:
> Hi,
> 
> In "5.1.11.1  Release Notes"  said:
> 
> "4)  Now that the route caches have been removed from the kernel, ......"
> 
> What does this mean?
> 

Originally, the IPv4 stack would cache the result of a route lookup in a
hash table such that subsequent packets belonging to the same flow could
be routed based on a simple cache lookup. The cache was removed from the
IPv4 stack in kernel version 3.6. The IPv6 stack still uses a form of
caching, but keeps the cached entries in the same tree structure used to
store the IPv6 routing table. Beginning with kernel version 4.2, only
routes with PMTU exceptions are cached, which means that the vast
majority of lookup results are not cached (see
https://vincent.bernat.ch/en/blog/2017-ipv6-route-lookup-linux). You can
see such cached routes using the command 'ip route ls table cache'.

-Tom
-- 
Tom Eastep        \   Q: What do you get when you cross a mobster with
Shoreline,         \     an international standard?
Washington, USA     \ A: Someone who makes you an offer you can't
http://shorewall.org \   understand
                      \_______________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to