[Comm] FreeNIBS: PPTP+freeradius и MS-CHAP авторизация

Alexander Kuprin =?iso-8859-1?q?ru=5Fclassic_=CE=C1_gts=2Elg=2Eua?=
Вт Окт 19 08:48:33 MSD 2004


Доброе утро.

Народ, есть ли среди присутствующих те, кто работает на связке 
PPTP+freeradius+freenibs и при этом использует MS-CHAP авторизацию? 
Можете подтвердить такое? Наткнулся на очень интересный глюк. Возможно 
он всплыл из-за того, что мне понадобился freenibs и пришлось 
пересобирать freeradius и pptpd, но ситуация следующая -- если pptpd 
запущен через service, то авторизация на VPN не проходит, "хрюшка" 
сообщает об ошибке номер 619, а на стороне сервера в логах pptpd вот 
такая гадость:

Oct 19 07:44:04 gw pptpd[2739]: MGR: Launching /usr/sbin/pptpctrl to 
handle client
Oct 19 07:44:04 gw pptpd[2739]: CTRL: pppd file = /usr/sbin/call-pppd
Oct 19 07:44:04 gw pptpd[2739]: CTRL: local address = 192.168.100.1
Oct 19 07:44:04 gw pptpd[2739]: CTRL: remote address = 192.168.101.1
Oct 19 07:44:04 gw pptpd[2739]: CTRL: pppd speed = 115200
Oct 19 07:44:04 gw pptpd[2739]: CTRL: pppd options file 
= /etc/ppp/options.pptpd
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Client 192.168.11.251 control 
connection started
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Received PPTP Control Message 
(type: 1)
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Made a START CTRL CONN RPLY packet
Oct 19 07:44:04 gw pptpd[2739]: CTRL: I wrote 156 bytes to the client.
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Sent packet to client
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Received PPTP Control Message 
(type: 7)
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Set parameters to 1525 maxbps, 64 
window size
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Made a OUT CALL RPLY packet
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Starting call (launching pppd, 
opening GRE)
Oct 19 07:44:04 gw pptpd[2739]: CTRL: pty_fd = 5
Oct 19 07:44:04 gw pptpd[2739]: CTRL: tty_fd = 6
Oct 19 07:44:04 gw pptpd[2739]: CTRL: I wrote 32 bytes to the client.
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Sent packet to client
Oct 19 07:44:04 gw pptpd[2740]: CTRL (PPPD Launcher): Connection speed = 
115200
Oct 19 07:44:04 gw pptpd[2740]: CTRL (PPPD Launcher): local address = 
192.168.100.1
Oct 19 07:44:04 gw pptpd[2740]: CTRL (PPPD Launcher): remote address = 
192.168.101.1
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Received PPTP Control Message 
(type: 15)
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Got a SET LINK INFO packet with 
standard ACCMs
Oct 19 07:44:04 gw pppd[2745]: Plugin radius.so loaded.
Oct 19 07:44:04 gw pptpd[2739]: GRE: read(fd=5,buffer=804e8e0,len=8196) 
from PTY failed: status = -1 error = Input/output error
Oct 19 07:44:04 gw pptpd[2739]: CTRL: PTY read or GRE write failed 
(pty,gre)=(5,6)
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Closing child BCrelay with pid 0
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Closing child ppp with pid 2740
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Client 192.168.11.251 control 
connection finished
Oct 19 07:44:04 gw pptpd[2739]: CTRL: Exiting now
Oct 19 07:44:04 gw pptpd[2730]: MGR: Reaped child 2739

Если pptpd просто запустить, не используя service, то всё отрабатывает 
нормально. Дистрибутив ALM 2.4. Тоже наблюдалось и на ALM 2.4 beta.

-- 
WBR, Alexander Kuprin



Подробная информация о списке рассылки community