Skip to main content
Topic: No chain/target/match by that name when trying to LOG (Read 1241 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

No chain/target/match by that name when trying to LOG

I tried to add a rule to iptables to log specific SSH connections, it always barfed that error at me. After some trial and error I noticed that the error was caused by this specific command:
Quote
iptables -t filter -A SSH_LOG -j LOG
Table filter existed (obviously), SSH_LOG chain existed. Adding rules that ACCEPT or DROP was working ok, but for some reason LOG wasn't. I had to restart the machine anyway and after restart the problem magically went away but I'm still curious as what could have caused it. Any ideas anyone?

Re: No chain/target/match by that name when trying to LOG

Reply #1
?? the service had to be restarted ????

 

Re: No chain/target/match by that name when trying to LOG

Reply #2
I don't know if the service needed to be restarted to be able to parse LOG rule (Why would it? What could be the cause of it?). I had to restart the machine with a hardware reset later because it stopped responding. After that everything magically worked. Do you think this could be a temporary firewall service hiccup?