Replicated account stop messages
Hi All, we have a problem with some Radius Client that, cause of malfunction, sometimes re-send a specific stop RADIUS messages several times, it just change the stop time but all the other attribute and data are the same (so it easy to find it). We use freeradius v.2 as proxy so all these messages pass through it, and we'd like that freeradius forwards to the Main RADIUS server just the first one. Is it possible and how? Following you can find an abstract of the log referring to this issue: Thu May 20 16:59:12 2010 User-Name = "XXXXXXXX" NAS-IP-Address = 172.24.196.190 NAS-Port = 0 Acct-Status-Type = Stop Acct-Session-Id = "1F000C38" Acct-Output-Octets = 115924 Acct-Input-Octets = 597749 Acct-Output-Packets = 1126 Acct-Input-Packets = 1060 Session-Timeout = 2705 Idle-Timeout = 600 Event-Timestamp = "May 20 2010 07:15:32 CEST" Called-Station-Id = "00-50-E8-01-F1-26" Calling-Station-Id = "00-1C-C4-1A-30-72" Acct-Session-Time = 365 Acct-Terminate-Cause = 23 NAS-Identifier = "CC03010010" NAS-Port-Type = Async Framed-IP-Address = 10.0.0.22 Nomadix-Subnet = "" Nomadix-Attr-17 = 0x00000000 WISPr-Location-ID = "isocc=IT,cc=39,ac=0522,network=Guglielmo" Acct-Delay-Time = 11 Client-IP-Address = 65.199.220.1 Acct-Unique-Session-Id = "4b1d2e908270a790" Stripped-User-Name = "XXXXXXX" Realm = "zf" Freeradius-Proxied-To = 192.168.27.108 Timestamp = 1274367552 Thu May 20 16:59:17 2010 User-Name = "XXXXXXX" NAS-IP-Address = 172.24.196.190 NAS-Port = 0 Acct-Status-Type = Stop Acct-Session-Id = "1F000C38" Acct-Output-Octets = 115924 Acct-Input-Octets = 597749 Acct-Output-Packets = 1126 Acct-Input-Packets = 1060 Session-Timeout = 2705 Idle-Timeout = 600 Event-Timestamp = "May 20 2010 07:15:37 CEST" Called-Station-Id = "00-50-E8-01-F1-26" Calling-Station-Id = "00-1C-C4-1A-30-72" Acct-Session-Time = 365 Acct-Terminate-Cause = 23 NAS-Identifier = "CC03010010" NAS-Port-Type = Async Framed-IP-Address = 10.0.0.22 Nomadix-Subnet = "" Nomadix-Attr-17 = 0x00000000 WISPr-Location-ID = "isocc=IT,cc=39,ac=0522,network=Guglielmo" Acct-Delay-Time = 16 Client-IP-Address = 65.199.220.1 Acct-Unique-Session-Id = "4b1d2e908270a790" Stripped-User-Name = "XXXXXXX" Realm = "zf" Freeradius-Proxied-To = 192.168.27.108 Timestamp = 1274367557 Best Regards Nicola
Nicola Iotti wrote:
Hi All, we have a problem with some Radius Client that, cause of malfunction, sometimes re-send a specific stop RADIUS messages several times, it just change the stop time but all the other attribute and data are the same (so it easy to find it). We use freeradius v.2 as proxy so all these messages pass through it, and we'd like that freeradius forwards to the Main RADIUS server just the first one.
Is it possible and how?
Sure. Store all stops in a database, and look them up before proxying. Alan DeKok.
participants (2)
-
Alan DeKok -
Nicola Iotti