Skip to contentSkip to conversation

NAT PPTP Set-Link-Info

PATCH Applied Philip Craig 2 participants 2 messages Jul 26, 2005 – Aug 12, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 NAT PPTP Set-Link-Info

NAT PPTP Set-Link-Info messages in the PAC->PNS direction. These are sent by Windows Server 2003.

Note that Set-Link-Info messages do not need to be NATed in the PNS->PAC direction, since we never NAT the PAC call id.

Tested for linux-2.4.29 only, but should also apply to both 2.6 versions in patch-o-matic-ng.

net/ipv4/netfilter/ip_nat_pptp.c +3 -0
Index: linux/net/ipv4/netfilter/ip_nat_pptp.c
===================================================================
@@ -324,6 +324,9 @@
 	case PPTP_CALL_DISCONNECT_NOTIFY:
 		pcid = &pptpReq.disc->callID;
 		break;
+	case PPTP_SET_LINK_INFO:
+		pcid = &pptpReq.setlink->peersCallID;
+		break;
 
 	default:
 		DEBUGP("unknown inbound packet %s\n",
Applied
#1 lore raw
Quoted 5 lines · Philip Craig

NAT PPTP Set-Link-Info messages in the PAC->PNS direction. These are sent by Windows Server 2003.

Note that Set-Link-Info messages do not need to be NATed in the PNS->PAC direction, since we never NAT the PAC call id.

Thanks, applied to the 2.4.x branch and merged into 2.6, 2.6.11 and netfilter-2.6.14.git.

Signature · 5 lines
- Harald Welte <[email protected]>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie