Koozali.org: home of the SME Server

PPTP Dropping

Martin Frost

PPTP Dropping
« on: December 06, 2002, 12:00:25 PM »
I have SME 5.1.2 installed at the moment while I download 5.5.

I am trying to use the PPTP connection to connect over our ADSL Router.

Client is windows 95 whitch I have updated to DUN 1.3, VPN update & Y2K updates.

When I connect to the internet with the DUN & modem I can connect to the PPTP server on the ADSL but only for about 6 seconds.

can any body help.

Below is the log from the SME server

Dec  5 08:38:23 e-mail PAM_pwdb[3360]: authentication failure; (uid=101) -> admin for pwauth service
Dec  5 03:39:22 e-mail pptpd[3368]: MGR: Launching /usr/sbin/pptpctrl to handle client
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: local address = 192.100.100.102
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: remote address = 192.100.100.246
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: pppd speed = 460800
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: pppd options file = /etc/ppp/options.pptpd
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Client 80.40.54.78 control connection started
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Received PPTP Control Message (type: 1)
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Made a START CTRL CONN RPLY packet
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: I wrote 156 bytes to the client.
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Sent packet to client
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Received PPTP Control Message (type: 7)
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: 0 min_bps, 0 max_bps, 32 window size
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Made a OUT CALL RPLY packet
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Starting call (launching pppd, opening GRE)
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: pty_fd = 5
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: tty_fd = 6
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: I wrote 32 bytes to the client.
Dec  5 08:39:22 e-mail pptpd[3368]: CTRL: Sent packet to client
Dec  5 08:39:22 e-mail pptpd[3369]: CTRL (PPPD Launcher): Connection speed = 460800
Dec  5 08:39:22 e-mail pptpd[3369]: CTRL (PPPD Launcher): local address = 192.100.100.102
Dec  5 08:39:22 e-mail pptpd[3369]: CTRL (PPPD Launcher): remote address = 192.100.100.246
Dec  5 08:39:23 e-mail modprobe: modprobe: Can't locate module char-major-108
Dec  5 08:39:23 e-mail pppd[3369]: pppd 2.4.0 started by root, uid 0
Dec  5 08:39:23 e-mail pppd[3369]: Using interface ppp0
Dec  5 08:39:23 e-mail pppd[3369]: Connect: ppp0 <--> /dev/pts/0
Dec  5 08:39:23 e-mail pptpd[3368]: Buffering out-of-order packet; got 1 after 4294967295
Dec  5 08:39:23 e-mail pptpd[3368]: Packet reorder timeout waiting for 0
Dec  5 08:39:23 e-mail pptpd[3368]: Buffering out-of-order packet; got 2 after 0
Dec  5 08:39:23 e-mail pppd[3369]: MSCHAP-v2 peer authentication succeeded for martin
Dec  5 08:39:23 e-mail pppd[3369]: found interface eth0 for proxy arp
Dec  5 08:39:23 e-mail pppd[3369]: local  IP address 192.100.100.102
Dec  5 08:39:23 e-mail pppd[3369]: remote IP address 192.100.100.246
Dec  5 08:39:24 e-mail pppd[3369]: Connection terminated.
Dec  5 08:39:24 e-mail pppd[3369]: Connect time 0.1 minutes.
Dec  5 08:39:24 e-mail pppd[3369]: Sent 426 bytes, received 509 bytes.
Dec  5 08:39:25 e-mail e-smith[3382]: Processing event: ip-up.pptpd ppp0 /dev/pts/0 460800 192.100.100.102 192.100.100.246 pptpd
Dec  5 08:39:25 e-mail pppd[3369]: Exit.
Dec  5 08:39:25 e-mail pptpd[3368]: Error reading from pppd: Input/output error
Dec  5 08:39:25 e-mail pptpd[3368]: CTRL: GRE read or PTY write failed (gre,pty)=(6,5)
Dec  5 08:39:25 e-mail pptpd[3368]: CTRL: Client 80.40.54.78 control connection finished
Dec  5 08:39:25 e-mail pptpd[3368]: CTRL: Exiting now
Dec  5 03:39:25 e-mail pptpd[2985]: MGR: Reaped child 3368

Bill Talcott

Re: PPTP Dropping
« Reply #1 on: December 06, 2002, 08:45:20 PM »
"CTRL: GRE read or PTY write failed"

Does your router allow the GRE protocol to pass through to the server?

Also, you should install the DUN 1.4 update. http://support.microsoft.com/default.aspx?scid=kb;en-us;285189

Martin Frost

Re: PPTP Dropping
« Reply #2 on: December 11, 2002, 10:52:21 AM »
I dont think the problem is the router as I have tryed to connect over our LAN & I get the same results.

This is also the same on a win 98 machine with DUN 1.4

any other ideas

Dan G.

Re: PPTP Dropping
« Reply #3 on: December 11, 2002, 07:27:38 PM »
FWIW, you are not using RFC 1918-compliant internal addresses.  You need to stick with:

10.0.0.0        -   10.255.255.255  (10/8 prefix)
172.16.0.0      -   172.31.255.255  (172.16/12 prefix)
192.168.0.0     -   192.168.255.255 (192.168/16 prefix)

You may be experiencing some routing confusion.

Martin Frost

Re: PPTP Dropping
« Reply #4 on: December 12, 2002, 10:57:28 AM »
Unfortunatly our network has an RS6000 on it supplyed by XKO who want to charge us £789 to change the IP address on it.

It was originaly installed 8 years ago by Kerridge computers & if we make any alterations to it that fail to work then we get charged to put it right.

Do you think this could be causing the problem if so I will set up 3 or 4 pcs to test it on a standard IP address set.

Thanks

Dan G.

Re: PPTP Dropping
« Reply #5 on: December 13, 2002, 11:21:02 AM »
Actually, in comparing my log of successful PPTP connections to yours, it looks like your client is not provideing 128-bit encryption.  

Right after MSCHAP-v2 peer authentication, my SME systems log:

Dec 13 02:01:52pppd[6643]: MPPE 128 bit, stateless compression enabled
Dec 13 02:01:52 gateway1 pppd[6643]: stateless MPPE enforced

then they continue on to "found interface for proxy arp"

I'd suggest you double check your DUN client and make sure it is running 128-bit encryption.  W98 started out with 40-bit encryption, and won't work until it is forced up to 128.  I've run into that problem before...

Dan

Martin Frost

Re: PPTP Dropping
« Reply #6 on: December 23, 2002, 11:45:01 AM »
Problem now solved

Windows update dose not list a DUN 1.4 for win95/98 in smart update.

After searching for it & installing DUN 1.4 everything workes fine.

Thanks for your help

Martin Frost

Re: PPTP Dropping
« Reply #7 on: December 23, 2002, 11:45:02 AM »
Problem now solved

Windows update dose not list a DUN 1.4 for win95/98 in smart update.

After searching for it & installing DUN 1.4 everything workes fine.

Thanks for your help