Проблемма с радиус сервером. Не присоединябться юзвери
Система linux mandrake 10.1, ppp-2.4.2, ppp-radius-2.4.2, pptpd-1.1.4
netup UTM 4.0
/etc/pptpd.conf
option /etc/ppp/pptpd
localip 192.168.0.254
remoteip 192.168.2.1-254
/etc/ppp/pptpd
debug
auth
require-chap
local
192.168.0.254:
plugin radius.so
logfile /var/log/vpn
mtu 1490
mru 1490
radius и pptpd запущены. Когда клиент начинает соединяться радиус пишет следующее и автторизация не проходит(на клиенте windows xp выскакивает 691 ошибка):
Reading config utm.cfg: attributes:
NetUP RADIUS Server started
Access request received
*** DUMP OF RADIUS PACKET (Net::Radius::Packet=HASH(0x823ca60))
Code: Access-Request
Identifier: 127
Authentic: <237>y<136><4><154>&|<215><129><0><128>UK<128>z<217>
Attributes:
User-Name: testuser
NAS-Port: 1
CHAP-Password: <24><227><210><227>b"=o<171><4>=<164><161><22>+<159><137>
Framed-Protocol: PPP
NAS-IP-Address: 127.0.0.1
CHAP-Challenge: <139><173><25>&<255><254><193><207><22><204><224>><144><252>U<4><242><161><2>
Service-Type: Framed-User
*** END DUMP
Received Radius-Packet info:uid:2 recv_date:1155197051 Code:Access-Request BinCode:1 Identifier:127 Authentic: User_Name:testuser Framed_Protocol:PPP NAS_IP_Address:127.0.0.1 Service_Type:Framed-User
CHAP AUTH RECEIVED
uchap_challenge_lengh:19
CHAP_challenge:▀ґ&ЪЧаолЮ>░ЭUР║
PLAIN_password:pauONM/HSu9pM
CHAP_password:ЦрЦb"=o╚=є║+÷┴
MD5_result:©┬й_≥·Cґf╙z;╒Їh
MD5_result_attr:
CHAP_result:ЦрЦb"=o╚=є║+÷┴
/netup/utm/utm.cfg
Часть конфига отвечающего за радиус
...............
radius_port=1812
radius_host=0.0.0.0
radius_dictionary_path=/netup/utm/bin/netup_radius/dictionary
radius_secret_key=mysecret
radius_debug=1
В /var/log/messages пишет следующее:
Aug 10 12:04:09 localhost pptpd[7318]: CTRL: Starting call (launching pppd, opening GRE)
Aug 10 12:04:09 localhost pppd[7319]: Plugin radius.so loaded.
Aug 10 12:04:09 localhost pppd[7319]: RADIUS plugin initialized.
Aug 10 12:04:09 localhost pppd[7319]: pppd 2.4.2 started by root, uid 0
Aug 10 12:04:09 localhost pptpd[7318]: GRE: Discarding duplicate packet
Aug 10 12:04:09 localhost pppd[7319]: Using interface ppp1
Aug 10 12:04:09 localhost pppd[7319]: Connect: ppp1 <--> /dev/pts/5
Aug 10 12:04:09 localhost pptpd[7318]: GRE: Bad checksum from pppd.
Aug 10 12:04:11 localhost pptpd[7318]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug 10 12:04:11 localhost pppd[7319]: Peer testuser failed CHAP authentication
Aug 10 12:04:11 localhost pppd[7319]: Connection terminated.
Aug 10 12:04:11 localhost pptpd[7318]: CTRL: Client 192.168.0.27 control connection finished
Усли убрать plugin radius.so в /etc/ppp/pptpd авторизация отлично проходит по chap.
Помогите пожалуйста не пойму в чем бок.