bui
|
d309dac36e
|
remove +build
|
2022-02-09 12:44:24 +01:00 |
|
sabban
|
ec663077e8
|
fix compilation error. backups->files for consistency with crowdsec
code.
|
2022-02-09 12:27:44 +01:00 |
|
sabban
|
096138d995
|
add go.mod
|
2022-02-09 12:19:48 +01:00 |
|
sabban
|
24f07a184e
|
change directory
|
2022-02-09 12:19:26 +01:00 |
|
sabban
|
e55a78c234
|
fix missing github dep
|
2022-02-09 12:19:07 +01:00 |
|
bui
|
e54129a732
|
use some alias for modes
|
2022-02-09 12:05:46 +01:00 |
|
bui
|
e33858412b
|
undo
|
2022-02-09 11:59:28 +01:00 |
|
bui
|
8a4b76b6f4
|
do not error on nftables options if nftables mode is not set
|
2022-02-09 11:58:43 +01:00 |
|
Thibault "bui" Koechlin
|
d15154a0cc
|
Merge branch 'main' into minor_fixes
|
2022-02-09 11:51:20 +01:00 |
|
bui
|
1fe7faade9
|
fix #112
|
2022-02-09 11:50:09 +01:00 |
|
bui
|
bdef686535
|
fix #120
|
2022-02-09 11:46:43 +01:00 |
|
Thibault "bui" Koechlin
|
22c4cfde38
|
Merge pull request #115 from sbs2001/nftables_speedup
Speed up nftables via batching
|
2022-02-09 11:43:52 +01:00 |
|
bui
|
b04726c4d8
|
do not enforce nft options if mode is not set to nftables
|
2022-02-09 11:37:47 +01:00 |
|
Shivam Sandbhor
|
9f29c3832c
|
Add longest decision only
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-09 16:06:21 +05:30 |
|
Shivam Sandbhor
|
d4a112272e
|
Fix lint
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-09 14:29:11 +05:30 |
|
Shivam Sandbhor
|
b623bd6d68
|
Speed up nftables via batching
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-09 14:29:10 +05:30 |
|
Thibault "bui" Koechlin
|
04db7367f1
|
Merge pull request #123 from sbs2001/func_tests
Add functional tests
|
2022-02-09 09:51:41 +01:00 |
|
Shivam Sandbhor
|
2bbb1b9f3a
|
Use subprocess.run
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-09 14:14:08 +05:30 |
|
Thibault "bui" Koechlin
|
b614526d9b
|
Merge pull request #129 from crowdsecurity/configurable_logging
Configurable logging
|
2022-02-09 09:21:49 +01:00 |
|
bui
|
3cca91a016
|
update default config
|
2022-02-08 18:18:52 +01:00 |
|
bui
|
13b4831fa0
|
configurable logging : allow config max_age, max_size, compression etc
|
2022-02-08 18:12:54 +01:00 |
|
Thibault "bui" Koechlin
|
050f19a1ef
|
Merge pull request #128 from crowdsecurity/fix_crowdsec#1248
ensure service is enabled
v0.0.23-rc0
|
2022-02-08 15:41:10 +01:00 |
|
bui
|
6dbf1cacb5
|
ensure service is enabled
|
2022-02-08 15:31:01 +01:00 |
|
Shivam Sandbhor
|
cbdff76e37
|
Update cfg in funct tests
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:57:35 +05:30 |
|
Shivam Sandbhor
|
4f08ad60ee
|
Make dummy lapi's port configurable
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:52:53 +05:30 |
|
Shivam Sandbhor
|
c52ad0be68
|
Makefile fixes
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:48:40 +05:30 |
|
Shivam Sandbhor
|
18b78f4708
|
Create a MockLAPI class instead of global flask obj
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:48:40 +05:30 |
|
Shivam Sandbhor
|
424139b487
|
Make review changes
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:48:39 +05:30 |
|
Shivam Sandbhor
|
a6ce4944fa
|
Fix get_set_elements
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:45:25 +05:30 |
|
Shivam Sandbhor
|
34701b9fed
|
Add functional tests
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
|
2022-02-08 14:45:25 +05:30 |
|
Marco Mariani
|
dcb3f996f1
|
lint
|
2022-02-07 10:39:32 +01:00 |
|
mmetc
|
cbf1b94e4e
|
fix #125 - "make static" missing most of ldflags (#126)
|
2022-02-04 13:05:17 +01:00 |
|
Thibault "bui" Koechlin
|
6139ba0855
|
Merge pull request #111 from jarppiko/nftables_configurable_names
Nftables: configurable table/chain/blacklist names & hierarchical YAML config. fixes #74
|
2022-02-04 11:39:11 +01:00 |
|
mmetc
|
e985700ff7
|
Codeql CI (#122)
* codeql action
|
2022-02-03 12:21:46 +01:00 |
|
mmetc
|
ef05d0b3fd
|
fix #119; and no need to export NewConfig() (#121)
|
2022-02-03 12:20:58 +01:00 |
|
mmetc
|
1b3d20eb62
|
Merge pull request #117 from crowdsecurity/if-else
reduce else/branch count
|
2022-02-02 09:23:07 +01:00 |
|
Marco Mariani
|
d5bc93d61c
|
reduce else/branch count
|
2022-02-01 23:28:52 +01:00 |
|
mmetc
|
6a96a6d52d
|
Merge pull request #116 from crowdsecurity/mm-ci
golangci-lint
|
2022-02-01 09:48:21 +01:00 |
|
Marco Mariani
|
6086ceeece
|
unused var; redundant comparison
|
2022-01-31 23:05:10 +01:00 |
|
Marco Mariani
|
a897cc937b
|
"make lint" target
|
2022-01-31 23:04:49 +01:00 |
|
Marco Mariani
|
8bb0249a6d
|
golangci-lint action
|
2022-01-31 23:04:41 +01:00 |
|
jarppiko
|
3b09a52658
|
nftables.ipv6.enabled: true
|
2022-01-07 13:12:09 +02:00 |
|
jarppiko
|
ccdbd5bc3b
|
default blacklist names as singular vs plurar
`crowdsec-blacklists` ==> `crowdsec-blacklist`
`crowdsec-blacklists6` ==> `crowdsec-blacklist6`
|
2022-01-07 12:58:44 +02:00 |
|
jarppiko
|
a2be894a1f
|
Support for configurable nftables tables/chains/blacklists (set), support for 'set-only' mode enabling easier integration to more complex nft setups.
|
2022-01-07 12:32:07 +02:00 |
|
mmetc
|
f64e94b59a
|
Merge pull request #110 from crowdsecurity/gramnazi
Write decision/decisions according to # of items, without quotes
|
2021-12-31 13:45:13 +01:00 |
|
Marco Mariani
|
d6e11cab60
|
Write decision/decisions according to # of items, without quotes
|
2021-12-31 12:18:08 +01:00 |
|
blotus
|
668797c45c
|
make both debian packages conflict with each other (#107)
v0.0.22
|
2021-12-28 09:34:48 +01:00 |
|
Thibault "bui" Koechlin
|
eebd0b02ac
|
Merge pull request #105 from crowdsecurity/fix_debian_upgrade
fix debian upgrade : perform variable replacement and try to keep API key if it already exists
v0.0.21
|
2021-12-23 14:44:26 +01:00 |
|
bui
|
8a8fb8188e
|
fix
|
2021-12-23 14:39:53 +01:00 |
|
bui
|
33c1452197
|
fix
|
2021-12-23 14:39:49 +01:00 |
|