aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/ratelimiter.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ratelimiter: use KMEM_CACHE macroJason A. Donenfeld2017-07-201-6/+6
| | | | Suggested-by: Samuel Holland <samuel@sholland.org>
* ratelimiter: consistently use non-bh rcuJason A. Donenfeld2017-07-071-1/+1
|
* ratelimiter: add self-testJason A. Donenfeld2017-07-061-0/+2
|
* ratelimiter: use IPv6 /64 instead of /96Jason A. Donenfeld2017-07-041-8/+8
|
* ratelimiter: use kvzalloc for hash table allocationJason A. Donenfeld2017-07-041-9/+6
|
* global: cleanup IP header checkingJason A. Donenfeld2017-06-261-2/+2
| | | | This way is more correct and ensures we're within the skb head.
* ratelimiter: rewrite from scratchJason A. Donenfeld2017-06-261-96/+153
| | | | | | | This not only removes the depenency on x_tables, but it also gives us much better performance and memory usage. Now, systems are able to have millions of WireGuard interfaces, without having to worry about a thundering herd of garbage collection.
* data: big refactoringJason A. Donenfeld2017-03-201-1/+1
|
* ratelimiter: 800ms too fast, decrease to 2s sustained rateJason A. Donenfeld2017-01-151-2/+2
|
* Use __read_mostly attribute when possibleJason A. Donenfeld2017-01-131-2/+2
|
* Update copyrightJason A. Donenfeld2017-01-101-1/+1
|
* ratelimiter: remember newline in errorJason A. Donenfeld2016-12-161-2/+2
|
* ratelimiter: drop family from action for 4.10Jason A. Donenfeld2016-12-161-2/+0
| | | | | This was never actually used, and now that member of the struct has been removed all together from the kernel.
* compat: build dep errors belong here, since it's out of tree specificJason A. Donenfeld2016-12-091-8/+1
|
* ratelimiter: load hashlimit at modinsert timeJason A. Donenfeld2016-11-291-35/+46
| | | | This fixes a potential race with net_lock and rtnl_lock.
* headers: cleanup noticesJason A. Donenfeld2016-11-211-1/+1
|
* Rework headers and includesJason A. Donenfeld2016-09-291-2/+4
|
* ratelimiter: hard-depend on runtime dependenciesJason A. Donenfeld2016-08-091-0/+7
|
* ratelimiter: do not require IPv6experimental-0.0.20160808Jason A. Donenfeld2016-08-081-4/+12
|
* ratelimiter: correct commentJason A. Donenfeld2016-07-231-1/+1
|
* Initial commitJason A. Donenfeld2016-06-251-0/+119