PPTP 100% CPU Usage after disconnect




If i establish a connection with pptp and close this connection i get
100% CPU usage and in the log file i get thousand times : Failed to
open /dev/pts/22: No such file or directory as below:

I'm using kernel version 2.6.15.3 and udev.

My assumption is that udev deletes the device before pppd has finished.

How can get round this ?


Feb 26 15:55:06 firewall pppd[32600]: Failed to open /dev/pts/22: No
such file or directory
Feb 26 15:55:06 firewall pppd[32600]: Failed to open /dev/pts/22: No
such file or directory
Feb 26 15:55:06 firewall pppd[32600]: Failed to open /dev/pts/22: No
such file or directory
...............


#####################
pppd-options:
#####################

debug
kdebug 7
ktune

name pptp-vpn-server
netmask 255.255.255.255
lock
-crtscts
local
lcp-echo-failure 6
lcp-echo-interval 30
ms-dns fred.homelinux.org

auth
require-mschap-v2
ppp_mppe.o
refuse-pap
refuse-chap
refuse-mschap
authentication.
require-mschap-v2
require-mppe-128
novj
novjccomp

##################
pptpd.conf:
##################

option /etc/ppp/pptpd-options
logwtmp
bcrelay eth0
localip 192.168.6.8
remoteip 192.168.6.200-220


regards

Fred Kastl



Log:

Feb 26 16:04:58 firewall pppd[6626]: Plugin
/usr/lib/pptpd/pptpd-logwtmp.so loaded.
Feb 26 16:04:58 firewall pppd[6626]: pptpd-logwtmp: $Version$
Feb 26 16:04:58 firewall pppd[6626]: pppd options in effect:
Feb 26 16:04:58 firewall pppd[6626]: debug # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: kdebug 7 # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: persist # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: maxfail 0 # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: ktune # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: dump # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: plugin
/usr/lib/pptpd/pptpd-logwtmp.so # (from command line)
Feb 26 16:04:58 firewall pppd[6626]: require-mschap-v2 # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: refuse-pap # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: refuse-chap # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: refuse-mschap # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: name pptp-vpn-server
# (from /etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: pptpd-original-ip 192.168.2.199
# (from command line)
Feb 26 16:04:58 firewall pppd[6626]: 115200 # (from command
line)
Feb 26 16:04:58 firewall pppd[6626]: lock # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: -crtscts # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: local # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: asyncmap 0 # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: lcp-echo-failure 6 # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: lcp-echo-interval 30
# (from /etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: show-password # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: novj # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: novjccomp # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: ipparam 192.168.2.199
# (from command line)
Feb 26 16:04:58 firewall pppd[6626]: noipdefault # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: ms-dns xxx # [don't know how to
print value] # (from /etc/ppp/pptpd-opti
ons)
Feb 26 16:04:58 firewall pppd[6626]: ms-wins xxx # [don't know how to
print value] # (from /etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: proxyarp # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: netmask 255.255.255.255
# (from /etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: 192.168.6.8:192.168.6.202
# (from command line)
Feb 26 16:04:58 firewall pppd[6626]: require-mppe-128 # (from
/etc/ppp/pptpd-options)
Feb 26 16:04:58 firewall pppd[6626]: noipx # (from
/etc/ppp/options)
Feb 26 16:04:58 firewall pppd[6626]: pppd 2.4.3 started by root, uid 0
Feb 26 16:04:58 firewall pppd[6626]: Using interface ppp0
Feb 26 16:04:58 firewall pppd[6626]: Connect: ppp0 <--> /dev/pts/13
Feb 26 16:05:02 firewall pppd[6626]: MPPE 128-bit stateless compression
enabled
Feb 26 16:05:08 firewall pppd[6626]: local IP address 192.168.6.8
Feb 26 16:05:08 firewall pppd[6626]: remote IP address 192.168.6.202
Feb 26 16:05:08 firewall pppd[6626]: pptpd-logwtmp.so ip-up ppp0 matze
192.168.2.199
Feb 26 16:05:11 firewall pppd[6626]: LCP terminated by peer (^JM-`
M-9^@<M-Mt^@^@^@^@)
Feb 26 16:05:11 firewall pppd[6626]: pptpd-logwtmp.so ip-down ppp0
Feb 26 16:05:11 firewall pppd[6626]: Connect time 0.1 minutes.
Feb 26 16:05:11 firewall pppd[6626]: Sent 248 bytes, received 569 bytes.
Feb 26 16:05:14 firewall pppd[6626]: Connection terminated.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • PPP and udev
    ... If i establish a connection with pptp and close this connection i get ... # (from command line) ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (comp.protocols.ppp)
  • RE: Dialin problem
    ... # /etc/ppp/ppp.conf File for dial out modem to ISP and Dial in modem ... # connection to this FBSD system. ... # it's default options profile set to, NO command echo ATE0 and NO ... Edit /etc/ttys to enable a getty on the port where the dialin ...
    (freebsd-questions)
  • Re: [SLE] Setting up DSL on SUSE 10.1
    ... I won't faint at command line. ... SUSE or Mepis and the non computer oriented PCLinuxOS. ... In some OS's such as MS's the network will be confiured and on. ... on the DSL connection? ...
    (SuSE)
  • Re: More ASP.Net Newbie Questions
    ... The Command is then what you're doing with this connection, ... In regards to your final point, making grids and controls in general do ... > Connection and Recordset objects into, like, 37 different things. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Dial-up clients drop connections
    ... Both products physically synchronize with the respondent modem, authenticate, attempt to "talk to the network", then drop the connection. ... Extreme cases may warrant the removal of the TCP/IP protocol..With the NetShell utility, you can reset the TCP/IP stack to restore it to its state that existed when the operating system was installed. ... When you run the reset command, it rewrites pertinent registry keys that are used by the Internet Protocol stack to reach the same result as the removal and the reinstallation of the protocol. ...
    (microsoft.public.windowsxp.general)