ipsum icon indicating copy to clipboard operation
ipsum copied to clipboard

Blacklist without using IPSet for Docker Containers

Open ghost opened this issue 6 years ago • 1 comments

Is there a way to get the list of rules into iptables without using ipset?

One solution I've found, although it's partial and really just for port 80 and 443, is to use the very fast dbm module on Apache 2.4. It's hard to block lots of IPs fast at the web server level, but that module allow me to create a map file from a txt file and then use that to perform lookups quickly.

I could create a pull request to add this install code snippet to the README if you don't mind?

ghost avatar Dec 25 '18 04:12 ghost

You mean something like https://stackoverflow.com/a/15580768 ? I could just put a reference link to that same answer inside the README

stamparm avatar Dec 26 '18 21:12 stamparm