I am running freeradius 0.9.2 (have not yet updated to 0.9.3). I've read through the FAQ and I didn't find anything, I also found no relevant info in the list archive for the last 6 months using 'alive' and 'radwho' as search terms (http://www.mail-archive.com/cgi-bin/htsearch?config=freeradius-users_lists_ cistron_nl&restrict=&exclude=&words=alive+radwho).
We run a server to authenticate DSL users. The requests come from an upstream RADIUS server which is proxying. I'm not using mySQL, just outputting to flat text. radwho shows many duplicate entries of the same DSL users being connected even though those PPP connections have long since ceased. I can only presume that because freeradius is receiving requests with Acct-Status-Type = Alive that it's creating new sessions in the radwtmp file despite the fact that the Acct-Unique-Session-Id value is identical. The log itself is being imported and processed by the accounting software correctly, so it isn't a matter of multiple connections being billed. But it's almost as if the daemon is reading Alive = Start as opposed to a Stop/Start. If anybody can shine some light on this it would be helpful. Here is an example request (with "Alive"): Thu Jun 3 10:23:02 2004 Acct-Session-Id = "00015EBB" Tunnel-Server-Endpoint:0 = "\000203.194.30.xxx" Tunnel-Client-Endpoint:0 = "\000172.31.142.xxx" Tunnel-Assignment-Id:0 = "\0001" Tunnel-Type:0 = L2TP Acct-Tunnel-Connection = "\0001156979" Tunnel-Client-Auth-Id:0 = "\000n2563728k-qwb1" Tunnel-Server-Auth-Id:0 = "\000LNS02-WICK-BNE" Framed-Protocol = PPP Framed-IP-Address = 220.240.129.xxx Ascend-Connect-Progress = LAN-Session-Up Ascend-PreSession-Time = 2 Ascend-Xmit-Rate = 256 Ascend-Data-Rate = 256 Acct-Session-Time = 6296 Acct-Input-Octets = 302969 Acct-Output-Octets = 1050017 Ascend-Pre-Input-Octets = 0 Ascend-Pre-Output-Octets = 119 Acct-Input-Packets = 3136 Acct-Output-Packets = 2959 Ascend-Pre-Input-Packets = 0 Ascend-Pre-Output-Packets = 6 Acct-Authentic = RADIUS Acct-Status-Type = Alive NAS-Port = 1045 Calling-Station-Id = "atm 10" Called-Station-Id = "2:2.945#184566207##speed:UBR:256#pppoe 00:09:f3:00:b4:e3#/" Service-Type = Framed-User NAS-IP-Address = 203.220.79.xxx Ascend-Session-Svr-Key = "0AD7A15F" Event-Timestamp = "Jun 3 2004" NAS-Identifier = "LNS02-WICK-BNE.comindico.com.au" Acct-Delay-Time = 0 User-Name = "xxxxxxxxxx" NAS-Port-Type = ADSL-DMT Attr-103 = 0x40be7124 Client-IP-Address = 203.132.224.xxx Acct-Unique-Session-Id = "aa396f12969f1d9e" Timestamp = 1086222182 ====================================== Adrian Griffin Administrator RetNet Internet Services -------------------------------------- Phone: 07 5527 0436 PO Box 105 Fax: 07 5532 9172 Southport BC ====================================== - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html