All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] NAT PPTP Set-Link-Info
@ 2005-07-26  4:29 Philip Craig
  2005-08-12 13:58 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Philip Craig @ 2005-07-26  4:29 UTC (permalink / raw)
  To: netfilter-devel

[-- Attachment #1: Type: text/plain, Size: 314 bytes --]

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.

[-- Attachment #2: pptp-set-link-info.patch --]
[-- Type: text/plain, Size: 462 bytes --]

Index: linux/net/ipv4/netfilter/ip_nat_pptp.c
===================================================================
--- linux/net/ipv4/netfilter/ip_nat_pptp.c	(revision 4151)
+++ linux/net/ipv4/netfilter/ip_nat_pptp.c	(working copy)
@@ -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",

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-12 13:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-26  4:29 [PATCH] NAT PPTP Set-Link-Info Philip Craig
2005-08-12 13:58 ` Harald Welte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.