Skip to contentSkip to conversation

Re: [Fwd: PPTP in 2.4.20]

Fwd: PPTP in 2.4.20 Harald Welte 3 participants 3 messages Dec 22, 2003 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 5 lines · Gary Thomas

Harald,

I'm in a bit of a pickle here & need to get this working. The mailing list has not come up with any ideas, so if you have any, I'd sure appreciate them.

Sorry, we've never ever had a single report about this error message.

It basically means that somebody else has already registered for the SO_GET_ORIGDST socket option. I have no idea who else could be the culprit. Maybe you have loaded (or statically linked into the kernel) one of the backwards compatibility modules for ipchains or ipfwadm?

Also, please make sure that the kernel and the modules are out of the same build, otherwise you might experience all kinds of inconsistencies

Quoted 4 lines

Thanks.

Signature · 1 line
Gary Thomas <[email protected]>

Content-Description: Forwarded message - PPTP in 2.4.20

Quoted 32 lines

Subject: PPTP in 2.4.20
From: Gary Thomas <[email protected]>
To: [email protected]
Organization:
X-Spam-Score: -8.1 (--------)
List-Archive: <https://lists.netfilter.org/pipermail/netfilter/>
Date: 20 Dec 2003 08:32:45 -0700
X-Spam-Status: No, hits=-6.2 required=5.0
tests=AWL,BAYES_01,KNOWN_MAILING_LIST,USER_AGENT_XIMIAN version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

I've tried to build kernel 2.4.20, using the patches applied via patch-o-matic (thanks, Harald!) However, I can't get the PPTP modules to load. In particular, when I try to load 'ip_conntrack', I get these messages:

[root@hermes gthomas]# insmod ip_conntrack
Using /lib/modules/2.4.20-TEST/kernel/net/ipv4/netfilter/ip_conntrack.o /lib/modules/2.4.20-TEST/kernel/net/ipv4/netfilter/ip_conntrack.o: init_module: Device or resource busy [root@hermes gthomas]# tail /var/log/messages

Dec 20 07:34:31 hermes kernel: ip_conntrack version 2.1 (4094 buckets, 32752 max) - 312 bytes per conntrack
Dec 20 07:34:31 hermes kernel: Unable to register netfilter socket option

Of course, without this module loaded, I can't load any of the other [important for PPTP] ones.

Any help or ideas greatly appreciated.

Signature · 1 line
Gary Thomas <[email protected]>
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
#2 lore raw
Quoted 7 lines · Harald Welte
Quoted 5 lines · Gary Thomas

Harald,

I'm in a bit of a pickle here & need to get this working. The mailing list has not come up with any ideas, so if you have any, I'd sure appreciate them.

Quoted 7 lines

Sorry, we've never ever had a single report about this error message.

It basically means that somebody else has already registered for the SO_GET_ORIGDST socket option. I have no idea who else could be the culprit. Maybe you have loaded (or statically linked into the kernel) one of the backwards compatibility modules for ipchains or ipfwadm?

So, these modules are incompatible with "ipchains"? I'm currently using a homebrew firewall based on ipchains, but if I have/need to, I'll upgrade to one using iptables.

Quoted 41 lines

Also, please make sure that the kernel and the modules are out of the same build, otherwise you might experience all kinds of inconsistencies

Quoted 4 lines

Thanks.

Signature · 1 line
Gary Thomas <[email protected]>

Content-Description: Forwarded message - PPTP in 2.4.20

Quoted 32 lines

Subject: PPTP in 2.4.20
From: Gary Thomas <[email protected]>
To: [email protected]
Organization:
X-Spam-Score: -8.1 (--------)
List-Archive: <https://lists.netfilter.org/pipermail/netfilter/>
Date: 20 Dec 2003 08:32:45 -0700
X-Spam-Status: No, hits=-6.2 required=5.0
tests=AWL,BAYES_01,KNOWN_MAILING_LIST,USER_AGENT_XIMIAN version=2.55
X-Spam-Level:
X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp)

I've tried to build kernel 2.4.20, using the patches applied via patch-o-matic (thanks, Harald!) However, I can't get the PPTP modules to load. In particular, when I try to load 'ip_conntrack', I get these messages:

[root@hermes gthomas]# insmod ip_conntrack
Using /lib/modules/2.4.20-TEST/kernel/net/ipv4/netfilter/ip_conntrack.o /lib/modules/2.4.20-TEST/kernel/net/ipv4/netfilter/ip_conntrack.o: init_module: Device or resource busy [root@hermes gthomas]# tail /var/log/messages

Dec 20 07:34:31 hermes kernel: ip_conntrack version 2.1 (4094 buckets, 32752 max) - 312 bytes per conntrack
Dec 20 07:34:31 hermes kernel: Unable to register netfilter socket option

Of course, without this module loaded, I can't load any of the other [important for PPTP] ones.

Any help or ideas greatly appreciated.

Signature · 1 line
Gary Thomas <[email protected]>
Signature · 1 line
Gary Thomas <[email protected]>
#3 lore raw

PPTP and NAT

In reply to Harald Welte

Hi
Are there anybody who has tried to connect with more than one client to a poptop VPN server, where the clients come from the same global ipadress? (doing SNAT)

There seems to be a problem when i do that.
I have solved the problem by putting another virtuel Ipaddress on the Poptop server and then make the client connect to each individuel Ipaddress, but it would really be nice if i could use the same.

Does anyone now where the problem is - on the poptop servers firewall running iptables? or on the clients firewall (also running iptables)? .

Maybe it is the protocol that doesn't allow it, but I am not sure?

Thanks a lot

Regards
Jan K