flowspec-xdp
2 years agoFix checksum offset calculation
Matt Corallo [Tue, 11 May 2021 23:36:00 +0000 (23:36 +0000)]
Fix checksum offset calculation

2 years agoSupport a wrapper XDP prog which can call the defined xdp_drop meth
Matt Corallo [Tue, 11 May 2021 21:00:12 +0000 (21:00 +0000)]
Support a wrapper XDP prog which can call the defined xdp_drop meth

3 years agoHandle packet rate limits, too
Matt Corallo [Fri, 9 Apr 2021 17:29:11 +0000 (13:29 -0400)]
Handle packet rate limits, too

3 years agoDefault to parse-options because some people like `ping -R`
Matt Corallo [Fri, 9 Apr 2021 16:48:59 +0000 (12:48 -0400)]
Default to parse-options because some people like `ping -R`

3 years agoTrack both packet count and packet sizes in drop counts.
Matt Corallo [Wed, 7 Apr 2021 19:36:40 +0000 (15:36 -0400)]
Track both packet count and packet sizes in drop counts.

3 years agoUpdate README to note lack of sorting.
Matt Corallo [Wed, 7 Apr 2021 19:27:25 +0000 (15:27 -0400)]
Update README to note lack of sorting.

3 years agoUpdate README
Matt Corallo [Tue, 6 Apr 2021 03:59:52 +0000 (23:59 -0400)]
Update README

3 years agoLess effecient, but much, much less naive rate-limiter
Matt Corallo [Tue, 6 Apr 2021 14:05:07 +0000 (10:05 -0400)]
Less effecient, but much, much less naive rate-limiter

3 years agoSupport ratelimiting communities
Matt Corallo [Tue, 6 Apr 2021 02:40:24 +0000 (22:40 -0400)]
Support ratelimiting communities

3 years agoImplement (only manually-tested) flowspec community detection except ratelimit
Matt Corallo [Mon, 5 Apr 2021 23:30:55 +0000 (19:30 -0400)]
Implement (only manually-tested) flowspec community detection except ratelimit

3 years agoTotal across loaded interfaces
Matt Corallo [Mon, 5 Apr 2021 16:29:15 +0000 (12:29 -0400)]
Total across loaded interfaces

3 years agoSimplify and (correctly) test DSCP matches
Matt Corallo [Mon, 5 Apr 2021 03:18:48 +0000 (23:18 -0400)]
Simplify and (correctly) test DSCP matches

3 years agoTrack and print rule source in drop prints
Matt Corallo [Sun, 4 Apr 2021 20:55:30 +0000 (16:55 -0400)]
Track and print rule source in drop prints

3 years agoTrack ports valid directly - as LLVM will | pointers which BPF wont allow
Matt Corallo [Sun, 4 Apr 2021 20:46:04 +0000 (16:46 -0400)]
Track ports valid directly - as LLVM will | pointers which BPF wont allow

3 years agoHelp the BPF verifier somewhat by splitting v4 and v6 rules
Matt Corallo [Sun, 4 Apr 2021 20:31:34 +0000 (16:31 -0400)]
Help the BPF verifier somewhat by splitting v4 and v6 rules

3 years agoClean up length checks with a macro and comment strange semantics
Matt Corallo [Sun, 4 Apr 2021 18:19:06 +0000 (14:19 -0400)]
Clean up length checks with a macro and comment strange semantics

3 years agoSupport multi-if map dump and fix last element print
Matt Corallo [Sun, 4 Apr 2021 17:30:31 +0000 (13:30 -0400)]
Support multi-if map dump and fix last element print

3 years agoPrint diagnostics about install location
Matt Corallo [Sun, 4 Apr 2021 17:15:06 +0000 (13:15 -0400)]
Print diagnostics about install location

3 years agoCorrect second-frag L4 matching
Matt Corallo [Sun, 4 Apr 2021 17:14:08 +0000 (13:14 -0400)]
Correct second-frag L4 matching

3 years agoAdd README
Matt Corallo [Sun, 4 Apr 2021 16:42:55 +0000 (12:42 -0400)]
Add README

3 years agoImprove drop count printing
Matt Corallo [Sun, 4 Apr 2021 16:46:28 +0000 (12:46 -0400)]
Improve drop count printing

3 years agoUpdate (and test) AST grammar based on feedback
Matt Corallo [Sun, 4 Apr 2021 15:54:59 +0000 (11:54 -0400)]
Update (and test) AST grammar based on feedback

3 years agoAdd default installer script
Matt Corallo [Sun, 4 Apr 2021 02:14:43 +0000 (22:14 -0400)]
Add default installer script

3 years agoTrack drops
Matt Corallo [Sun, 4 Apr 2021 01:43:17 +0000 (21:43 -0400)]
Track drops

3 years agoMake v6 frag parsing optional
Matt Corallo [Sun, 4 Apr 2021 00:00:51 +0000 (20:00 -0400)]
Make v6 frag parsing optional

3 years agoOnly parse v4/v6 if we have relevant rules for them
Matt Corallo [Sat, 3 Apr 2021 22:09:57 +0000 (18:09 -0400)]
Only parse v4/v6 if we have relevant rules for them

3 years agoImprove arg parsing somewhat and add flexibility/standardness
Matt Corallo [Sat, 3 Apr 2021 22:08:01 +0000 (18:08 -0400)]
Improve arg parsing somewhat and add flexibility/standardness

3 years agoTag short packets as unlikely
Matt Corallo [Sat, 3 Apr 2021 21:57:16 +0000 (17:57 -0400)]
Tag short packets as unlikely

3 years agoSupport v6 fragment parsing
Matt Corallo [Sat, 3 Apr 2021 20:41:41 +0000 (16:41 -0400)]
Support v6 fragment parsing

3 years agoInitial checkin
Matt Corallo [Sat, 3 Apr 2021 04:07:27 +0000 (00:07 -0400)]
Initial checkin