Skip to content

XDP connection ratelimiting network function

License

Notifications You must be signed in to change notification settings

satyaranjanp/ratelimiting

Repository files navigation

Connection Ratelimiting

Connection ratelimiting uses a sliding window algorithm for managing the connections.

L3AF RateLimiting overview

This kernel function based on XDP keeps a counter for number of connections received in the previous window (say 1s) and also keeps track of the connections it is receiving in the current window. And based on the current time, it calculates what percentage of the sliding window is in the current interval vs previous interval and determines whether to accept or drop the packet.

For more details, please visit https://medium.com/walmartglobaltech/introducing-walmarts-l3af-project-xdp-based-packet-processing-at-scale-81a13ff49572.

About

XDP connection ratelimiting network function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published