--comment gives me iptables: No chain/target/match by that name.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Good day Guys

Im sitting with a very weird problem, and Im hoping someone could be of assistance.

If I add comments to the end of my rules, I get 'iptables: No chain/target/match by that name.'

If I remove the comment(s), all is well.

Im running Debian Stretch (I too upgraded to iptables from backports).


# /sbin/iptables -A INPUT -p icmp -m icmp --icmp-type 13 -j DROP -m comment --comment  '900 drop ICMP timestamp requests'
iptables: No chain/target/match by that name.

# /sbin/iptables -A INPUT -p icmp -m icmp --icmp-type 13 -j DROP
#

# iptables -n -L -v | grep DROP
0     0 DROP       icmp --  *      *       0.0.0.0/0 0.0.0.0/0            icmptype 13

I have googled and double checked the documentation, and from what I can see, Im not doing anything wrong.

If anyone can assist, it would greatly be appreciated.

Kind Regards

Brent Clark

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux