xottabich89
Сообщений: 3
Оценки: 0
Присоединился: 2010-11-08 05:18:56.533333
|
Доброго времени суток. Не могу ни как настроить билинг. Облазил кучу форумов и мануалов перерыл тонны но ничего не выходит. Abills5.0+radiusd1+pptpd(CentOS5) - Ошибка 691. НО! Удивительно, что авторизация через radiusd -X (в режиме отладки) и nas проходит. В абилсе через веб можно увидеть строчку удачной аутентификации : 2010-11-07 01:02:01 LOG_INFO AUTH test CID: 192.168.0.3 GT: 0.04318 NAS Server Лог pptpd (почему то в перемешку вместе с pppoe хотя конекчусь только по впн у с используя шифрование ): pptpd[4275]: CTRL: Client 192.168.0.3 control connection started pptpd[4275]: CTRL: Starting call (launching pppd, opening GRE) pppd[4276]: Plugin radius.so loaded. pppd[4276]: RADIUS plugin initialized. pppd[4276]: Plugin radattr.so loaded. pppd[4276]: RADATTR plugin initialized. pppd[4276]: Plugin /usr/lib/pptpd/pptpd-logwtmp.so loaded. pppd[4276]: pptpd-logwtmp: $Version$ pppd[4276]: pppd options in effect: pppd[4276]: debug # (from /etc/ppp/pptpd-options) pppd[4276]: dump # (from /etc/ppp/pptpd-options) pppd[4276]: plugin radius.so # (from /etc/ppp/pptpd-options) pppd[4276]: plugin radattr.so # (from command line) pppd[4276]: plugin /usr/lib/pptpd/pptpd-logwtmp.so # (from command line) pppd[4276]: require-mschap-v2 # (from /etc/ppp/pptpd-options) pppd[4276]: pptpd-original-ip 192.168.0.3 # (from command line) pppd[4276]: 115200 # (from command line) pppd[4276]: lock # (from /etc/ppp/options) pppd[4276]: local # (from command line) pppd[4276]: ipparam 192.168.0.3 # (from command line) pppd[4276]: ms-dns xxx # [don't know how to print value] # (from /etc/ppp/pptpd-options) pppd[4276]: 192.168.0.234:192.168.1.234 # (from command line) pppd[4276]: require-mppe-128 # (from /etc/ppp/pptpd-options) pppd[4276]: pppd 2.4.4 started by root, uid 0 pppd[4276]: Using interface ppp0 pppd[4276]: Connect: ppp0 <–> /dev/pts/3 pptpd[4275]: GRE: Bad checksum from pppd. pptpd[4275]: CTRL: Ignored a SET LINK INFO packet with real ACCMs! pppd[4276]: rc_avpair_new: unknown attribute 11 pppd[4276]: rc_avpair_new: unknown attribute 25 pppd[4276]: rc_avpair_gen: received unknown attribute 85 of length 4: 0x0000003C pppd[4276]: pppd[4276]: Peer test failed CHAP authentication pppd[4276]: Connection terminated. pppd[4276]: Exit. pptpd[4275]: CTRL: Client 192.168.0.3 control connection finished лог freeradius1: rad_recv: Access-Request packet from host 127.0.0.1:42184, id=119, length=63 Service-Type = Framed-User Framed-Protocol = PPP User-Name = "test" Calling-Station-Id = "192.168.0.3" NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Processing the authorize section of radiusd.conf modcall: entering group authorize for request 3 modcall[authorize]: module "preprocess" returns ok for request 3 users: Matched entry DEFAULT at line 1 modcall[authorize]: module "files" returns ok for request 3 modcall: leaving group authorize (returns ok) for request 3 rad_check_password: Found Auth-Type Accept rad_check_password: Auth-Type = Accept, accepting the user radius_xlat: '/usr/abills/libexec/rauth.pl' Exec-Program: /usr/abills/libexec/rauth.pl Exec-Program output: Acct-Interim-Interval = 60, Session-Timeout = 2070287, Octets-Direction = 0, Framed-IP-Address = 192.168.0.170, Session-Octets-Limit = 2146435072, Framed-IP-Netmask = 255.255.255.0, Exec-Program-Wait: value-pairs: Acct-Interim-Interval = 60, Session-Timeout = 2070287, Octets-Direction = 0, Framed-IP-Address = 192.168.0.170, Session-Octets-Limit = 2146435072, Framed-IP-Netmask = 255.255.255.0, Exec-Program: returned: 0 Sending Access-Accept of id 119 to 127.0.0.1 port 42184 Acct-Interim-Interval = 60 Session-Timeout = 2070287 Octets-Direction = Route-IP-No Framed-IP-Address = 192.168.0.170 Session-Octets-Limit = 2146435072 Framed-IP-Netmask = 255.255.255.0 Finished request 3 Going to the next request — Walking the entire request list — Waking up in 6 seconds… — Walking the entire request list — Cleaning up request 3 ID 119 with timestamp 4cd68591 Nothing to do. Sleeping until we see a request. Радиус тест проходит: radtest test 123456 127.0.0.1:1812 0 radsecret 0 127.0.0.1 Sending Access-Request of id 71 to 127.0.0.1 port 1812 User-Name = "test" User-Password = "123456" NAS-IP-Address = 127.0.0.1 NAS-Port = 0 Framed-Protocol = PPP rad_recv: Access-Accept packet from host 127.0.0.1:1812, id=71, length=56 Acct-Interim-Interval = 60 Session-Timeout = 2067834 Octets-Direction = Route-IP-No Framed-IP-Address = 192.168.0.170 Session-Octets-Limit = 2146435072 Framed-IP-Netmask = 255.255.255.0 В вебе идет строка только без идентификатора CID: 2010-11-07 01:36:15 LOG_INFO AUTH test GT: 0.04367 NAS Server В чем может быть загвоздка?
|