LINUX.ORG.RU
ФорумAdmin

pppd+pptpd = зависание сесий. Помогите решить проблему.


0

0

Всем доброго дня! Решил обратится к Вам, так как Гугль не помог. Ситуация следующая: имеем связку pppd+pptpd+билинг на Фрирадиус.
Проблемма заключается в том, что после отключения клиента (WinXp) у меня продолжает висеть pppХ интерфейс.
Вот что видем в логах:

Теперь конфиги ppp и pptpd
/etc/ppp/opticons.pptp
lock name isp noauth require-pap refuse-chap
require-chap
refuse-pap
proxyarp
plugin radius.so
plugin radattr.so ms-dns 1.1.1.1
ms-dns 1.1.1.1
logfile /var/log/pppd-pptpd idle 180 - временное решение проблемы

/etc/pptpd.conf
speed 115200 pppd /usr/sbin/call-pppd option /etc/ppp/options.pptpd debug localip 192.168.1.1 remoteip 192.168.1.2-11 netmask 255.255.255.0

Помогите решить пробллему... меня же настораживает Failed to open /dev/pts/2: No such file or directory, но как это победить я не знаю.

ЗЫ. Алт Мастер 2.2. b3
pppd version 2.4.2b3
pptpd v1.1.3

Заранее благодарен!

anonymous

Re: pppd+pptpd = зависание сесий. Помогите решить проблему.

И теперь немного логов /var/log/messages Aug 8 10:20:41 isp pppd[3605]: Plugin radius.so loaded. Aug 8 10:20:41 isp pppd[3605]: RADIUS plugin initialized. Aug 8 10:20:41 isp pppd[3605]: Plugin radattr.so loaded. Aug 8 10:20:41 isp pppd[3605]: RADATTR plugin initialized. Aug 8 10:20:41 isp pppd[3605]: pppd 2.4.2b3 started by root, uid 0 Aug 8 10:20:41 isp pppd[3605]: Using interface ppp0 Aug 8 10:20:41 isp pppd[3605]: Connect: ppp0 <--> /dev/pts/2 Aug 8 10:20:41 isp pptpd[3604]: GRE: Bad checksum from pppd. Aug 8 10:20:41 isp pptpd[3604]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! Aug 8 10:20:42 isp /etc/hotplug/net.agent: assuming ppp0 is already up Aug 8 10:20:43 isp pppd[3605]: PAP peer authentication succeeded for sasha Aug 8 10:20:43 isp pppd[3605]: Cannot determine ethernet address for proxy ARP Aug 8 10:20:43 isp pppd[3605]: local IP address 192.168.1.1 Aug 8 10:20:43 isp pppd[3605]: remote IP address 192.168.1.10 Aug 8 10:21:32 isp kernel: device ppp0 entered promiscuous mode Aug 8 10:25:54 isp pppd[3605]: Terminating connection due to lack of activity. Aug 8 10:25:54 isp kernel: device ppp0 left promiscuous mode Aug 8 10:25:54 isp kernel: device ppp0 entered promiscuous mode Aug 8 10:26:00 isp pppd[3605]: Connection terminated. Aug 8 10:26:00 isp pppd[3605]: Connect time 5.3 minutes. Aug 8 10:26:00 isp pppd[3605]: Sent 127488 bytes, received 100992 bytes. Aug 8 10:26:00 isp pppd[3605]: Connect time 5.3 minutes. Aug 8 10:26:00 isp pppd[3605]: Sent 127488 bytes, received 100992 bytes. Aug 8 10:26:00 isp pppd[3605]: Exit.

/var/log/ppp.pptpd Failed to open /dev/pts/2: No such file or directory Failed to open /dev/pts/2: No such file or directory Using interface ppp0 Connect: ppp0 <--> /dev/pts/2 PAP peer authentication succeeded for sasha Cannot determine ethernet address for proxy ARP local IP address 192.168.1.1 remote IP address 192.168.1.10 Terminating connection due to lack of activity. Connection terminated. Connect time 5.3 minutes. Sent 127488 bytes, received 100992 bytes. Connect time 5.3 minutes. Sent 127488 bytes, received 100992 bytes. Using interface ppp0

