pptp disconnect when get some info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pptp-linux (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
i try ubuntu 6.06 / 6.10 / 7.10
i have 4 ubuntu vpn server
server options
/etc/pptpd.conf
speed 230400
noipparam
localip 192.168.15.1
remoteip 192.168.15.10-20
#listen 192.168.0.3
option /etc/ppp/
logfile /var/log/pptpd1.log
/etc/ppp/
name pptpd
mtu 1490
mru 1490
require-chap
refuse-pap
refuse-eap
refuse-mschap
refuse-mschap-v2
proxyarp
nodefaultroute
lock
nobsdcomp
logfile /var/log/pptpd.log
# debug
lcp-echo-interval 0
lcp-echo-failure 0
when i connect from windows all work nice, but when i connect from ubuntu some time i get disconnect
client option
/etc/ppp/peers/rv
name at
remotename rv
linkname rv
ipparam rv
lock
noauth
nobsdcomp
nodeflate
#updetach
nodetach
noproxyarp
pty "pptp rv....net --nolaunchpppd"
lcp-echo-failure 30
lcp-echo-interval 5
#debug
#usepeerdns
#nomppe
when disconect i get
/var/log/
/var/log/syslog
May 1 13:43:49 localhost pppd[18056]: pppd 2.4.4 started by attid, uid 0
May 1 13:43:49 localhost pppd[18056]: Using interface ppp0
May 1 13:43:49 localhost pppd[18056]: Connect: ppp0 <--> /dev/pts/2
May 1 13:43:51 localhost pptp[18061]: anon log[main:
May 1 13:43:52 localhost pptp[18066]: anon log[ctrlp_
May 1 13:43:52 localhost pptp[18066]: anon log[ctrlp_
May 1 13:43:52 localhost pptp[18066]: anon log[ctrlp_
May 1 13:43:53 localhost pptp[18066]: anon log[ctrlp_
May 1 13:43:53 localhost pptp[18066]: anon log[ctrlp_
May 1 13:43:53 localhost pptp[18066]: anon log[ctrlp_
May 1 13:43:53 localhost pppd[18056]: Warning - secret file /etc/ppp/
May 1 13:43:53 localhost pppd[18056]: CHAP authentication succeeded: Access granted
May 1 13:43:53 localhost pppd[18056]: CHAP authentication succeeded
May 1 13:43:53 localhost pppd[18056]: not replacing existing default route via 85.172.67.205
May 1 13:43:53 localhost pppd[18056]: local IP address 192.168.0.44
May 1 13:43:53 localhost pppd[18056]: remote IP address 192.168.7.201
May 1 13:44:10 localhost pptp[18066]: anon log[pptp_
May 1 13:44:10 localhost pptp[18066]: anon log[callmgr_
May 1 13:44:10 localhost pptp[18066]: anon log[ctrlp_
May 1 13:44:10 localhost pptp[18066]: anon log[pptp_
May 1 13:44:10 localhost pptp[18066]: anon log[call_
May 1 13:44:10 localhost pppd[18056]: Modem hangup
May 1 13:44:10 localhost pppd[18056]: Connect time 0.3 minutes.
May 1 13:44:10 localhost pppd[18056]: Sent 5054 bytes, received 13318 bytes.
May 1 13:44:10 localhost pppd[18056]: Connection terminated.
May 1 13:44:10 localhost pppd[18056]: Exit.
next disconnect
May 1 13:46:47 localhost pptp[18137]: anon log[decaps_
May 1 13:46:47 localhost pptp[18137]: anon log[decaps_
May 1 13:46:47 localhost pptp[18142]: anon log[pptp_
May 1 13:46:47 localhost pptp[18142]: anon log[callmgr_
May 1 13:46:47 localhost pptp[18142]: anon log[ctrlp_
May 1 13:46:47 localhost pptp[18142]: anon log[pptp_
May 1 13:46:47 localhost pptp[18142]: anon log[call_
i can reproduse it at 90%
from client i connect to sshd under vpn tunel, run mc and press Ctrl+\ (dir hot list), at 90% test pptp-client will disconnected.
summary: |
- pptp disconect when get some info + pptp disconnect when get some info |
Changed in pptp-linux (Ubuntu): | |
status: | New → Confirmed |
I'm having the same problem with Ubuntu 11.04. My PPTP can stay up for weeks in Windows 7 and OSX, but in Ubuntu there are frequent disconnects (usually within 5 to 30 minutes). Here is my /var/log/syslog relating to a disconnection:
Oct 10 05:44:27 iMac-Ubuntu pptp[11871]: nm-pptp- service- 11745 log[pptp_ read_some: pptp_ctrl. c:544]: read returned zero, peer has closed service- 11745 log[callmgr_ main:pptp_ callmgr. c:258]: Closing connection (shutdown) service- 11745 log[ctrlp_ rep:pptp_ ctrl.c: 251]: Sent control packet type is 12 'Call-Clear- Request' service- 11745 log[pptp_ read_some: pptp_ctrl. c:544]: read returned zero, peer has closed service- 11745 log[call_ callback: pptp_callmgr. c:79]: Closing connection (call state) 806]: <info> VPN plugin state changed: 5 806]: <info> VPN plugin state changed: 6 806]: <info> VPN plugin state change reason: 0 806]: <warn> error disconnecting VPN: Could not process the request because no VPN connection was active. 806]: <info> Policy set 'Auto eth0' (eth0) as default for IPv4 routing and DNS. 806]: SCPlugin-Ifupdown: devices removed (path: /sys/devices/ virtual/ net/ppp0, iface: ppp0) 806]: <info> VPN service 'pptp' disappeared
Oct 10 05:44:27 iMac-Ubuntu pptp[11871]: nm-pptp-
Oct 10 05:44:27 iMac-Ubuntu pptp[11871]: nm-pptp-
Oct 10 05:44:27 iMac-Ubuntu pptp[11871]: nm-pptp-
Oct 10 05:44:27 iMac-Ubuntu pptp[11871]: nm-pptp-
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: Modem hangup
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: Connect time 22.6 minutes.
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: Sent 36219320 bytes, received 1371467319 bytes.
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: MPPE disabled
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: Connection terminated.
Oct 10 05:44:27 iMac-Ubuntu NetworkManager[
Oct 10 05:44:27 iMac-Ubuntu NetworkManager[
Oct 10 05:44:27 iMac-Ubuntu NetworkManager[
Oct 10 05:44:27 iMac-Ubuntu NetworkManager[
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: Terminating on signal 15
Oct 10 05:44:27 iMac-Ubuntu pppd[11861]: Exit.
Oct 10 05:44:28 iMac-Ubuntu NetworkManager[
Oct 10 05:44:28 iMac-Ubuntu NetworkManager[
Oct 10 05:44:33 iMac-Ubuntu NetworkManager[
I have spoken to my systems administrator, and he says:
"According to our debug log the disconnections are caused by malformed GRE packets. We have a lot of bad checksums on your connection."