https://github.com/thatkalle/virtualmin
Code for use with Virtualmin - misq
https://github.com/thatkalle/virtualmin
fail2ban virtualmin
Last synced: 7 months ago
JSON representation
Code for use with Virtualmin - misq
- Host: GitHub
- URL: https://github.com/thatkalle/virtualmin
- Owner: ThatKalle
- License: mit
- Created: 2017-07-12T19:12:42.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-25T21:40:21.000Z (over 8 years ago)
- Last Synced: 2025-03-24T13:11:13.935Z (8 months ago)
- Topics: fail2ban, virtualmin
- Language: Perl
- Homepage: https://kallelilja.com/tag/virtualmin/
- Size: 19.5 KB
- Stars: 6
- Watchers: 1
- Forks: 20
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# virtualmin
#### wordpress.pl
Virtualmin install script for installing WordPress.
* Please read the [related post](https://kallelilja.com/2017/07/how-to-install-wordpress-on-virtualmin/) for more information.
## Fail2Ban
* Please read the [related post](https://kallelilja.com/2017/07/protect-wordpress-site-xmlrpc-php-attacks/) for more information.
```
tail -f /var/log/fail2ban.log
```
```
fail2ban-client status | grep "Jail list:" | sed "s/ //g" | awk '{split($2,a,",");for(i in a) system("fail2ban-client status " a[i])}' | grep "Status\|IP list"
```
#### filter.d/apache-xmlrpc.conf
Filter to detect /xmlrps.php attacks.
#### filter.d/wp-login.conf
Filter to detect /wp-login.php attacks.
#### action.d/apache-xmlrpc.conf
Action to protect against /xmlrps.php attacks.
#### action.d/wp-login.conf
Action to protect against /wp-login.php attacks.
#### jail.conf
Fail2Ban Jail configuration.
#### disable-xmlrpc-php
Add to bottom of .htaccess.