[pptp-server] CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Mikael Lönnroth
mikael.lonnroth at advancevpn.com
Thu Nov 22 10:14:26 CST 2001
MessageHi,
If you add
daemon.debug /var/log/messages (or some other file)
...to /etc/syslog.conf and then kill -SIGHUP <syslogd process>, you will get more verbose debugging information about what is happening.
Secondly, you can tcpdump the external port to see if there in fact are GRE packets moving (and in what direction)
Thirdly, you can "ethereal" dump the client to check for GRE traffic there aswell.
Regards,
Mikael Lönnroth
www.advancevpn.com
----- Original Message -----
From: Mark Burring
To: pptp-server at lists.schulte.org
Sent: Wednesday, November 21, 2001 9:57 PM
Subject: [pptp-server] CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
I have deplyed PopTop so several servers to replace M$ vpn capability (mainly because W2K cannot multihome without dying) and one machine I get these errors:
Nov 22 13:52:22 perth pptpd[16100]: CTRL: Client ***.***.***.*** control connection started
Nov 22 13:52:22 perth pptpd[16100]: CTRL: Starting call (launching pppd, opening GRE)
Nov 22 13:52:22 perth pptpd[16100]: GRE: read(fd=5,buffer=804d8a0,len=8196) from PTY failed: status = -1 error = Input/output error
Nov 22 13:52:22 perth pptpd[16100]: CTRL: PTY read or GRE write failed (pty,gre)=(5,6)
Nov 22 13:52:22 perth pptpd[16100]: CTRL: Client ***.***.***.*** control connection finished
This problem is listed in the FAQ and is caused by it being behind a firewall. However in this case, the machine is not behind a firewall, it is the firewall.
I have
1) added entries to the box's firewall to let 1723 and proto 47 through (not that they were being blocked in the first place)
2) tried flushing the box's firewall rules
3) tried binding poptop to the external interface
The only thing of note is that the kernel is patched to Masq pptp however its not being used in this case.
--
Regards,
Mark Burring
Internetworking Engineer
Deeptech - Intelligent Networking
Deepcare - Caring for Your IT Investment
web: www.deeptech.com.au ; www.deepcareonline.com
phone: 1300 361 954
fax: +61 8 9201 2312
postal: PO BOX 1324, West Perth WA 6872
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schulte.org/mailman/private/pptp-server/attachments/20011122/a169a55d/attachment.html>
More information about the pptp-server
mailing list