|
|
|
|
|
|
|
Netfilter/Iptables的防火墙功能介绍4 |
|
|
|
合使用可以实现QoS路由 用(mangling)修改IP包头的TOS字段来实现更复杂的功能 安装Iptables 下载 Iptables v1.2.2 (http://netfilter.samba.org/iptables-1.2.2.tar.bz2) md5sum 7d065a5d1e7003a061bece79a88d903 Linux kernel v2.4.5 (http://www.kernel.org/pub/linux/kernel/v2.4/linux-2.4.5.tar.bz2) 安装提示 注意,在编译、安装iptables之前,不需要编译内核。并且某些内核选项不可用,除非用"make patch-o-matic". 在/usr/src/linux目录中, 'make oldconfig' (在没有.config文件时,'make menuconfig')。 在iptables包的解报目录中, 'make && make install' 打补丁,'make patch-o-matic',推荐只打你需要的补丁。 返回 /usr/src/linux目录, 'make menuconfig' ,选择新的、可用的选项 完成正常的内核编译过程(make dep; make clean; make bzImage) 编译 - Iptales编译一般比较简单 'make && make install' 将在缺省路径/usr/local中做一个最小安装. 'make pending-patches' 将给标准内核打上一些著名的漏洞补丁. 页码:[1] [2] [3] [4] [5] [6] [7] [8] 第4页、共8页 |
|
|
|
|
设为首页 | 加入收藏 | 广告服务 | 友情链接 | 版权申明
Copyriht 2007 - 2008 © 科普之友 All right reserved |