Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions filter.d/sonic-audit.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
## Version 2023/11/10
# Fail2Ban filter rules for DES

[INCLUDES]

before = common.conf

[Definition]
failregex = ^.*Failed password for (.*)from <HOST>
ignoreregex =
11 changes: 11 additions & 0 deletions jail.d/sonic-audit.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
## Version 2023/11/10
# Fail2Ban jail configuration for Dell Enterprise SONiC

[sonic-audit]

banaction = nftables-multiport
chain = input

enabled = true
logpath = /var/log/audit.log
maxretry = 3
Loading