[pptp-server] PPTP and Dial up PoPToP server

Paulo Pinto pspinto at esoterica.pt
Fri Jun 25 12:37:18 CDT 1999


Hi again.

I was doing some testing on PPTP with a friend over the net.
I was using Win95 / MsDun 1.3 connected via modem and he was on a Linux
box. His config follows:

-S.O. Linux Slackware 3.6
-Kernel 2.2.9
-pppd version 2.3.7
-pptpd - PoPToP v0.9.1

Contents of pptpd.conf
	speed 38400
	option /etc/ppp/vpn/options2
	debug
	localip 192.168.0.4-5
	remoteip 192.168.1.6-7
	
Contents of /etc/ppp/vpn/options2 :
	debug
	chap-secrets
	name Betelgeuse 
	auth
	require-chap
	proxyarp

OK... now the log ... (sorry the flood .... )

Jun 25 11:56:14 Betelgeuse pptpd[10481]: MGR: Launching
/usr/local/bin/pptpctrl to handle client
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: local address = 192.168.0.5
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: remote address = 192.168.1.7
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: pppd speed = 38400
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: pppd options file =
/etc/ppp/vpn/options2
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Client 192.168.0.2 control
connection started
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Received PPTP Control
Message (type: 1)
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Made a START CTRL CONN packet
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: I wrote 156 bytes to the client.
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Sent packet to client
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Received PPTP Control
Message (type: 7)
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Made a OUT CALL RPLY packet
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Starting call (launching
pppd, opening GRE)
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Allocating pty/tty pair
Jun 25 11:56:14 Betelgeuse pptpd[10464]: MGR: Reaped child 10481
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Allocated pty/tty pair
(/dev/ptyp2,/dev/ttyp2)
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: pty_fd = 6
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: tty_fd = 7
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: I wrote 32 bytes to the client.
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Sent packet to client
Jun 25 11:56:14 Betelgeuse pptpd[10482]: CTRL (PPPD Launcher): Connection
speed = 38400
Jun 25 11:56:14 Betelgeuse pptpd[10482]: CTRL (PPPD Launcher): local
address = 192.168.0.5
Jun 25 11:56:14 Betelgeuse pptpd[10482]: CTRL (PPPD Launcher): remote
address = 192.168.1.7
Jun 25 11:56:15 Betelgeuse pppd[10483]: pppd 2.3.7 started by root, uid 0

watch this... there's a lock on ttyS1 because .... PPTP would send down the
existing PPPD

Jun 25 11:56:15 Betelgeuse pppd[10483]: Device ttyS1 is locked by pid 10441
Jun 25 11:56:15 Betelgeuse pppd[10483]: Exit.
Jun 25 11:56:14 Betelgeuse pptpd[10481]: GRE:
read(fd=6,buffer=804c718,len=8196) from PTY failed: status = -1 errno = 5
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: PTY read or GRE write failed
(pty,gre)=(6,7))
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Client 192.168.0.2 control
connection finished
Jun 25 11:56:14 Betelgeuse pptpd[10481]: CTRL: Exiting now

The questions: 
	- Is this 'normal' ?? shouldn't PPTP 'see' that PPPD is already up ? 
	- Is there a way to workaround this ? I mean, is it possible to have a
PoPToP server running over a dial up connection ?

Thx :)

Paulo Pinto
pspinto at esoterica.pt




More information about the pptp-server mailing list