How to access this attribute

Scott Armitage S.P.Armitage at lboro.ac.uk
Thu Oct 17 16:34:06 CEST 2013


On 17 Oct 2013, at 15:17, Jonathan Gazeley <Jonathan.Gazeley at bristol.ac.uk> wrote:

> This is a simple question but I can't find the answer by searching. In the following rad_recv block, which variable contains the value "137.222.7.113"? I need to access it in unlang to determine whether the packet arrived at my RADIUS server from our wireless controllers, or from another RADIUS server.
> 
> Thanks,
> Jonathan
> 
> 
> rad_recv: Access-Request packet from host 137.222.7.113 port 53538, id=93, length=179
>    User-Name = "@bris.ac.uk"
>    Calling-Station-Id = "20:10:7a:1a:89:1d"
>    Called-Station-Id = "d0:c2:82:ae:ad:00:eduroam"
>    NAS-IP-Address = 172.17.107.201
>    NAS-Identifier = "wism1 at bristol.ac.uk"
>    Framed-MTU = 1300
>    Operator-Name = "1bristol.ac.uk"
> 
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



%{request:Client-IP-Address}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20131017/f41baa86/attachment.pgp>


More information about the Freeradius-Users mailing list