Re: PPTP+NAT+MASQ anyone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 11 December 2002 16:40, Martin Josefsson wrote:
> On Wed, 2002-12-11 at 16:35, Roy Sigurd Karlsbakk wrote:
> > that's exactly what I'm doing. with kernel 2.4.19 and 2.4.20.
> > doesn't work
> > so.
> > can I just add the required patches manually without going for the whole
> > bunch?
> > if so - which ones do i need?
>
> You will at least need the newnat patch. (I hope the pptp patch doesn't
> depend on some other patch in there)
> But everything in the pending directory is recommended.
>
> then just apply the pptp patch.
>
> I can't see why this shouldn't work for you.
> You are sure you are using an up to date cvs checkout?

ok.
testing with 2.4.20:

# rm -rf linux-2.4.19 && \
	tar xzf packed/linux-2.4.19.tar.gz && \
	cd linux-2.4.19 && \
	zcat ../packed/patch-2.4.20.gz | patch -p1 && \
	cd ../netfilter/patch-o-matic && \
	cvs update -Pd -D now && \
	./runme pending
...
Testing... ip_conntrack_protocol_destroy.patch NOT APPLIED (6 rejects out of 6 
hunks)
Testing... remove_no_version.patch NOT APPLIED (4 rejects out of 4 hunks)
Testing... newnat-udp-helper.patch NOT APPLIED (8 rejects out of 8 hunks)
...
# patch -p1 < /usr/src/netfilter/patch-o-matic/extra/pptp-conntrack-nat.patch
patching file include/linux/netfilter_ipv4/ip_conntrack_pptp.h
patching file include/linux/netfilter_ipv4/ip_conntrack_proto_gre.h
patching file include/linux/netfilter_ipv4/ip_conntrack_tuple.h
patching file include/linux/netfilter_ipv4/ip_nat_pptp.h
patching file net/ipv4/netfilter/ip_conntrack_core.c
Hunk #1 succeeded at 144 (offset 4 lines).
Hunk #3 succeeded at 941 with fuzz 2 (offset 75 lines).
Hunk #4 succeeded at 994 (offset 18 lines).
patching file net/ipv4/netfilter/ip_conntrack_pptp.c
patching file net/ipv4/netfilter/ip_conntrack_pptp_priv.h
patching file net/ipv4/netfilter/ip_conntrack_proto_gre.c
patching file net/ipv4/netfilter/ip_nat_core.c
Hunk #1 succeeded at 434 (offset 2 lines).
patching file net/ipv4/netfilter/ip_nat_pptp.c
patching file net/ipv4/netfilter/ip_nat_proto_gre.c
patching file net/ipv4/netfilter/Config.in
Hunk #1 succeeded at 77 (offset 9 lines).
patching file net/ipv4/netfilter/Makefile
Hunk #1 succeeded at 31 with fuzz 2.
# 

...but it's not there
how do I patch manually?
-- 
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356

Computers are like air conditioners.
They stop working when you open Windows.




[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux