Open goetzk opened 5 hours ago
caUtils provides a convenient way to remove all bans (clear-bans) but no way to list or query.
caUtils
clear-bans
It would be great to have a list-bans which outputs all bans in the DB, ideally with an option to query for a specific IP/netblock.
list-bans
eg listing bans (yes, these are example addresses)
./support/bin/caUtils list-bans 192.168.48.8 192.168.8.9 127.0.0.1 ...
and querying a specific block (i imagine a single address would be the same but specified in full instead of wildcard)
./support/bin/caUtils list-bans --address='10.0.4.*' 10.0.4.74 10.0.4.122 10.0.4.229 10.0.4.8
I don't know if it would be easy or not, but it might be helpful if the date+time of banning (perhaps format '%FT%T') were included too.
caUtils
provides a convenient way to remove all bans (clear-bans
) but no way to list or query.It would be great to have a
list-bans
which outputs all bans in the DB, ideally with an option to query for a specific IP/netblock.eg listing bans (yes, these are example addresses)
and querying a specific block (i imagine a single address would be the same but specified in full instead of wildcard)