diff options
Diffstat (limited to 'statRequestsPerBlockedAddress.sh')
-rwxr-xr-x | statRequestsPerBlockedAddress.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/statRequestsPerBlockedAddress.sh b/statRequestsPerBlockedAddress.sh new file mode 100755 index 0000000..9abefd3 --- /dev/null +++ b/statRequestsPerBlockedAddress.sh @@ -0,0 +1,2 @@ +#!/bin/bash +grep /block.list /var/log/dnsmasq/dnsmasq.log | awk '{print $6}' | sort | uniq -c | sort -h |