3
3
386DX2014-06-15 17:19:49
linux
386DX, 2014-06-15 17:19:49

How to process IP blacklists?

There is an IP blacklist for a 32 mb firewall. I pumped up a dozen more to 100mb, the problem is that they are in different p2p, dat, txt and so on formats. there are many duplicates. How to process them, remove duplicates? convert to formats for Windows and Linux, etc. Links to popular blacklists are also slowly searched for.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2014-06-15
@386DX

Most likely to be processed by the script and also submitted to iptables.
For example cat blacklist.txt | sort | uniq, remove duplicates. Then it remains only to submit the resulting list in the form of rules, depending on the settings of your iptables.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question