499 Commits

Author SHA1 Message Date
alteredCoder
098fb5a0ed fix typo in configuration 2022-03-15 18:23:51 +01:00
AlteredCoder
845b8ac553 Merge pull request #158 from crowdsecurity/localhost_to_127_0_0_1
Set api url to 127.0.0.1 instead of localhost
2022-03-14 18:12:47 +01:00
alteredCoder
2816dbe802 Set api url to 127.0.0.1 instead of localhost 2022-03-14 17:48:40 +01:00
mmetc
70ba967d2d restrict crowdsec-firewall-bouncer.yaml permissions (#157) 2022-03-14 11:32:26 +01:00
Shivam Sandbhor
701f6199a1 Add func tests for iptables (#146)
* Add func tests for iptables

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Install ipsets, iptables in GH action

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* wait for rule creation in nftables

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>

* Make review changes

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
2022-03-08 09:26:09 +01:00
Manuel Sabban
e8117bf2a0 Merge pull request #152 from crowdsecurity/fix_deps
dep on ipset-libs
2022-02-28 14:23:02 +01:00
sabban
a7e732584b dep on ipset-libs 2022-02-28 14:15:11 +01:00
Thibault "bui" Koechlin
6463a32bd6 Merge pull request #149 from woopstar/patch-1
Add InsecureSkipVerify option
v0.0.23-rc3
2022-02-22 12:06:13 +01:00
Thibault "bui" Koechlin
f4d172b5dc display InsecureSkipVerify 2022-02-22 11:53:27 +01:00
Andreas Kruger
1eadcccfc7 Update dependencies to make InsecureSkipVerify and add debug info 2022-02-22 11:36:28 +01:00
Andreas Kruger
5e62e6bc3e Update dependencies 2022-02-22 10:45:03 +01:00
Manuel Sabban
977f3b609d Merge pull request #148 from crowdsecurity/port
improve port management as well for rpm
v0.0.23-rc2
2022-02-17 18:05:58 +01:00
Andreas Kruger
db37b8eac6 Add InsecureSkipVerify 2022-02-17 16:34:11 +01:00
Andreas Krüger
c45e723f29 Add InsecureSkipVerify 2022-02-17 16:29:56 +01:00
sabban
542f52d705 improve port management as well for rpm 2022-02-17 12:15:47 +01:00
Manuel Sabban
4f8930992a Merge pull request #144 from crowdsecurity/port
take care of port detection at install/configuration time when cscli is present
2022-02-17 09:40:37 +01:00
mmetc
acf7601616 makefile deadcode (#145) 2022-02-17 09:35:09 +01:00
sabban
fdf5b24440 iptables postinst improvement too 2022-02-17 09:31:32 +01:00
sabban
8ac082223b small improvements with port management 2022-02-17 09:22:24 +01:00
sabban
cc3c6f7663 port management improvement 2022-02-17 08:50:01 +01:00
sabban
f65dc9778e take care of port detection at install/configuration time when cscli
is present
2022-02-16 17:30:49 +01:00
Thibault "bui" Koechlin
3c42b7e904 Merge pull request #138 from crowdsecurity/fix_nftable_upgrade
fix the scenario of upgrade : backward compat
2022-02-16 15:50:46 +01:00
mmetc
b5e02c738e pf: default to no anchor (#142) v0.0.23-rc1 2022-02-16 10:53:37 +01:00
mmetc
240d6ebf84 fix git tag detection (#143) 2022-02-15 11:14:19 +01:00
mmetc
35f3bd2504 pf: flush IP state in Add() (#140) 2022-02-10 17:02:27 +01:00
mmetc
244b5183b7 restore legacy default blacklist name for ipv4 (#139) 2022-02-10 16:31:45 +01:00
bui
51f5aa06fc lint 2022-02-10 13:21:07 +01:00
bui
57841fb999 fix the scenario of upgrade : backward compat 2022-02-10 13:18:41 +01:00
mmetc
6d16f9fadd use anchor with pfctl (optional, enabled by default) (#132) 2022-02-10 11:31:22 +01:00
Thibault "bui" Koechlin
05d8edbbf7 Merge pull request #134 from crowdsecurity/fix_nftables+prep-pf
cleanup nftables and prep for pf
2022-02-10 09:41:58 +01:00
Thibault "bui" Koechlin
e0bd8d4f52 Merge pull request #137 from crowdsecurity/deadcode
reduce pass-through method verbosity
2022-02-10 08:00:29 +01:00
Thibault "bui" Koechlin
93a3ad5aef Merge pull request #136 from crowdsecurity/fix-functests
Fix functests
2022-02-10 07:55:56 +01:00
Marco Mariani
485c250d24 redundant nil dance 2022-02-09 23:13:37 +01:00
Marco Mariani
9e4df86bd2 reverted table names 2022-02-09 22:47:18 +01:00
Marco Mariani
8cff4cbc83 merge stderr and stdout in tests 2022-02-09 22:47:18 +01:00
Marco Mariani
e1f82dccf2 fix "'str' object has no attribute 'read'" 2022-02-09 22:47:18 +01:00
sabban
75f76717e3 consistency with crowdsec code 2022-02-09 22:47:18 +01:00
sabban
09d1920687 fix compilation error. backups->files for consistency with crowdsec
code.
2022-02-09 22:47:18 +01:00
sabban
1ec1807ce6 add go.mod 2022-02-09 22:47:18 +01:00
sabban
aed8e97e2a change directory 2022-02-09 22:47:18 +01:00
sabban
1b6aa27eb7 fix missing github dep 2022-02-09 22:47:18 +01:00
bui
906888606e fix names 2022-02-09 17:04:19 +01:00
Manuel Sabban
bf3c5aeda6 Merge pull request #135 from crowdsecurity/koneu_natend
fix build for missing github dependency
2022-02-09 15:30:09 +01:00
bui
49efc6de92 cleanup nftables and prep for pf 2022-02-09 13:56:26 +01:00
Thibault "bui" Koechlin
478d5e3dce Merge pull request #131 from crowdsecurity/minor_fixes
Minor fixes
2022-02-09 13:16:42 +01:00
bui
37f92684fb old and new build flags 2022-02-09 13:09:30 +01:00
Thibault "bui" Koechlin
b2594fb437 Merge pull request #133 from crowdsecurity/fix_non_linux_build
fix non linux build
2022-02-09 13:03:11 +01:00
bui
acc81e5581 build flag 2022-02-09 12:57:23 +01:00
bui
f4b6189862 fix non linux build 2022-02-09 12:55:01 +01:00
sabban
890a15dd09 consistency with crowdsec code 2022-02-09 12:44:24 +01:00