Commit Graph

295 Commits

Author SHA1 Message Date
gamemann
2d9138b8d9 Rename variable and structure names. 2021-11-12 16:58:14 +00:00
gamemann
90a79e0338 Update Makefile; Add command line compile and remove unneeded flags. 2021-11-12 16:57:39 +00:00
gamemann
aa85496ced Rename config functions. 2021-11-12 16:51:29 +00:00
gamemann
b0f60b05db Rename function names. 2021-11-12 16:48:26 +00:00
gamemann
ad588f74d5 Implement new command line and XDP attach functionality. 2021-11-12 16:46:49 +00:00
gamemann
04ba803b11 Add SKB command line option. 2021-11-12 16:39:36 +00:00
gamemann
ad48c3c7f7 Add command line source/header files. 2021-11-12 16:38:10 +00:00
gamemann
d4d361d9a5 Use #pragma once in header files. 2021-11-12 16:30:26 +00:00
gamemann
255db241a7 Update Makefile. 2021-11-12 16:26:55 +00:00
gamemann
3c22649f3e Use different path for libbpf. 2021-11-12 16:22:19 +00:00
gamemann
637eea978d Use different paths for libbpf. 2021-11-12 16:21:49 +00:00
gamemann
8857bc38dd Update libbpf to latest commit. 2021-11-12 16:10:47 +00:00
gamemann
5c604026d0 Rename config includes. 2021-11-12 15:53:41 +00:00
gamemann
24a7cf5c0c Rename include paths. 2021-11-12 15:53:01 +00:00
gamemann
b66d43b8cb Rename main program. 2021-11-12 15:52:14 +00:00
gamemann
21e2904896 Move header files into main source directory. 2021-11-12 15:51:02 +00:00
gamemann
ee61f2d783 Change stats map into per CPU map for performance. 2021-11-12 15:49:09 +00:00
gamemann
3d0fd68074 Update README. 2021-04-05 22:26:38 +00:00
gamemann
798a4278e2 Update README; Correct typo. 2021-02-21 18:43:13 +00:00
gamemann
912af3fa56 Update README. 2021-02-21 18:42:21 +00:00
gamemann
4420cb2f00 Improve ICMP matching. 2020-12-18 18:53:10 +00:00
gamemann
cf10bd5696 Correct bit shift. 2020-12-18 15:04:35 +00:00
gamemann
e40dece280 Shift correctly with 128-bit integer. 2020-12-18 15:02:28 +00:00
gamemann
457b2e394d Update help text. 2020-12-18 02:36:31 +00:00
gamemann
5fddb6d87e Update README. 2020-12-18 02:27:47 +00:00
gamemann
b0d0b9f98f Update README. 2020-12-18 02:23:53 +00:00
gamemann
68b9b0b124 Update README. 2020-12-18 02:21:50 +00:00
gamemann
95c771c825 Increase max filters from 55 to 100. 2020-12-18 02:16:15 +00:00
gamemann
0e80306f0f Change config syntax for L4 protocols and update README. 2020-12-18 02:12:05 +00:00
gamemann
f30f992468 Add support for offload/hardware mode. 2020-12-18 01:51:35 +00:00
gamemann
499a3e665a Add IPv6 support, rewrite program to improve performance, and update README. 2020-12-18 01:42:58 +00:00
Christian Deacon
5a42f995f5 Corrected typo. 2020-09-15 19:03:59 +00:00
Christian Deacon
1b01eab2df Updated README; added note regarding Barricade Firewall project. 2020-09-15 19:03:08 +00:00
Christian Deacon
9ffc60af00 Allow only layer 3 filtering. 2020-07-25 15:58:30 +00:00
Christian Deacon
5deec25ddf Added another note to README. 2020-07-25 14:58:13 +00:00
Christian Deacon
9993e64fb6 Increase max filters to 55. 2020-07-25 14:25:37 +00:00
Christian Deacon
4c9c11c6b1 Remove references to payload matching. 2020-07-25 14:24:05 +00:00
Christian Deacon
60ded19f6f Updated README. 2020-07-24 13:53:24 +00:00
Christian Deacon
9c19e1eb8c Add define for incrementing blocked stats when the source IP is on the blocked map. 2020-06-04 18:22:07 +00:00
Christian Deacon
f7a2f0ccfb Move stats map initialization and increase blocked count for source IPs on blocked map. 2020-06-04 18:06:12 +00:00
Christian Deacon
af26940018 Use built-in Atomic functions to increment values on maps. 2020-06-04 17:57:30 +00:00
Christian Deacon
8faf701446 Switch to single LRU maps since we can't reliably read per CPU maps within BPF program. 2020-06-04 17:06:50 +00:00
Christian Deacon
d5d3f02317 Remove filterID and tried new payload matching code (not working). 2020-06-04 17:04:17 +00:00
Christian Deacon
6e4a89c076 Updated README. 2020-05-21 01:19:28 +00:00
Christian Deacon
db2c4792c7 Updated README. 2020-05-21 01:17:52 +00:00
Christian Deacon
7f213f4933 Updated README. 2020-05-21 00:24:40 +00:00
Christian Deacon
e40beb6d1e Fixed segfault from changing payload matching length. 2020-05-21 00:13:24 +00:00
Christian Deacon
4c0f36e71c Updated README. 2020-05-21 00:05:34 +00:00
Christian Deacon
57da5c8bdb Changed blocktime from uint16_t to uint64_t. 2020-05-17 22:45:07 +00:00
Christian Deacon
6896159cec Updated README. 2020-05-08 12:29:06 +00:00