James Cameron | 1 Jun 01:31 2004
Picon

Re: MGR: No free connection slots or IPs - no more clients can connect

On Fri, May 28, 2004 at 08:04:10AM +0200, Sez wrote:
> When i have two clients connected, i can connect another client. When the
> second client connect, i have this message:
> MGR: No free connection slots or IPs - no more clients can connect

This message occurs if you have built pptpd to allocate IP addresses
from /etc/pptpd.conf but not if you are using pppd to allocate IPs.

Solution: check /etc/pptpd.conf localip and remoteip sections.  Ensure
there are sufficient free IP addresses listed.  If you need to change
this, you will have to stop and restart pptpd.

--

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Alain Derome | 1 Jun 02:46 2004
Picon

kernelmod-0.8.2: unsupported protocol 0x2145 on debian sid

Hi everyone,

This is my first post to this list, so I have to start by saying thank 
you to all developers of poptop/pptp-linux. Also, thanks to everyone 
helping others through this list, especially James who I read all the time.

My problem:

I can't get kernelmod-0.8.2 working on Debian Sid kernel 2.6.6. When I 
run the kernelmod.sh script everything looks fine, except for the 
following:.

Building the 2.6.6 specific mppe modules
-----------------------------------------------------
mkdir -p .tmp_versions
cp /lib/modules/2.6.6-1-686/build/.tmp_versions/*.mod 
/home/alain/tmp/kernelmod-0.8.2/2.6/.tmp_versions
cp: cannot stat `/lib/modules/2.6.6-1-686/build/.tmp_versions/*.mod': No 
such file or directory
make: [module] Error 1 (ignored)

But the output ends with:

Installing the 2.6.6 specific mppe modules
-----------------------------------------------------
mkdir -p /lib/modules/2.6.6-1-686/kernel/drivers/net/
install -m 644 -o 0 -g 0 ppp_mppe.ko 
/lib/modules/2.6.6-1-686/kernel/drivers/net/
/sbin/depmod -ae
-----------------------------------------------------
(Continue reading)

James Cameron | 1 Jun 03:28 2004
Picon

Re: kernelmod-0.8.2: unsupported protocol 0x2145 on debian sid

Does the process that uses kernel-patch-mppe package work for you?

http://pptpclient.sourceforge.net/howto-debian-build.phtml

I haven't yet tested the Debian kernel 2.6.6.  Nothing that you posted
sprung out as being significant to the problem you're having.

--

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
James Cameron | 1 Jun 08:20 2004
Picon

Re: DKMS based MPPE support for Fedora Core 2

John BouAntoun, Martin Diamond and Troy Folger have all tested the DKMS
MPPE contribution by Matt Domsch, and have pronounced it working for
Fedora Core 2.

http://pptpclient.sourceforge.net/howto-fedora-core-2.phtml has been
updated.

--

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
Ben Brown | 1 Jun 19:11 2004

pptpclient - pptp-php-gtk interface & routes

I have been using pptpclient for quite some time on my laptop under FC1,
and have had some problems getting the pptp-php-gtk program to
automatically add routes after connecting. It has to do with the way my
network is configured. The IP address of my VPN server is in a subnet
that, when the client connects, needs to be accessible through the
tunnel. On my own laptop, it's not such a problem, I just wrote a script
that does the following after connecting:

$DEFAULT_GATEWAY=192.168.1.1
$REMOTE_GATEWAY=10.0.0.1
$VPN_SERVER_IP=1.2.3.4
ip route add $VPN_SERVER_IP/32 via $DEFAULT_GATEWAY
ip route add 1.2.3.0/26 via $REMOTE_GATEWAY

However, the pptp-php-gtk interface provides no method for doing this.
If I have it add 1.2.3.0/26 after connecting, I am (obviously) no longer
able to pass traffic over the pptp link.

This is now a problem because I have users at work that want to connect
to the VPN, but they don't want to venture into the console on their
Linux laptops - they'd rather do everything from the GUI.

Any suggestions or ideas as far as how to accomplish this would be
appreciated. Thanks!

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
(Continue reading)

Peter Mueller | 1 Jun 22:21 2004

RE: MGR: No free connection slots or IPs - no more clients can connect

> On Fri, May 28, 2004 at 08:04:10AM +0200, Sez wrote:
> > When i have two clients connected, i can connect another 
> client. When the
> > second client connect, i have this message:
> > MGR: No free connection slots or IPs - no more clients can connect
> 
> This message occurs if you have built pptpd to allocate IP addresses
> from /etc/pptpd.conf but not if you are using pppd to allocate IPs.
> 
> Solution: check /etc/pptpd.conf localip and remoteip sections.  Ensure
> there are sufficient free IP addresses listed.  If you need to change
> this, you will have to stop and restart pptpd.

Be sure to kill existing VPN connections if you restart pptpd.  This one
has bit me a few times.  PPTPD will reallocate IPs to new connections
that are already in used by previous connections.  The symptom will be
erratic network behavior and (more likely) new connections will send
data but never receive.

James, what do you think about changing the pptpd systemv init scripts
to kill all connections on a "restart"?  If this sounds too dangerous,
what about an echo telling users about the problem?  Either way let me
know and I will submit a patch.

P

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
(Continue reading)

Hoyte Swager | 1 Jun 23:31 2004
Picon

using poptop on linux 2.4.26

redhat 7.3
kernel 2.4.26
kernelmod 0.8.2
ppp 2.4.2
pptpd 1.2.0-b3

manually patched kernel with linux-default-bsd-mppe file from kernelmod

after starting the connection from a w2k client sp4 my logfile shows it is
looping
around the chap challenge, from which it does not end. i have to stop the
client.

can i upgrade only the kernel from its default 2.4.18-3 to 2.4.26 on a
redhat 7.3 distribution?
all works ok and i can modprobe the ppp_mppe
required lines are in modules.conf

any suggestions?

regards
hoyte swager
poptop <at> digi.nl

Jun  1 23:20:46 nuenen pppd[2333]: require-mppe^I^I# (from
/etc/ppp/options.pptpd)
Jun  1 23:20:46 nuenen pppd[2333]: pppd 2.4.2 started by root, uid 0
Jun  1 23:20:46 nuenen pppd[2333]: using channel 3
Jun  1 23:20:46 nuenen pppd[2333]: Using interface ppp0
Jun  1 23:20:46 nuenen pppd[2333]: Connect: ppp0 <--> /dev/pts/1
(Continue reading)

James Cameron | 2 Jun 00:58 2004
Picon

Re: MGR: No free connection slots or IPs - no more clients can connect

On Tue, Jun 01, 2004 at 01:21:53PM -0700, Peter Mueller wrote:
> James, what do you think about changing the pptpd systemv init scripts
> to kill all connections on a "restart"?  If this sounds too dangerous,
> what about an echo telling users about the problem?  Either way let me
> know and I will submit a patch.

The latter sounds better than the former.  I'd accept a patch for the
latter.  

Next best is for the startup of pptpd to wander through the existing PPP
interfaces collating the addresses that were held over from the previous
incarnation, and marking them as in-use ... then periodically checking
the list again.  This would add crash and restart resistance as well as
configuration file change handling.  Lots of code though.

Even better would be pptpd handling SIGHUP to re-read configuration
file, and adjust the array of available addresses.  It would not add
crash and restart resistance, but it would handle configuration changes.

--

-- 
James Cameron                         http://quozl.netrek.org/
HP Open Source, Volunteer             http://opensource.hp.com/
PPTP Client Project, Release Engineer http://pptpclient.sourceforge.net/

-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
(Continue reading)

Derek Simkowiak | 2 Jun 01:41 2004
Picon

Multilink PPTP for link aggregation?


      Hello,
	Briefly: I want to know if "Multilink PPTP" is supported.  I don't understand the relationship between PPP
and PPTP, so I might actually mean "Multilink PPP over PPTP".  I'm hoping someone here will educate me.

	Less briefly: 

Assume I have two Internet connections to my branch office: one DSL, one CableModem.  These connections are
from two different ISPs, with two different public I.P. addresses on two entirely different subnets.

Assume I also have a collocated Linux server, called "poptop_server", at a fancy datacenter that has a
latency of only 2ms from both my DSL's ISP, and my CableModem's ISP.

	My goal is to treat the DSL and CableModem as one, single very-fast Internet connection, that is
completely transparent to endusers.  This is called "binding" or "link aggregation", and is usually done
at Layer 2 (for example, with a Cisco 2600).  I wish to do this with two PPTP tunnels, instead of with two Layer
2 links.  (I am not concerned with encryption at this time.)

	The idea is to set up two PPTP VPN tunnels from my branch office to "poptop_server" -- the first tunnel
across the DSL connection, the second connection across the CableModem connection.  Then, I want to let
the "Multilink PPP" code, or MLPPP, handle the task of load balancing packets across the two VPNs.

	Note that MLPPP is supported under both Microsoft Windows and Linux.  

	Furthermore, it looks like MLPPP can be used with PPTP.  When I create a new PPTP VPN connection under
Microsoft Windows, I can go to Properties -> [Tab] Networking -> [Button] Settings  and see the same
options I see for a PPP connection, including the option "Negotiate multi-link for single link
connections", which is Microsoft's way of saying "Enable MLPPP".

	From what I understand, MLPPP is usually used for two-channel ISDN or with groups of 56K modems.  But I wish
(Continue reading)

Peter Mueller | 2 Jun 02:25 2004

RE: MGR: No free connection slots or IPs - no more clients can connect

> On Tue, Jun 01, 2004 at 01:21:53PM -0700, Peter Mueller wrote:
> > James, what do you think about changing the pptpd systemv 
> init scripts
> > to kill all connections on a "restart"?  If this sounds too 
> dangerous,
> > what about an echo telling users about the problem?  Either 
> way let me
> > know and I will submit a patch.
> 
> The latter sounds better than the former.  I'd accept a patch for the
> latter.  

How does this look?  Inline and attached.  If anyone has a craftier way
of doing the restartkill please suggest.  I'm not sure if I like awk and
xargs being requirements of an init script.  Also, if there are no child
processes to kill it spits out a kill usage line.  IMO this is still
better than the current situation.

# diff -up pptpd.orig pptpd                  
--- pptpd.orig  Tue Jun  1 16:47:12 2004
+++ pptpd       Tue Jun  1 17:22:08 2004
 <at>  <at>  -37,9 +37,16  <at>  <at>  case "$1" in
   restart)
         $0 stop
         $0 start
+        echo "If any VPN connections are still running they could
interfere with new connections.  To ensure a"
+        echo "safe restart please use restartkill or clear the
connections on your own."
+        ;;
(Continue reading)


Gmane