text
stringlengths
9
39.2M
dir
stringlengths
25
226
lang
stringclasses
163 values
created_date
timestamp[s]
updated_date
timestamp[s]
repo_name
stringclasses
751 values
repo_full_name
stringclasses
752 values
star
int64
1.01k
183k
len_tokens
int64
1
18.5M
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/main/main.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
3,089
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_config.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
748
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_mailbox.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
417
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/seqlock.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,701
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_launch.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
520
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_rib.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
3,365
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_lls.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
3,809
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_acl.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,104
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_fib.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,493
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_l2.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
974
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_net.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
6,403
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_sol.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,154
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/memblock.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
505
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_qid.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
269
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_ipip.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
303
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_varip.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
499
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/list.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,467
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_ggu.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,039
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_log_ratelimit.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,005
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_rt.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,457
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_flow.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
290
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_ratelimit.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
277
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_main.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
634
```objective-c /* * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. *...
/content/code_sandbox/include/coro.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
4,099
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_cps.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,479
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_gk.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
3,438
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/include/gatekeeper_hash.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,027
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/lls/arp.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
356
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lls/cache.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
5,836
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/lls/nd.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
330
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lls/arp.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,852
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lls/main.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
9,686
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/lls/cache.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,129
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lls/nd.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
6,853
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/sol/main.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
5,705
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/acl.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
4,651
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/l2.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,142
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/flow.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,151
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/qid.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
537
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/ipip.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,129
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/mailbox.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
866
```c #include <rte_ip.h> #include <rte_mbuf.h> #include "gatekeeper_varip.h" /* NextHeader field of IPv6 header. */ /* Hop-by-hop option header. */ #define NEXTHDR_HOP (0) /* Routing header. */ #define NEXTHDR_ROUTING (43) /* Fragmentation/reassembly header. */ #define NEXTHDR_FRAGMENT (44) /* Authenticatio...
/content/code_sandbox/lib/varip.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
556
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/ratelimit.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
425
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/hash.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
5,965
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/launch.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,578
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/fib.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
11,048
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/rib.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
8,662
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/memblock.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
409
```c /* * * Redistribution and use in source and binary forms, with or without modifica- * tion, are permitted provided that the following conditions are met: * * 1. Redistributions of source code must retain the above copyright notice, * this list of conditions and the following disclaimer. * * 2. ...
/content/code_sandbox/lib/coro.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
6,880
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/log_ratelimit.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,498
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/lib/net.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
24,701
```objective-c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTA...
/content/code_sandbox/gt/lua_lpm.h
objective-c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
156
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/gt/main.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
20,156
```lua return function (gatekeeper_server) -- -- Change these parameters to configure the network. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG local user --= "gatekeeper" local front_ports = {"enp133s0f0"} local front_ips = {"10.0.1.1/24", "2001:db8...
/content/code_sandbox/lua/net.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,222
```lua return function (net_conf, lls_conf, numa_table) -- -- Configure the variables below for the GT block. -- -- These parameters should likely be initially changed. local n_lcores = 2 local log_level = staticlib.c.RTE_LOG_DEBUG local lua_policy_file = "examples/policy.lua" local lua_base_directory = "./lu...
/content/code_sandbox/lua/gt.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
785
```lua return function (net_conf, gk_conf, gt_conf, numa_table) -- -- Configure the variables below for the Dynamic Config block. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG -- XXX #155 These parameters should only be changed for performance reasons. ...
/content/code_sandbox/lua/dyn_cfg.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
433
```lua return function (net_conf, sol_lcores) -- -- Configure the variables below for the SOL block. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG local destination_bw_gbps = 1 -- XXX #155 These parameters should only be changed for performance reasons....
/content/code_sandbox/lua/sol.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
372
```lua return function (net_conf, gk_conf, lcore) -- -- Configure the variables below for the GGU block. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG -- XXX #155 These parameters should only be changed for performance reasons. local mailbox_max_entries...
/content/code_sandbox/lua/ggu.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
382
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/gt/lua_lpm.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
5,748
```lua return function (net_conf, gk_conf, gt_conf, lls_conf, numa_table) -- -- Configure the variables below for the CPS block. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG -- XXX #155 These parameters should only be changed for performance reasons. l...
/content/code_sandbox/lua/cps.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
522
```lua return function (net_conf, numa_table) -- -- Configure the variables below for the LLS block. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG -- XXX #155 These parameters should only be changed for performance reasons. local mailbox_max_entries_exp...
/content/code_sandbox/lua/lls.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
547
```lua return function (net_conf, lls_conf, sol_conf, gk_lcores, gk_sol_map) -- -- Configure the variables below for the GK block. -- -- These parameters should likely be initially changed. local log_level = staticlib.c.RTE_LOG_DEBUG local bpf_base_directory = "./lua/bpf" local bpf_programs = { [0] = "grante...
/content/code_sandbox/lua/gk.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
1,151
```lua -- The gatekeeper module is already loaded, but it only contains -- C functions statically linked. -- Unsetting its package.loaded entry allows Lua to load -- the Lua functions of the module. package.loaded["staticlib"] = nil require "gatekeeper/staticlib" function gatekeeper_init() -- When gatekeeper_server ...
/content/code_sandbox/lua/main_config.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
839
```lua -- Gatekeeper - DDoS protection system. -- -- This program is free software: you can redistribute it and/or modify -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or F...
/content/code_sandbox/lua/gatekeeper/stdcdefs.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
163
```lua -- Gatekeeper - DDoS protection system. -- -- This program is free software: you can redistribute it and/or modify -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or F...
/content/code_sandbox/lua/gatekeeper/lpmlib.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
421
```lua -- Gatekeeper - DDoS protection system. -- -- This program is free software: you can redistribute it and/or modify -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or F...
/content/code_sandbox/lua/gatekeeper/policylib.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,850
```lua -- Gatekeeper - DDoS protection system. -- -- This program is free software: you can redistribute it and/or modify -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or F...
/content/code_sandbox/lua/gatekeeper/dylib.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,124
```lua require "gatekeeper/staticlib" local reply_msg = "" local dyc = staticlib.c.get_dy_conf() if dyc.gt ~= nil then local function example() print("Hello Gatekeeper!") end dylib.update_gt_lua_states(dyc.gt) dylib.update_gt_lua_states_incrementally(dyc.gt, example, false) return "gt: successfully updated t...
/content/code_sandbox/lua/examples/example_of_dynamic_config_request.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,064
```lua local policylib = require("gatekeeper/policylib") local ffi = require("ffi") local function dcs_default(policy) return policylib.decision_granted(policy, 1024, -- tx_rate_kib_sec 300, -- cap_expire_sec 240000, -- next_renewal_ms 3000) -- renewal_step_ms end local function dcs_malformed(policy) return...
/content/code_sandbox/lua/examples/policy.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,229
```lua -- Gatekeeper - DDoS protection system. -- -- This program is free software: you can redistribute it and/or modify -- (at your option) any later version. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or F...
/content/code_sandbox/lua/gatekeeper/staticlib.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
4,284
```lua require "gatekeeper/staticlib" require "gatekeeper/policylib" local dyc = staticlib.c.get_dy_conf() if dyc.gt == nil then return "Gatekeeper: failed to run as Grantor server\n" end -- The function assumes that the variable lpm, an IPv4 LPM table, -- is globally available in the policy as in the policy exampl...
/content/code_sandbox/lua/examples/example_gt_lpm_params_request.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
178
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gt == nil then return "No GT block available; not a Grator server" end dylib.update_gt_lua_states(dyc.gt) return "Successfully reloaded the Lua policy" ```
/content/code_sandbox/gkctl/scripts/reload_policy.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
78
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end local function print_only_grantor(fib_dump_entry, acc) if fib_dump_entry.action ~= d...
/content/code_sandbox/gkctl/scripts/show_fib_grantor.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
138
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end return table.concat(dylib.list_gk_fib6(dyc.gk, dylib.print_fib_dump_entry, {})) ```
/content/code_sandbox/gkctl/scripts/show_fib6.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
86
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end return table.concat(dylib.list_gk_neighbors4(dyc.gk, dylib.print_neighbor_dump_entry,...
/content/code_sandbox/gkctl/scripts/show_neigh.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
85
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end local function new_summary() return { dup_fib_ids = {}, present_fib_ids = {} } end ...
/content/code_sandbox/gkctl/scripts/check_fibs.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
412
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end local function new_summary() return { actions = {}, prefix_lengths = {} } end local...
/content/code_sandbox/gkctl/scripts/summarize_fibs.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
594
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end local function print_only_grantor(fib_dump_entry, acc) if fib_dump_entry.action ~= d...
/content/code_sandbox/gkctl/scripts/show_fib6_grantor.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
138
```lua require "gatekeeper/staticlib" local llsc = staticlib.c.get_lls_conf() if llsc == nil then return "No link layer support block available" end return table.concat(dylib.list_lls_arp(llsc, dylib.print_lls_dump_entry, {})) ```
/content/code_sandbox/gkctl/scripts/show_arp.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
61
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/gkctl/main.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
2,062
```lua require "gatekeeper/staticlib" local llsc = staticlib.c.get_lls_conf() if llsc == nil then return "No link layer support block available" end return table.concat(dylib.list_lls_nd(llsc, dylib.print_lls_dump_entry, {})) ```
/content/code_sandbox/gkctl/scripts/show_nd.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
60
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end return table.concat(dylib.list_gk_neighbors6(dyc.gk, dylib.print_neighbor_dump_entry,...
/content/code_sandbox/gkctl/scripts/show_neigh6.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
85
```lua require "gatekeeper/staticlib" local dyc = staticlib.c.get_dy_conf() if dyc == nil then return "No dynamic configuration block available" end if dyc.gk == nil then return "No GK block available; not a Gatekeeper server" end return table.concat(dylib.list_gk_fib4(dyc.gk, dylib.print_fib_dump_entry, {})) ```
/content/code_sandbox/gkctl/scripts/show_fib.lua
lua
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
86
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/config/static.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
3,532
```unknown #!/bin/sh set -e if [ "$1" = "configure" ]; then if ! getent passwd gatekeeper > /dev/null; then adduser --quiet --system --group --no-create-home --home /run/gatekeeper gatekeeper fi [ -f /etc/gatekeeper/if_map.lua ] || generate_if_map /etc/gatekeeper/if_map.lua dpkg-statoverride ...
/content/code_sandbox/debian/gatekeeper.postinst
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
254
```unknown #!/bin/sh /usr/bin/find /var/log/gatekeeper \ -maxdepth 1 \ -type f \ -name gatekeeper_\*.log \ -mtime 1 \ -delete ```
/content/code_sandbox/debian/gatekeeper.cron.daily
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
50
```unknown etc/gatekeeper/bpf usr/sbin usr/share/doc/gatekeeper/examples usr/share/gatekeeper usr/share/lua/5.1/gatekeeper var/log/gatekeeper ```
/content/code_sandbox/debian/gatekeeper.dirs
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
43
```unknown [Unit] Description=Gatekeeper DDoS protection system After=network.target [Service] EnvironmentFile=/etc/gatekeeper/envvars ExecStartPre=/usr/bin/install -oroot -ggatekeeper -m0770 -d /var/run/gatekeeper /var/run/dpdk/rte # We ignore dpdk-devbind errors on ExecStartPre to allow Gatekeeper # to be restarted...
/content/code_sandbox/debian/gatekeeper.service
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
192
```unknown gatekeeper (1.1.0-0gatekeeper1) focal; urgency=medium * Rebuild for 1.1.0 -- Andre Nathan <andre@digirati.com.br> Fri, 20 May 2022 14:48:40 -0300 gatekeeper (1.0.0-0) focal; urgency=medium * Rebuild for 1.0.0 -- Andre Nathan <andre@digirati.com.br> Wed, 18 Nov 2020 13:35:53 -0300 gatekeeper (1....
/content/code_sandbox/debian/changelog
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
248
```unknown version=3 ```
/content/code_sandbox/debian/watch
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
5
```unknown gatekeeper: binary-without-manpage usr/sbin/gatekeeper gatekeeper: binary-without-manpage usr/sbin/gkctl gatekeeper: missing-dependency-on-libc needed by usr/sbin/gatekeeper and 1 others gatekeeper: binary-without-manpage usr/sbin/generate_if_map # We're explicitly ignoring the errors below, which are due t...
/content/code_sandbox/debian/gatekeeper.lintian-overrides
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
128
```unknown 12 ```
/content/code_sandbox/debian/compat
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
3
```c /* * Gatekeeper - DDoS protection system. * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or ...
/content/code_sandbox/config/dynamic.c
c
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
6,718
```shell #!/bin/sh if [ "$#" -eq "0" ]; then echo "devbind.sh <interface> [<interface> ...]" fi for iface in $@; do /usr/share/gatekeeper/dpdk-devbind.py --bind=vfio-pci $iface done ```
/content/code_sandbox/debian/devbind.sh
shell
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
66
```unknown Format: path_to_url Upstream-Name: gatekeeper Upstream-Contact: Michel Machado <michel@digirati.com.br> Source: path_to_url Files: * This program is free software: you can redistribute it and/or modify (at your option) any later version. . This package is distributed in the hope that it will be useful, ...
/content/code_sandbox/debian/copyright
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
132
```unknown DPDK_ARGS="" GATEKEEPER_ARGS="--lua-base-dir /etc/gatekeeper --log-base-dir /var/log/gatekeeper" GATEKEEPER_INTERFACES="" ```
/content/code_sandbox/debian/envvars
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
38
```unknown Source: gatekeeper Section: net Priority: optional Build-Depends: debhelper (>= 12), clang, gcc-multilib, quilt, libc6-dev-i386, libcap-dev (>= 2.32), libelf-dev, libhugetlbfs-bin, libkmod-...
/content/code_sandbox/debian/control
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
218
```unknown lua/*.lua etc/gatekeeper/ bpf/*.bpf etc/gatekeeper/bpf/ lua/gatekeeper/*.lua usr/share/lua/5.1/gatekeeper/ lua/examples/*.lua usr/share/doc/gatekeeper/examples build/gatekeeper usr/sbin/ generate_if_map usr/sbin/ gkctl/gkctl usr/sbin/ gkctl/scripts/* usr/share/gatekeeper dependencies/dpdk/usertools/dpdk-de...
/content/code_sandbox/debian/gatekeeper.install
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
120
```unknown #!/bin/sh set -e if test "$1" = "purge"; then dpkg-statoverride --remove /usr/share/gatekeeper/devbind.sh > /dev/null 2>/dev/null || true dpkg-statoverride --remove /var/log/gatekeeper >/dev/null 2>/dev/null || true dpkg-statoverride --remove /etc/gatekeeper >/dev/null 2>/dev/null || true d...
/content/code_sandbox/debian/gatekeeper.postrm
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
122
```unknown 3.0 (quilt) ```
/content/code_sandbox/debian/source/format
unknown
2016-07-06T18:53:45
2024-08-15T00:24:19
gatekeeper
AltraMayor/gatekeeper
1,280
8