CODE
gtr:/devel/linux-2.4.25-coyote# gzip -d ipp2p-0.5b_vs_2.4.24.diff.gzgtr:/devel/linux-2.4.25-coyote# lsCOPYING README drivers/ipp2p-0.5b_vs_2.4.24.diffscripts/CREDITS REPORTING-BUGSfs/ kernel/Documentation/Rules.make include/lib/MAINTAINERS arch/ init/ mm/Makefile crypto/ ipc/ net/gtr:/devel/linux-2.4.25-coyote# patch -p1 < ipp2p-0.5b_vs_2.4.24.diffpatching file Documentation/Configure.helpHunk #1 succeeded at 3037 with fuzz 2 (offset 144 lines).patching file include/linux/netfilter_ipv4/ipt_ipp2p.hpatching file net/ipv4/netfilter/Config.inHunk #1 succeeded at 36 with fuzz 1 (offset 10 lines).patching file net/ipv4/netfilter/ipt_ipp2p.cpatching file net/ipv4/netfilter/MakefileHunk #1 FAILED at 85.1 out of 1 hunk FAILED -- saving rejects to file net/ipv4/netfilter/Makefile.rejgtr:/devel/linux-2.4.25-coyote# 因为补丁的版本和coyote的版本不相符,不知道怎么样解决? 。。。。限制BT下载??? 还有这个:http://l7-filter.sourceforge.net/打了这个补丁后,可以直接在应用层限制某一种协议的带宽或者禁止某种协议,而不是现在单纯的封端而已。 我现在很关心重新编译了内核(尤其是增加了功能的)之后,如何编写脚本进行管理。通过CL的WEBADMIN,浑身脑袋疼了~~~ 帮我看看这个补丁的意思是什么?
CODE
diff -Nru linux-2.4.24/net/ipv4/netfilter/Makefile linux-2.4.24-t/net/ipv4/netfilter/Makefile--- linux-2.4.24/net/ipv4/netfilter/Makefile 2003-08-25 13:44:44.000000000 +0200+++ linux-2.4.24-t/net/ipv4/netfilter/Makefile 2004-02-06 14:49:31.000000000 +0100@@ -85,6 +85,7 @@ obj-$(CONFIG_IP_NF_MATCH_STATE) += ipt_state.o obj-$(CONFIG_IP_NF_MATCH_CONNTRACK) += ipt_conntrack.o obj-$(CONFIG_IP_NF_MATCH_UNCLEAN) += ipt_unclean.o+obj-$(CONFIG_IP_NF_MATCH_IPP2P) += ipt_ipp2p.o obj-$(CONFIG_IP_NF_MATCH_TCPMSS) += ipt_tcpmss.o# targets
是不是从85行起,删除6行,另外新增下面的7行?新增的功能需要cgi编程高手才行了
页:
[1]
2