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

* Re: [PATCH] NAT PPTP Set-Link-Info
  2005-07-26  4:29 [PATCH] NAT PPTP Set-Link-Info Philip Craig
@ 2005-08-12 13:58 ` Harald Welte
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Welte @ 2005-08-12 13:58 UTC (permalink / raw)
  To: Philip Craig; +Cc: netfilter-devel

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

On Tue, Jul 26, 2005 at 02:29:22PM +1000, Philip Craig wrote:
> 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.


-- 
- Harald Welte <laforge@netfilter.org>                 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

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ 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.