<div dir="ltr"><div dir="ltr"><div dir="ltr">Hello Hugh,<div><br></div></div></div><div class="gmail_quote"><div dir="ltr">On Mon, Jan 14, 2019 at 5:07 AM Hugh Irvine <<a href="mailto:hugh@open.com.au">hugh@open.com.au</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Yes there are several ways of doing this - can you please send me an example trace 4 debug showing what you get in the access requests?<br>
<br>
And also tell me what you would like to use as the username?<br></blockquote></div><div><br></div><div><div>currently I'm focusing on accounting-requests only and ideally it would use the Calling-Station-Id as the local-part of the username while the realm would be set to a fixed string so that the username "guest" would be rewritten to something like "<span style="color:rgb(0,0,0);font-size:13.3333px">00:00:5E:00:53:12</span>@public-hotspot".</div><div><br></div><div><div>Mon Jan 14 03:07:18 2019</div><div>        User-Name = "guest"</div><div>        NAS-Port = 13</div><div>        NAS-IP-Address = 192.0.2.1</div><div>        Framed-IP-Address = 192.0.2.2</div><div>        Framed-IPv6-Prefix = <span style="color:rgb(0,0,0);font-size:13.3333px">2001:DB8</span>::/64<br></div><div>        Framed-IPv6-Prefix = <span style="color:rgb(0,0,0);font-size:13.3333px">2001:DB8</span>::/64<br></div><div>        Framed-IPv6-Prefix = fe80::/64</div><div>        NAS-Identifier = "some-ac"</div><div>        Airespace-WLAN-Id = 10</div><div>        Acct-Session-Id = "5c3b8019/<span style="color:rgb(0,0,0);font-size:13.3333px">00:00:5E:00:53:12</span>/358203"<br></div><div>        NAS-Port-Type = Wireless-IEEE-802-11</div><div>        cisco-avpair = "audit-session-id=0a381bfb0006aca35c3b7fba"</div><div>        Acct-Authentic = Local</div><div>        Tunnel-Type = 0:VLAN</div><div>        Tunnel-Medium-Type = 0:802</div><div>        Tunnel-Private-Group-ID = 1620</div><div>        Event-Timestamp = 1547431627</div><div>        Acct-Status-Type = Alive</div><div>        Acct-Input-Octets = 50287684</div><div>        Acct-Input-Gigawords = 0</div><div>        Acct-Output-Octets = 1546124170</div><div>        Acct-Output-Gigawords = 0</div><div>        Acct-Input-Packets = 374646</div><div>        Acct-Output-Packets = 1200190</div><div>        Acct-Session-Time = 28338</div><div>        Acct-Delay-Time = 0</div><div>        Calling-Station-Id = "<span style="color:rgb(0,0,0);font-size:13.3333px">00:00:5E:00:53:12</span>"<br></div><div>        Called-Station-Id = "<span style="color:rgb(0,0,0);font-size:13.3333px">00:00:5E:00:53:11</span>:hotspot"<br></div><div>        Timestamp = 1547431638</div></div><div><br></div><div><br></div><div>Thanks!<br></div></div><div><br></div><div><br></div><div>Kind regards</div><div>-- <br></div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Christian</div></div></div></div></div></div></div>