Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gt: expire Ethernet cache of neighbors #636

Open
AltraMayor opened this issue Mar 28, 2023 · 0 comments
Open

gt: expire Ethernet cache of neighbors #636

AltraMayor opened this issue Mar 28, 2023 · 0 comments
Labels
enhancement Operational demand This issue would make Gatekeeper safer and/or cheaper to operate
Milestone

Comments

@AltraMayor
Copy link
Owner

Instances of the GT block maintain a cache of Ethernet header caches; see gt/main.c:gt_neigh_get_ether_cache(). While this cache removes entries when it's full (see drop_cache_entry_randomly()), it should also have an expiration of those entries as well. Whenever those entries are looked up (see lookup_ether_cache()) the expiration field should be updated.

This is important because IPv6 prefixes are so huge that they can easily be much larger than the entire cache. While the size of the cache can easily match the number of active IPv6 addresses, it can't match the size of an IPv6 prefix /64.

@AltraMayor AltraMayor added this to the Version 1.2 milestone Mar 28, 2023
@AltraMayor AltraMayor added the Operational demand This issue would make Gatekeeper safer and/or cheaper to operate label Mar 28, 2023
@AltraMayor AltraMayor modified the milestones: Version 1.2, Version 1.3 May 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Operational demand This issue would make Gatekeeper safer and/or cheaper to operate
Projects
None yet
Development

No branches or pull requests

1 participant