Commit 4c6e4209662b2a4147cde16c2144a253a7430a49

Authored by Sanket Shah
Committed by Patrick McHardy
1 parent c6675233f9

netfilter: nf_ct_pptp: fix DNATed PPTP connection address translation

When both the server and the client are NATed, the set-link-info control
packet containing the peer's call-id field is not properly translated.

I have verified that it was working in 2.6.16.13 kernel previously but
due to rewrite, this scenario stopped working (Not knowing exact version
when it stopped working).

Signed-off-by: Sanket Shah <sanket.shah@elitecore.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

net/netfilter/nf_conntrack_pptp.c
... ... @@ -364,6 +364,7 @@
364 364 break;
365 365  
366 366 case PPTP_WAN_ERROR_NOTIFY:
  367 + case PPTP_SET_LINK_INFO:
367 368 case PPTP_ECHO_REQUEST:
368 369 case PPTP_ECHO_REPLY:
369 370 /* I don't have to explain these ;) */