Skip to content

Bitninja ipset

Search

ipset list | grep 'Name\|8.8.8.8'

ipset test heimdall-nt-blacklist 8.8.8.8

bitninjacli --blacklist --check 8.8.8.8

Check

find /etc/sysconfig/ipset.d/ -regex '.*\(heimdall\|bitninja\).*' -size +100 | wc -l

Clear

for i in $(ls -1 /etc/sysconfig/ipset.d/*.set | grep -v Nimble); do sed -i '/^add/d' $i; done