https://github.com/iroco-co/abuseipdb2iptables
Small utility script to convert abuseipdb JSON format to IPtables rules
https://github.com/iroco-co/abuseipdb2iptables
Last synced: about 2 months ago
JSON representation
Small utility script to convert abuseipdb JSON format to IPtables rules
- Host: GitHub
- URL: https://github.com/iroco-co/abuseipdb2iptables
- Owner: iroco-co
- License: mit
- Created: 2024-02-09T15:39:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-11T00:15:44.000Z (almost 2 years ago)
- Last Synced: 2025-06-28T07:06:07.052Z (6 months ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# abuseipdb2iptables [](https://github.com/iroco-co/abuseipdb2iptables/actions/workflows/python-app.yml)
Small python utility to convert abuseipdb json file into iptables rules.
## Install
With pip :
```shell
pip install abuseipdb2iptables
```
## Usage
It will group similar ip addresses with networks CIDR.
```shell
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
...
```