Skip to content

Commit

Permalink
netfilter: nf_ct_pptp: fix DNATed PPTP connection address translation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sanket Shah authored and kaber committed Aug 30, 2011
1 parent c667523 commit 4c6e420
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/netfilter/nf_conntrack_pptp.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,7 @@ pptp_inbound_pkt(struct sk_buff *skb,
break;

case PPTP_WAN_ERROR_NOTIFY:
case PPTP_SET_LINK_INFO:
case PPTP_ECHO_REQUEST:
case PPTP_ECHO_REPLY:
/* I don't have to explain these ;) */
Expand Down

0 comments on commit 4c6e420

Please sign in to comment.