RADIUSD не возвращает атрибуты
Добавлено: Ср сен 03, 2008 10:06 pm
Вроде все сделал по докам на сайте но при подключении клиента ему не выдается IP адрес. Смотрю radiusd -X там следующее
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.6.15:32769, id=194, length=98
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "test"
CHAP-Challenge = 0x88438c848d3c1fbbe1d2f179c645008ee6
CHAP-Password = 0xcfe3d5c1c254c768d071e00679c8a9d78f
Calling-Station-Id = "10.0.6.2"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
users: Matched entry DEFAULT at line 52
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type Accept
rad_check_password: Auth-Type = Accept, accepting the user
Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 2316713, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 0, Framed-IP-Address = 10.0.0.2, Session-Octets-Limit = 102760448, Framed-IP-Netmask = 255.255.255.0, PPPD-Downstream-Speed-Limit = 0,
Exec-Program-Wait: plaintext: Acct-Interim-Interval = 60, Session-Timeout = 2316713, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 0, Framed-IP-Address = 10.0.0.2, Session-Octets-Limit = 102760448, Framed-IP-Netmask = 255.255.255.0, PPPD-Downstream-Speed-Limit = 0,
Exec-Program: returned: 0
Login OK: [test/<CHAP-Password>] (from client localhost port 0 cli 10.0.6.2)
Sending Access-Accept of id 194 to 10.0.6.15 port 32769
Finished request 0
Going to the next request
то есть radiusd получил атрибуты
Exec-Program output: Acct-Interim-Interval = 60, и т.д.
но pppd их не передал
Login OK: [test/<CHAP-Password>] (from client localhost port 0 cli 10.0.6.2)
Sending Access-Accept of id 194 to 10.0.6.15 port 32769
Finished request 0
соттветственно в логах pptpd видна записть
RADATTR plugin wrote 0 lines to file /var/run/radattr/ppp0
соответственно файл /var/run/radattr/ppp0 пустой и pptpd не знает какой ип назначить клиенту
Перерыл все, но так и не победил
аналогичная проблема описана здесь http://www.opennet.ru/openforum/vsluhfo ... 80820.html но пока без решения
Подскажите куда копать и где искать
Если нужна доп инфа пишите
Я думаю что проблема кроется в настройках radius сервера или клиента, или может в версии его, кстати у меня freeradius-1.1.6 все пытаюсь поднять на AltLinux Server 4.0.1
Ready to process requests.
rad_recv: Access-Request packet from host 10.0.6.15:32769, id=194, length=98
Service-Type = Framed-User
Framed-Protocol = PPP
User-Name = "test"
CHAP-Challenge = 0x88438c848d3c1fbbe1d2f179c645008ee6
CHAP-Password = 0xcfe3d5c1c254c768d071e00679c8a9d78f
Calling-Station-Id = "10.0.6.2"
NAS-IP-Address = 127.0.0.1
NAS-Port = 0
Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
modcall[authorize]: module "preprocess" returns ok for request 0
users: Matched entry DEFAULT at line 52
modcall[authorize]: module "files" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
rad_check_password: Found Auth-Type Accept
rad_check_password: Auth-Type = Accept, accepting the user
Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 2316713, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 0, Framed-IP-Address = 10.0.0.2, Session-Octets-Limit = 102760448, Framed-IP-Netmask = 255.255.255.0, PPPD-Downstream-Speed-Limit = 0,
Exec-Program-Wait: plaintext: Acct-Interim-Interval = 60, Session-Timeout = 2316713, PPPD-Upstream-Speed-Limit = 0, Octets-Direction = 0, Framed-IP-Address = 10.0.0.2, Session-Octets-Limit = 102760448, Framed-IP-Netmask = 255.255.255.0, PPPD-Downstream-Speed-Limit = 0,
Exec-Program: returned: 0
Login OK: [test/<CHAP-Password>] (from client localhost port 0 cli 10.0.6.2)
Sending Access-Accept of id 194 to 10.0.6.15 port 32769
Finished request 0
Going to the next request
то есть radiusd получил атрибуты
Exec-Program output: Acct-Interim-Interval = 60, и т.д.
но pppd их не передал
Login OK: [test/<CHAP-Password>] (from client localhost port 0 cli 10.0.6.2)
Sending Access-Accept of id 194 to 10.0.6.15 port 32769
Finished request 0
соттветственно в логах pptpd видна записть
RADATTR plugin wrote 0 lines to file /var/run/radattr/ppp0
соответственно файл /var/run/radattr/ppp0 пустой и pptpd не знает какой ип назначить клиенту
Перерыл все, но так и не победил
аналогичная проблема описана здесь http://www.opennet.ru/openforum/vsluhfo ... 80820.html но пока без решения
Подскажите куда копать и где искать
Если нужна доп инфа пишите
Я думаю что проблема кроется в настройках radius сервера или клиента, или может в версии его, кстати у меня freeradius-1.1.6 все пытаюсь поднять на AltLinux Server 4.0.1