update confs

This commit is contained in:
ppom
2023-10-28 12:00:00 +02:00
parent 5db4c67ddb
commit 2c73a8af03
2 changed files with 11 additions and 2 deletions

View File

@ -19,6 +19,16 @@ local banFor(time) = {
},
},
start: [
['ip46tables', '-w', '-N', 'reaction'],
['ip46tables', '-w', '-I', 'INPUT', '-p', 'all', '-j', 'reaction'],
],
stop: [
['ip46tables', '-w', '-D', 'INPUT', '-p', 'all', '-j', 'reaction'],
['ip46tables', '-w', '-F', 'reaction'],
['ip46tables', '-w', '-X', 'reaction'],
],
streams: {
// Ban hosts failing to connect via ssh
ssh: {