i used tcpdump to write log files then defines the filter for a ping echo line, then set up a jail to auto ban pinging IPs.
using Ubuntu OS, fail2ban and tcpdump.
* the small java app is a simple GUI for fail2ban *
See also:
- [Fail2ban]([ Ссылка ]), handles filtering log files and execute actions on a matching line.
- [iptables]([ Ссылка ]), which fail2ban used to actually ban an IP.
- [tcpdump]([ Ссылка ]), handles writing log files.
- [Java Swing]([ Ссылка ]), which i used to write the GUI.
![](https://i.ytimg.com/vi/3yHMJT2mafs/maxresdefault.jpg)