16 Dec
2023
16 Dec
'23
6:01 p.m.
On 12/16/23 12:47 AM, Stephen J. Turnbull wrote:
[2] If you want to check if they go away or something like that you can also log these attempts by duplicating the iptables command but using "-j LOG" instead of "-j DROP" and placing it before the corresponding DROP command. There's probably a better way to do this but it worked for me. (I stopped logging after a while because I never checked the logs.)
You don't need anything special. iptables -L -v
will list all the
rules together with the packet and byte counters for that rule.
iptables -L -v -n
will avoid time consuming rDNS lookups on the IPs.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan