|
尝试一: O}$HX<P
} iptables(1.2.7) ^Tm!q 操作系统:Red Hat 9.0 :gC=SG${ 内核版本:2.4.20-8 aw5i\R|)XW 所用软件包:patch-o-matic-20031219.tar.gz2 r~!
编译过程: Cx> $%|D shell>tar -jxvf patch-o-matic-20031219.tar.gz2 YAnDx<*) shell>cd patch-o-matic-20031219 0
qVC%Hm shell>./runme Vg.t@ b{, 选择安装更新包。 /T
<{Z1-F shell>cd /usr/src/linux-2.4.20-8 o,lpc)| shell>make mrproper d\Ve"!2AHR shell>make menuconfig *ZNZ']@K 选择网络相关项,编译模块 Bs]2kS?~5 shell>make clean ke\#pc 0 shell>make dep eAa4b E shell>make modules 6W">72Tldc shell>make modules_install = ;9PY9C
shell>reboot ._
l'8D rASALN?rfA 内核编译完成,测试: 0`7su&Ps shell>iptables -m iplimit p9!?p5 w iptables v1.2.7a: You must specify `--iplimit-above' ]r}9l70c Try `iptables -h' or 'iptables --help' for more information.
f"?_7q shell>iptables -t mangle -I PREOUTING -p tcp -m iplimit --iplimit-above 12 --iplimit-mask 255.255.255.255 -j MARK --set-mark nf$e7B`~fb eKvE#hT( 1234 FRS(Py{R j
COrF}8)L iptables: No chain/target/match by that name ?@*`Lck/ 报错!/lib/modules/2.4.20-8/kernel/net/ipv4/netfilter中的模块都存在! $`p3H;: xps2El;H5u 尝试二: y{'=5 iptables(1.3.1) Bv^\?N2<
操作系统:Red Hat 9.0 u=NDq 内核版本:2.4.20-8 \#s5O$kB 所用软件包:patch-o-matic-20031219.tar.gz2 Zaz_,qOJ;U iptables-1.3.1.tar.bz2 16riv4 H 编译过程: v(Wr*] shell>cd /usr/src a+KNRm shell>tar jxvf iptables-1.3.1.tar.bz2 _!1>O7| shell>cd iptables-1.3.1 ;\^ T,9/> shell>export KERNEL_DIR=/usr/src/linux-2.4.20-8/ 6$h!HX= shell>export IPTABLES_DIR=/usr/src/iptables-1.3.1 #ryq,b" shell>make BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/share/man install
jt
N{fk shell>cd ../../ Qa>Y#,. shell>tar -jxvf patch-o-matic-20031219.tar.gz2 ZA6E`7 shell>cd patch-o-matic-20031219 '2beqaU shell> KERNEL_DIR=/usr/src/linux-2.4.20-8/ IPTABLES_DIR=/usr/src/iptables-1.3.1 ./runme base 6a
l9# kd 选择安装更新包 Cdrs
7 shell>cd /usr/src/linux-2.4.20-8 l>6%,J shell>make mrproper ;Tn&hJs shell>make menuconfig xE./T=` 7 选择网络相关选项,编译模块 08V]| }J shell>make dep Oskuy& shell>make clean -fT
v'zJ shell>make modules $?+KO@G shell>make modules_install [xhse9_w 报错: {bnD`X^u: make -C kernel modules_install >&B'y4'a~ make[1]: Entering directory `/usr/src/linux-2.4.20-8/kernel' I72KR, mkdir -p /lib/modules/2.4.20-8/kernel/kernel/ a
kA.yNL cp cpufreq.o /lib/modules/2.4.20-8/kernel/kernel/ FB+O[\fLQ cp: cannot stat `cpufreq.o': No such file or directory ^BC-zK;}, make[1]: *** [_modinst__] Error 1 m!J}NH6 make[1]: Leaving directory `/usr/src/linux-2.4.20-8/kernel' q7N! /' make: *** [_modinst_kernel] Error 2 {$ 4<"_. P4VC8z, 期待高手指点一下。E-mail: ypch97@mail.sdu.edu.cn }%nC_:)Tm
|
一共有 16 条评论