iptables: No chain/target/match by that name. ls1021a

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iptables: No chain/target/match by that name. ls1021a

2,332件の閲覧回数
jiye
Contributor V

Hi,

Kernel Debian 4.19

When I perform

 iptables -A syn_flood

and

iptables -A port-scanning
It throws me error says:
iptables: No chain/target/match by that name.
i am not sure if this is kernel related. If so what is the name of the module should I use?
1 返信

2,248件の閲覧回数
alexander_yakov
NXP Employee
NXP Employee

"-A" appends a rule to the specified chain. In your case chain names are specified "syn_flood" and "port-scanning". Error "No chain/target/match by that name" means there are no such chains, and they should be explicitly created before adding a rule to each of them. A new chain is created by "iptables -N chan_name".

This question is more related to iptables and its syntax, than to kernel.