- 論壇徽章:
- 0
|
網(wǎng)橋處理的數(shù)據(jù)包還要經(jīng)過IP層,其中一個(gè)原因應(yīng)該是可以利用ip層的conntrack,對(duì)進(jìn)出的數(shù)據(jù)包進(jìn)行跟蹤。
...
Godbach 發(fā)表于 2010-08-17 09:47 ![]()
iptables這個(gè)名字只存在用于用戶態(tài),其內(nèi)核模塊名為Netfilter,而不是ipfilter,也不是ipfirewall……
既 ...
獨(dú)孤九賤 發(fā)表于 2010-08-17 10:47 ![]()
幾位說的很精辟啊,說到點(diǎn)子上了.
netfilter是內(nèi)核的包過濾架構(gòu),它主要就是在內(nèi)核中放置一些hook點(diǎn).
這些hook點(diǎn)并不針對(duì)具體某一個(gè)層.在鏈路層有hook點(diǎn),在ip層也有hook點(diǎn).
iptables是基于hook點(diǎn)實(shí)現(xiàn),也就是說,只是在這些hook點(diǎn)上,加上一些用戶的操作而已..
置于ebtables,暫在研究中...
感覺應(yīng)該也是在數(shù)據(jù)包路徑上的某些點(diǎn),插入一些用戶的操作...
ebtables根據(jù)官方的描述,是針對(duì)橋的,也即工作在數(shù)據(jù)鏈路層...
The ebtables program is a filtering tool for a Linux-based bridging firewall. It enables transparent filtering of network traffic passing through a Linux bridge. |
|