Category:
fail2ban,
w00t — SkyHi @ Wednesday, August 19, 2009
HowFlow — here i explain my solution to ban a host that scans my system with dfind/w00tw00t. this solution requires a preinstalled fail2ban.
Share it! Posted by Avatar idl0r about 1 year ago View Profile
Add to: submit 'block w00tw00t scan-hosts with fail2ban' to del.icio.us submit 'block w00tw00t scan-hosts with fail2ban' to digg
NOTE: since fail2ban >=0.8.1 there is allready a the action file ’/etc/fail2ban/action.d/iptables-allports.conf’. if you use a version >=0.8.1 you can skip point 1 and 2 and continue with 3.
# Fail2Ban configuration file # # Author: Cyril Jaquier # Modified: Yaroslav O. Halchenko # made active on all ports from original iptables.conf # # $Revision: 658 $ #
[Definition]
# Option: actionstart # Notes.: command executed once at the start of Fail2Ban. # Values: CMD # actionstart = iptables -N fail2ban- iptables -A fail2ban- -j RETURN iptables -I INPUT -p -j fail2ban-
# Option: actionstop # Notes.: command executed once at the end of Fail2Ban # Values: CMD # actionstop = iptables -D INPUT -p -j fail2ban- iptables -F fail2ban- iptables -X fail2ban-
# Option: actioncheck # Notes.: command executed once before each actionban command # Values: CMD # actioncheck = iptables -n -L INPUT | grep -q fail2ban-
# Option: actionban # Notes.: command executed when banning an IP. Take care that the # command is executed with Fail2Ban user rights. # Tags: IP address # number of failures #
How to run Docker inside Incus containers
-
[image: See all FFmpeg command releated tutorials]
Incus and Docker both use Linux kernel features to containerize your
applications. Incus is best suited ...
Use Mosh instead of SSH
-
Mosh is a replacement for SSH. It's more robust and responsive, especially
over Wi-Fi WiFi, cellular, and long-distance links.
*On Ubuntu:*
# add-apt-repo...
V2V Communications security considerations
-
The future of vehicles, road infrastructure and driving are changing. We
are progressing with vehicle-to-vehicle (V2V) and vehicle-to-infrastructure
(V2I) ...