netfilter與iptables表規則建立

在內核的net中,iptable_nat.c iptable_filter.c iptable_mangle.c中,分別建立了3張表,供iptables規則使用。 其中filter、mangle表的建立,有自己的優選級 調用 ipt_register_table函數進行註冊表; 調用xt_hook_link註冊到時hook,此表可以掛到5個點,那就會註冊到5個hook點,優先級都是一樣的,如上圖。
相關文章
相關標籤/搜索