Hi all iam trying to setup Dual gate using Julian patch DGD, but when i try tp patch to my kernel with fedora iam getting the following eroor can some one suggest me what is wrong or i need a latest patch for fedora [root@linux-2.4.22-1.2115.nptl]# patch -p1 < /root/update/update/routes-2.4.20-9.diff patching file include/linux/netfilter_ipv4/ip_nat.h patching file include/linux/rtnetlink.h patching file include/net/ip_fib.h patching file include/net/route.h Hunk #2 succeeded at 130 (offset 2 lines). patching file net/ipv4/arp.c Hunk #1 succeeded at 317 (offset 1 line). patching file net/ipv4/fib_frontend.c patching file net/ipv4/fib_hash.c Hunk #2 succeeded at 337 (offset 24 lines). Hunk #4 succeeded at 489 (offset 24 lines). Hunk #5 succeeded at 629 (offset -2 lines). patching file net/ipv4/fib_rules.c patching file net/ipv4/fib_semantics.c Hunk #4 succeeded at 366 with fuzz 2. Hunk #5 FAILED at 384. Hunk #6 succeeded at 436 with fuzz 1. 1 out of 12 hunks FAILED -- saving rejects to file net/ipv4/fib_semantics.c.rej patching file net/ipv4/ip_nat_dumb.c patching file net/ipv4/netfilter/ip_fw_compat_masq.c patching file net/ipv4/netfilter/ip_nat_core.c Hunk #1 succeeded at 962 (offset 9 lines). patching file net/ipv4/netfilter/ip_nat_standalone.c Hunk #1 succeeded at 221 (offset -5 lines). Hunk #2 succeeded at 300 with fuzz 2 (offset 1 line). Hunk #3 succeeded at 330 with fuzz 2 (offset -5 lines). patching file net/ipv4/netfilter/ipt_MASQUERADE.c Hunk #1 FAILED at 88. 1 out of 1 hunk FAILED -- saving rejects to file net/ipv4/netfilter/ipt_MASQUERADE.c.rej patching file net/ipv4/route.c Hunk #1 succeeded at 918 (offset 68 lines). Hunk #2 succeeded at 1275 (offset 1 line). Hunk #3 succeeded at 1356 (offset 68 lines). Hunk #4 succeeded at 1329 (offset 1 line). Hunk #5 succeeded at 1416 (offset 68 lines). Hunk #6 succeeded at 1380 (offset 1 line). Hunk #7 succeeded at 1462 (offset 68 lines). Hunk #8 succeeded at 1409 (offset 1 line). Hunk #9 succeeded at 1515 (offset 68 lines). Hunk #10 succeeded at 1470 (offset 1 line). Hunk #11 succeeded at 1564 (offset 68 lines). Hunk #12 succeeded at 1510 (offset 1 line). Hunk #13 succeeded at 1588 (offset 68 lines). Hunk #14 succeeded at 1545 (offset 1 line). Hunk #15 succeeded at 1646 (offset 68 lines). Hunk #16 succeeded at 1592 (offset 1 line). Hunk #17 succeeded at 1725 (offset 68 lines). Hunk #18 succeeded at 1674 (offset 1 line). Hunk #19 succeeded at 1789 (offset 69 lines). Hunk #20 succeeded at 1758 (offset 1 line). Hunk #21 succeeded at 1916 (offset 69 lines). Hunk #22 succeeded at 1856 (offset 1 line). Hunk #23 succeeded at 1967 (offset 69 lines). Hunk #24 succeeded at 1907 (offset 1 line). Hunk #25 succeeded at 2038 (offset 69 lines). Hunk #26 succeeded at 2051 (offset 1 line). patching file net/netsyms.c Hunk #1 succeeded at 254 (offset 6 lines). [root@linux-2.4.22-1.2115.nptl]# hare _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
See the the error, its not patched perfectly its giving some problems, while iam patching patching file net/ipv4/fib_rules.c patching file net/ipv4/fib_semantics.c Hunk #4 succeeded at 366 with fuzz 2. Hunk #5 FAILED at 384. --------------------------------------- Hunk #6 succeeded at 436 with fuzz 1. 1 out of 12 hunks FAILED -- saving rejects to file net/ipv4/fib_semantics.c.rej ------------------------- patching file net/ipv4/ip_nat_dumb.c patching file net/ipv4/netfilter/ip_fw_compat_masq.c patching file net/ipv4/netfilter/ip_nat_core.c Hunk #1 succeeded at 962 (offset 9 lines). patching file net/ipv4/netfilter/ip_nat_standalone.c Hunk #1 succeeded at 221 (offset -5 lines). Hunk #2 succeeded at 300 with fuzz 2 (offset 1 line). Hunk #3 succeeded at 330 with fuzz 2 (offset -5 lines). patching file net/ipv4/netfilter/ipt_MASQUERADE.c Hunk #1 FAILED at 88. 1 out of 1 hunk FAILED -- saving rejects to file net/ipv4/netfilter/ipt_MASQUERADE.c.rej hare ----- Original Message ----- From: "Julian Anastasov" <ja@ssi.bg> To: "hare ram" <hareram@sol.net.in> Cc: <lartc@mailman.ds9a.nl> Sent: Thursday, January 08, 2004 4:27 PM Subject: Re: [LARTC] Multihome- routes patch problem> > Hello, > > On Thu, 8 Jan 2004, hare ram wrote: > > > [root@linux-2.4.22-1.2115.nptl]# patch -p1 < > > /root/update/update/routes-2.4.20-9.diff > > What happens with routes-2.4.22-9.diff ? > > Regards > > -- > Julian Anastasov <ja@ssi.bg> > >_______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Hello, On Thu, 8 Jan 2004, hare ram wrote:> [root@linux-2.4.22-1.2115.nptl]# patch -p1 < > /root/update/update/routes-2.4.20-9.diffWhat happens with routes-2.4.22-9.diff ? Regards -- Julian Anastasov <ja@ssi.bg> _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/