Skip to contentSkip to conversation

extra/pptp-conntrack-nat.patch

DISCUSSION Harald Welte 3 participants 4 messages Mar 31, 2003 – Apr 1, 2003 1 message not in the archive netfilter

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 9 lines · Friedrich Lobenstock

Hi!

Regarding your patch
http://cvs.netfilter.org/~checkout~/netfilter/patch-o-matic//extra/pptp-conntrack-nat.patch

May I suggest that you make this a configurable option, because I had this "bad csum" problem and therefor had to remove the '//' in front of the 'return NF_ACCEPT;'

actually, _with_ the '//' in front, it accepts packets with broken checksums. If you remove the '//' in front, it will not consider packets with broken checksums.

So W2k should work with the shipped patch ! (IIRC, it works in both cases)

Quoted 3 lines
Signature · 2 lines
MfG / Regards
Friedrich Lobenstock
Signature · 3 lines
- Harald Welte <[email protected]>               http://www.gnumonks.org/
============================================================================
Programming is like sex: One mistake and you have to support it your lifetime
#2 lore raw
Quoted 8 lines · Harald Welte

actually, _with_ the '//' in front, it accepts packets with broken checksums. If you remove the '//' in front, it will not consider packets with broken checksums.

So W2k should work with the shipped patch ! (IIRC, it works in both cases)

So I conclude that there is not a W2k at the other side (I missinterpreted the comment ion the patch the other way round) because I needed to remove the '//' to get it working. But when I ask the people what they've got as PPTP-Server they tell me it's a W2k server.

I'm using the patch that's in pom-20030107. Could that make a difference?

As a side note, I do the following:
PPTP-Client --> Devil-Linux-Firewall -->...Internet....--> PPTP-Server

At least it works now but it looks like a mistery now.

Signature · 2 lines
MfG / Regards
Friedrich Lobenstock
#3 lore raw
Quoted 10 lines · Friedrich Lobenstock
Quoted 8 lines · Harald Welte

actually, _with_ the '//' in front, it accepts packets with broken checksums. If you remove the '//' in front, it will not consider packets with broken checksums.

So W2k should work with the shipped patch ! (IIRC, it works in both cases)

Quoted 6 lines

So I conclude that there is not a W2k at the other side (I missinterpreted the comment ion the patch the other way round) because I needed to remove the '//' to get it working. But when I ask the people what they've got as PPTP-Server they tell me it's a W2k server.

At least it works now but it looks like a mistery now.

indeed. can anybody else on the mailinglist confirm this observation?

Quoted 1 line

Friedrich Lobenstock

Signature · 5 lines
- Harald Welte <[email protected]>             http://www.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
#4 lore raw

Hi!

Quoted 11 lines · Harald Welte
Quoted 6 lines · Friedrich Lobenstock

So I conclude that there is not a W2k at the other side (I missinterpreted the comment ion the patch the other way round) because I needed to remove the '//' to get it working. But when I ask the people what they've got as PPTP-Server they tell me it's a W2k server.

At least it works now but it looks like a mistery now.

indeed. can anybody else on the mailinglist confirm this observation?

So what do you think of making this a module option? eg.
modprobe ip_conntrack_pptp braindead_w2k=[0|1]
or
modprobe ip_conntrack_pptp accept_bad_csum=[0|1]

Signature · 2 lines
MfG / Regards
Friedrich Lobenstock