[PATCH] PPTP helper: fix PNS-PAC expectation call id
commite9e2c792141e83778cc46eb501fc13b786f26263
authorPhilip Craig <philipc@snapgear.com>
Tue, 15 Nov 2005 12:32:36 +0000 (15 13:32 +0100)
committerChris Wright <chrisw@osdl.org>
Thu, 24 Nov 2005 22:10:10 +0000 (24 14:10 -0800)
treec1a5ebb5e85114dab326b9661d6671a06842cab5
parent36f73ff25328f8a99c8a30f8a89b27b87440e0d1
[PATCH] PPTP helper: fix PNS-PAC expectation call id

The reply tuple of the PNS->PAC expectation was using the wrong call id.

So we had the following situation:
- PNS behind NAT firewall
- PNS call id requires NATing
- PNS->PAC gre packet arrives first

then the PNS->PAC expectation is matched, and the other expectation
is deleted, but the PAC->PNS gre packets do not match the gre conntrack
because the call id is wrong.

We also cannot use ip_nat_follow_master().

Signed-off-by: Philip Craig <philipc@snapgear.com>
Signed-off-by: Harald Welte <laforge@netfilter.org>
Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/ipv4/netfilter/ip_nat_helper_pptp.c