Skip to content

Small utility script to convert abuseipdb JSON format to IPtables rules

License

Notifications You must be signed in to change notification settings

iroco-co/abuseipdb2iptables

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

abuseipdb2iptables Python application

Small python utility to convert abuseipdb json file into iptables rules.

Install

With pip :

pip install abuseipdb2iptables

Usage

It will group similar ip addresses with networks CIDR.

abuseipdb2iptables path/to/abuseipdb.json
-A INPUT -s 192.168.1.12/32 -j DROP
-A INPUT -s 172.16.0.0/31 -j DROP
-A INPUT -s 10.9.8.7/31 -j DROP
...

About

Small utility script to convert abuseipdb JSON format to IPtables rules

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages