Extract IP addresses from text files using python and create firewall IP block list
The number of IP block lists available for use with firewalls is huge, including among others, Spamhaus, Crowdsec, BinaryDefence BlocklistDE and DShield. This project aims to consolidate the most effective block lists. The PoC for this project was a six-month journey of exploration and I don't have feeling that it's done.
Using a block list in conjunction with firewalls is a critical strategy for enhancing network security and effectively combating malicious actors. A block list, also known as a blacklist, is a list of IP addresses, domains, or URLs that are known to be associated with malicious activity. By implementing a block list, organizations can proactively prevent access to harmful content and reduce the risk of cyber threats.
- Our PoC demostrated that list with 15000 entries sometimes get reduced to only 7000. This means that these lists duplicate one another or utilize identical data sources.
- You can quickly set your firewall aliases and related policies without the usual plugin hassle.
- The lists are updated every 4 hours if there is fresh information available from the source. This ensures that IPEX dynamic list receive the most current and relevant data.
- This is an open source project, and the list is maintained clean, without any additional inputs (publicity) that could create problems for some firewalls.
- IPEX manage own honeypots, we call them IPEX Hunters. We learn from working on them and we take time to assure flowless integration.
Instructions for PfSense
Instruction for Opensense
Instruction for Fortigate
Use 'RAW' URL (ipexdbl.txt) from this repository for seamless integration with your firewall.
- IPEX Hunters
- BinaryDefense
- DShield
- Crowdsec
- Bruteforce
- Talos
- BlocklistDE
- ProjectHoneypot
- Spamhaus
- Spamhaus
- Host full HPP mirror
- Add ipexhunters.txt (integrate IPEX project honeypots list.)
- Add projecthoneypot.org RSS feed (beta)
- Instuction for firewalls (listed above), if someone have instructions for other firewalls, please open issue
- Better README
- Add CrowdSec private mirror
- Add Talos block list
- Host block list(s) mirror(s): only to show working solution for some sources.
- Create web home for this repository (ipex.something.x) (not hosted yet, simple html finished)
- GitHub Actions: block run if errors are detected
- Merge updated list(s) after running GitHub Actions
- Python: don't stop updating list(s) if source is sending error 400
- IPEX is inbound traffic dynamic block list, but outbound DBL can exist as well (PoC and more information are needed)
- Integration of IPEX Hunters honeypots (for now only endlessh backend used)
- Integrate web honeypotting to IPEX Hunters
- VPS and SERVER donations are accepted (we will hunt bad actors for you)
ipextractor
├── ipexdbl.py
├── ipexdbl_simple.py
├── ipexdbl_simple.txt
├── ipexdbl.txt
├── LICENSE
├── mirrors
│ └── projecthoneypot.py
├── README.md
└── website
├── CHANGELOG.md
├── docker-compose.yml
├── images
│ └── ipextractor.png
├── index.html
└── README-Docker.md