iptablesの間違ったターゲット

iptablesの間違ったターゲット

iptablesコマンドを使用してテーブルのルールを一覧表示すると、デバッグ出力の下に0から124までのエントリ番号が表示されます。最終項目は次のとおりです。filteriptables -t filter -L -vvv --line-numbers

Entry 124 (42880):
SRC IP: 0.0.0.0/0.0.0.0
DST IP: 0.0.0.0/0.0.0.0
Interface: `'/................to `'/................
Protocol: 0
Flags: 00
Invflags: 00
Counters: 0 packets, 0 bytes
Cache: 00000000
Target name: `ERROR' [64]
error=`ERROR'

ERRORパケットはいつこの宛先に到着しますか?

ベストアンサー1

以下の主なコメントで答えを見つけることができるようですlibip4tc.c

/* Library which manipulates firewall rules.  Version 0.1. */

/* Architecture of firewall rules is as follows:
 *
 * Chains go INPUT, FORWARD, OUTPUT then user chains.
 * Each user chain starts with an ERROR node.
 * Every chain ends with an unconditional jump: a RETURN for user chains, 
 * and a POLICY for built-ins.
 */

おすすめ記事