作者 主題: iptables mangle table question  (閱讀 3187 次)

0 會員 與 1 訪客 正在閱讀本文。

apachectl

  • 憂鬱的高中生
  • ***
  • 文章數: 174
    • 檢視個人資料
iptables mangle table question
« 於: 2010-03-09 20:34 »
在 iptables 中,針對 port 部分是屬於 layer 4,針對 ip 部分是屬於 layer 3,
那針對 mangel 中利用 -j MARK 幫封包貼標籤應該屬於 layer 多少呢?

anderson1127

  • 訪客
回覆: iptables mangle table question
« 回覆 #1 於: 2010-03-10 14:37 »
嗯??

你不都已經自己說清楚了?

PS: 補充一下iptables還可以針對MAC address做處理, 這是Layer 2 的功能...

apachectl

  • 憂鬱的高中生
  • ***
  • 文章數: 174
    • 檢視個人資料
回覆: iptables mangle table question
« 回覆 #2 於: 2010-03-10 20:13 »
原來如此,如果我真對 port 貼標籤,屬於 layer 4,針對 ip 就是 layer 3,針對 protocol 就是 layer 7。