標籤:class c tar a int get
在Network Packet Filtering Framework(Netfilter)一節中還有兩個額外的配置節——Core Netfilter Configuration(核心Netfilter配置)和IP:Netfilter Configuration(IP:Netfilter配置)。
1. 核心Netfilter配置
核心Netfilter配置節中包含的一些重要選項都應該被啟用:
l Comment match support(comment匹配支援);
l FTP support(FTP協議支援);
l Length match support(資料包長度匹配支援);
l Limit match support(limit匹配支援);
l MAC address match support(MAC地址匹配支援);
l MARK target support(MARK目標支援);
l Netfilter connection tracking support(Netfilter串連跟蹤支援);
l Netfilter LOG over NFNETLINK interface(Netfilter通過NFNETLINK介面記錄日誌);
l Netfilter netlink interface(Netfilter netlink介面);
l Netfilter Xtables support(Netfilter Xtables支援);
l State match support(state匹配支援);
l String match support(string匹配支援)。
2. IP:Netfilter配置
在完成核心Netfilter配置之後,我們開始進入IP:Netfilter配置節。本節需要啟用的選項如下所示:
l ECN target support(ECN目標支援);
l Full NAT(完整NAT支援);
l IP address range match support(ip位址範圍匹配支援);
l IP tables support(IP tables支援,filtering/masq/NAT需要);
l IPv4 connection tracking support(IPv4串連跟蹤支援,NAT需要);
l LOG target support(LOG目標支援);
l MASQUERADE target support(MASQUERADE目標支援);
l Owner match support(owner匹配支援);
l Packet filtering(包過濾支援);
l Packet mangling(包修改支援,常用於改變包的路由);
l raw table support(raw表支援,NOTRACK/TRACE需要);
l Recent match support(recent匹配支援);
l REJECT target support(REJECT目標支援);
l TOS match support(TOS匹配支援);
l TOS target support(TOS目標支援);
l TTL match support(TTL匹配支援);
l TTL target support(TTL目標支援);
l ULOG target support(ULOG目標支援)。
在2.6系列核心中,個別編譯節經過了重大的重組。在舊的2.4系列核心中,IP:Netfilter配置節位於Networking選項之下,而且僅當Network Packet Filtering選項被啟用時才能看到。