https://github.com/mateusz834/fail2ban-ss-kill-connection
Kill connection via fail2ban action
https://github.com/mateusz834/fail2ban-ss-kill-connection
fail2ban fail2ban-action
Last synced: about 1 month ago
JSON representation
Kill connection via fail2ban action
- Host: GitHub
- URL: https://github.com/mateusz834/fail2ban-ss-kill-connection
- Owner: mateusz834
- License: mit
- Created: 2021-02-13T20:02:59.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-14T09:34:09.000Z (over 4 years ago)
- Last Synced: 2025-04-03T08:40:46.503Z (6 months ago)
- Topics: fail2ban, fail2ban-action
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fail2ban-ss-kill-connection
# UsageCopy:
```
cp ./ss-kill-custom.conf /etc/fail2ban/action.d/
cp ./ss-kill-subnet-custom.conf /etc/fail2ban/action.d/
```Adjust jail.local file
/etc/fail2ban/jail.local
```
[ftp]
(...)
action = (your normal action)
ss-kill-custom[port="21,50000:51000"]
[ftp-subnet]
(...)
action = (your normal action)
ss-kill-subnet-custom[port="21,50000:51000",mask4="24",mask6="64"]```