PPP problem when it runs from PPTPD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hello,

Linux kernel: 2.6.16.19
  CONFIG_PPP_MPPE=m
  CONFIG_IP_NF_PPTP=m
  CONFIG_IP_NF_NAT_PPTP=m

pppd: 2.4.3 from source, with and without mppe patch

pptpd: 1.3.0 from source.

relevant configs:

pptp.conf:
==========
ppp /usr/local/sbin/pppd
option /etc/ppp/pptpd-options
debug
logwtmp
localip 172.18.72.1
remoteip 172.18.72.100-110

pptpd-options:
==============
debug
name pptpd
domain intranet.hu
refuse-pap
refuse-chap
refuse-mschap
require-mschap-v2
ms-dns 172.18.72.1
netmask 255.255.255.0
nodefaultroute
proxyarp
lock
ipcp-accept-remote
ipcp-accept-local
lcp-echo-failure 30

ppp/options:
============
asyncmap 0
auth
crtscts
lock
hide-password
modem
debug
kdebug 4
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
nopersist


The kernel is just a few days old, but when this kernel runs,
pptpd doens't accept clients. Here is the log:

pptpd[10042]: MGR: Launching /usr/local/sbin/pptpctrl to handle client
pptpd[10042]: CTRL: local address = 172.18.72.1
pptpd[10042]: CTRL: remote address = 172.18.72.100
pptpd[10042]: CTRL: pppd options file = /etc/ppp/pptpd-options
pptpd[10042]: CTRL: Client 1.2.3.4 control connection started
pptpd[10042]: CTRL: Received PPTP Control Message (type: 1)
pptpd[10042]: CTRL: Made a START CTRL CONN RPLY packet
pptpd[10042]: CTRL: I wrote 156 bytes to the client.
pptpd[10042]: CTRL: Sent packet to client
pptpd[10042]: CTRL: Received PPTP Control Message (type: 7)
pptpd[10042]: CTRL: Set parameters to 100000000 maxbps, 64 window size
pptpd[10042]: CTRL: Made a OUT CALL RPLY packet
pptpd[10042]: CTRL: Starting call (launching pppd, opening GRE)
pptpd[10042]: CTRL: pty_fd = 9
pptpd[10042]: CTRL: tty_fd = 10
pptpd[10043]: CTRL (PPPD Launcher): program binary = /usr/local/sbin/pppd
pptpd[10043]: CTRL (PPPD Launcher): local address = 172.18.72.1
pptpd[10043]: CTRL (PPPD Launcher): remote address = 172.18.72.100
pppd[10043]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded.
pptpd[10042]: CTRL: I wrote 32 bytes to the client.
pptpd[10042]: CTRL: Sent packet to client
pppd[10043]: pptpd-logwtmp: $Version$
pppd[10043]: pppd 2.4.3 started by root, uid 0
pppd[10043]: using channel 40
pppd[10043]: Using interface ppp1
pppd[10043]: Connect: ppp1 <--> /dev/pts/2
pppd[10043]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x682d236b> <pcomp> <accomp>]
pptpd[10042]: GRE: Bad checksum from pppd.
pptpd[10042]: CTRL: Received PPTP Control Message (type: 15)
pptpd[10042]: CTRL: Got a SET LINK INFO packet with standard ACCMs
pppd[10043]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <auth chap MS-v2> <magic 0x682d236b> <pcomp> <accomp>]
last message repeated 8 times
pppd[10043]: LCP: timeout sending Config-Requests
pppd[10043]: Connection terminated.
pppd[10043]: using channel 41
pppd[10043]: Using interface ppp1
pppd[10043]: Connect: ppp1 <--> /dev/pts/2
pppd[10043]: sent [LCP ConfReq id=0x2 <asyncmap 0x0> <auth chap MS-v2> <magic 0xa1a452b7> <pcomp> <accomp>]
pppd[10043]: tcflush failed: Bad file descriptor
pppd[10043]: tcsetattr: Invalid argument (line 1001)
pppd[10043]: Exit.
pptpd[10042]: GRE: read(fd=9,buffer=804e560,len=8196) from PTY failed: status = -1 error = Input/output +error, usually caused by unexpected termination of pppd, check option syntax and pppd logs
pptpd[10042]: CTRL: PTY read or GRE write failed (pty,gre)=(9,10)
pptpd[10042]: CTRL: Reaping child PPP[10043]
pptpd[10042]: CTRL: Client 1.2.3.4 control connection finished
pptpd[10042]: CTRL: Exiting now
pptpd[10038]: MGR: Reaped child 10042

(client says error nr is 619)

any suggestion?


thank you:

a.

-
To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Audio Users]     [Linux for Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux