https://github.com/chewbaka69/fail2ban_pterodactyl
A fail2ban filter for wings daemon, the service of pterodactyl panel, to secure the SFTP bruteforcing
https://github.com/chewbaka69/fail2ban_pterodactyl
fail2ban fail2ban-filter security
Last synced: over 1 year ago
JSON representation
A fail2ban filter for wings daemon, the service of pterodactyl panel, to secure the SFTP bruteforcing
- Host: GitHub
- URL: https://github.com/chewbaka69/fail2ban_pterodactyl
- Owner: Chewbaka69
- License: apache-2.0
- Created: 2021-10-28T08:51:46.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-11-04T11:04:21.000Z (over 3 years ago)
- Last Synced: 2025-01-06T06:12:47.503Z (over 1 year ago)
- Topics: fail2ban, fail2ban-filter, security
- Homepage:
- Size: 13.7 KB
- Stars: 27
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fail2ban_pterodactyl
A fail2ban filter for wings daemon, the service of pterodactyl panel, to secure the SFTP bruteforcing
## Installation
First of all you need to have install the systemd python extension.
```bash
apt install python-systemd
```
or
```bash
apt install python3-systemd
```
And after you need to copy the file `pterodactyl-sftp.conf` to `/etc/fail2ban/filter.d/`
And after copy the code below to your jail configuration file.
For debian ex: `/etc/fail2ban/jail.d/defaults-debian.conf`
```bash
[pterodactyl-sftp]
enabled = true
maxretry = 3
findtime = 3600
bantime = -1
backend = systemd
```