You are not logged in.
- Topics: Active | Unanswered
#1 2021-01-29 5:05 am
- chrissnell
- Member
- Registered: 2019-04-10
- Posts: 2
Announcing sfs-to-ipset: Automatically load SFS IPs into IPtables
Hi,
I wanted a way to block spammers identified by StopForumSpam at the network level before they could even attempt to register on my forums. So, I wrote a script that downloads the SFS IP lists and loads them into a Linux ipset(8). An ipset set is a hash table that can be used by IPTables/netfilter to quickly match addresses in firewall rules. This is much more efficient than writing IPTables rules for each IP in the SFS blocklists.
By using my tool, you can quickly write IPTables rules that block, slow down, or otherwise torment spammers.
I've included systemd unit and timer files to make installation easy. By default, the timer downloads and loads the lists once daily.
Check it out:
https://github.com/chrissnell/sfs-to-ipset
I welcome your feedback.
Chris / NAS-ROW.com
Offline
#2 2021-01-29 10:54 pm
- chrissnell
- Member
- Registered: 2019-04-10
- Posts: 2
Re: Announcing sfs-to-ipset: Automatically load SFS IPs into IPtables
Can this be added to the Mods & Plugins page?
Offline