anonymous ()

Re: pppd+pptpd = зависание сесий. Помогите решить проблему.

/log/messages
Aug 8 10:20:41 isp pppd[3605]: Plugin radius.so loaded.
Aug 8 10:20:41 isp pppd[3605]: RADIUS plugin initialized.
Aug 8 10:20:41 isp pppd[3605]: Plugin radattr.so loaded. Aug 8 10:20:41 isp pppd[3605]: RADATTR plugin initialized.
Aug 8 10:20:41 isp pppd[3605]: pppd 2.4.2b3 started by root, uid 0 Aug 8 10:20:41 isp pppd[3605]: Using interface ppp0
Aug 8 10:20:41 isp pppd[3605]: Connect: ppp0 <--> /dev/pts/2 Aug 8 10:20:41 isp pptpd[3604]: GRE: Bad checksum from pppd. Aug 8 10:20:41 isp pptpd[3604]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug 8 10:20:42 isp /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 8 10:20:43 isp pppd[3605]: PAP peer authentication succeeded for sasha
Aug 8 10:20:43 isp pppd[3605]: Cannot determine ethernet address for proxy ARP
Aug 8 10:20:43 isp pppd[3605]: local IP address 192.168.1.1 Aug 8 10:20:43 isp pppd[3605]: remote IP address 192.168.1.10 Aug 8 10:21:32 isp kernel: device ppp0 entered promiscuous mode Aug 8 10:25:54 isp pppd[3605]: Terminating connection due to lack of activity.
Aug 8 10:25:54 isp kernel: device ppp0 left promiscuous mode Aug 8 10:25:54 isp kernel: device ppp0 entered promiscuous mode Aug 8 10:26:00 isp pppd[3605]: Connection terminated.
Aug 8 10:26:00 isp pppd[3605]: Connect time 5.3 minutes. Aug 8 10:26:00 isp pppd[3605]: Sent 127488 bytes, received 100992 bytes.
Aug 8 10:26:00 isp pppd[3605]: Connect time 5.3 minutes. Aug 8 10:26:00 isp pppd[3605]: Sent 127488 bytes, received 100992 bytes.
Aug 8 10:26:00 isp pppd[3605]: Exit.

/log/ppp.pptp
Failed to open /dev/pts/2: No such file or directory
Failed to open /dev/pts/2: No such file or directory
Using interface ppp0
Connect: ppp0 <--> /dev/pts/2
PAP peer authentication succeeded for sasha Cannot determine ethernet address for proxy ARP
local IP address 192.168.1.1
remote IP address 192.168.1.10
Terminating connection due to lack of activity. Connection terminated.
Connect time 5.3 minutes. Sent 127488 bytes, received 100992 bytes.
Connect time 5.3 minutes. Sent 127488 bytes, received 100992 bytes.
Using interface ppp0

/log/daemons/errors
Aug 8 10:20:27 isp pptpd[3590]: GRE: Bad checksum from pppd.
Aug 8 10:20:27 isp pppd[3592]: no device specified and stdin is not a tty
Aug 8 10:20:28 isp pptpd[3593]: GRE: Bad checksum from pppd.
Aug 8 10:20:28 isp pppd[3594]: Failed to open /dev/pts/2: No such file or directory
Aug 8 10:20:34 isp pptpd[3598]: GRE: Bad checksum from pppd.
Aug 8 10:20:34 isp pppd[3599]: Failed to open /dev/pts/2: No such file or directory
Aug 8 10:20:41 isp pptpd[3604]: GRE: Bad checksum from pppd.
Aug 8 10:20:41 isp pptpd[3604]: CTRL: Ignored a SET LINK INFO

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.