This is a discussion on Logging/accounting regardless whether Accounting-Request packet sent within the FreeRADIUS Users forums, part of the Networking and Network Related category; I have a set up with LDAP backend and a Chillispot run unencrypted network and WPA running off a WRT54G ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a set up with LDAP backend and a Chillispot run unencrypted
network and WPA running off a WRT54G wireless router. Accounting works like a champ coming from the Chillispot network however it doesn't work at all coming from WRT54G. I look through the debug logs and I notice that Chillispot sends an Accounting Request packet while WRT54G doesn't. I checked the set up for both and true Chillispot does have radius-accounting turned on while WRT54G doesn't even have that option. Is it somehow possible to log the details regardless whether NAS sends the request ? My set up is as follows accounting { detail reply_log pre_proxy_log post_proxy_log unix radutmp } This is what I get from Chillispot debug --- Walking the entire request list --- Cleaning up request 17 ID 108 with timestamp 42765dfb Nothing to do. Sleeping until we see a request. rad_recv: Accounting-Request packet from host 192.168.2.227:1654, id=108, length=132 Acct-Status-Type = Start User-Name = "testuser" Calling-Station-Id = "00-0D-93-EE-7E-F3" Called-Station-Id = "00-0A-5E-41-8A-89" NAS-Port-Type = Wireless-802.11 NAS-Port = 1 NAS-Port-Id = "00000001" NAS-IP-Address = 0.0.0.0 NAS-Identifier = "nas01" Framed-IP-Address = 192.168.182.92 Acct-Session-Id = "42765de200000001" Processing the preacct section of radiusd.conf modcall: entering group preacct for request 18 modcall[preacct]: module "preprocess" returns noop for request 18 rlm_acct_unique: Hashing 'NAS-Port = 1,Client-IP-Address = 192.168.2.227,NAS-IP-Address = 0.0.0.0,Acct-Session-Id = "42765de200000001",User-Name = "testuser"' rlm_acct_unique: Acct-Unique-Session-ID = "4fb8b84ec8c9dec5". modcall[preacct]: module "acct_unique" returns ok for request 18 rlm_realm: No '@' in User-Name = "testuser", looking up realm NULL rlm_realm: No such realm "NULL" modcall[preacct]: module "suffix" returns noop for request 18 modcall[preacct]: module "files" returns noop for request 18 modcall: group preacct returns ok for request 18 Processing the accounting section of radiusd.conf modcall: entering group accounting for request 18 radius_xlat: '/var/log/radacct/192.168.2.227/detail-20050502' rlm_detail: /var/log/radacct/%{Client-IP-Address}/detail-%Y%m%d expands to /var/log/radacct/192.168.2.227/detail-20050502 modcall[accounting]: module "detail" returns ok for request 18 radius_xlat: '/var/log/radacct/192.168.2.227/reply-detail-20050502' rlm_detail: /var/log/radacct/%{Client-IP-Address}/reply-detail-%Y%m%d expands to /var/log/radacct/192.168.2.227/reply-detail-20050502 modcall[accounting]: module "reply_log" returns ok for request 18 radius_xlat: '/var/log/radacct/192.168.2.227/detail' rlm_detail: %A/%{Client-IP-Address}/detail expands to /var/log/radacct/192.168.2.227/detail modcall[accounting]: module "pre_proxy_log" returns ok for request 18 radius_xlat: '/var/log/radacct/192.168.2.227/detail' rlm_detail: %A/%{Client-IP-Address}/detail expands to /var/log/radacct/192.168.2.227/detail modcall[accounting]: module "post_proxy_log" returns ok for request 18 modcall[accounting]: module "unix" returns fail for request 18 modcall: group accounting returns fail for request 18 Thanks a lot, Vladimir - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html |