Re: Use of %{Framed-IP-Address} in dialup.conf

2013-01-16 Thread Örn Arnarson
Arran, Thanks very much. That was exactly what I was looking for, and it works like a charm. I understand how radius works a little better now as well. Thanks to Alan as well. Regards, Örn On Tue, Jan 15, 2013 at 9:56 PM, Arran Cudbard-Bell a.cudba...@freeradius.org wrote: On 15 Jan 2013,

Re: Use of %{Framed-IP-Address} in dialup.conf

2013-01-15 Thread Örn Arnarson
Hi Alan, There is a Framed-IP-Address: xxx.xx.xx.xxx in the packet. That should then presumably mean that I should be able to access this variable in said config file? Regards, Örn On Mon, Jan 14, 2013 at 2:07 AM, Alan DeKok al...@deployingradius.comwrote: Örn Arnarson wrote: I'm logging

Re: Use of %{Framed-IP-Address} in dialup.conf

2013-01-15 Thread Alan DeKok
Örn Arnarson wrote: Hi Alan, There is a Framed-IP-Address: xxx.xx.xx.xxx in the packet. That should then presumably mean that I should be able to access this variable in said config file? Yes. Run the server in debugging mode to see. Odds are the Framed-IP-Address is in the

Re: Use of %{Framed-IP-Address} in dialup.conf

2013-01-15 Thread Arran Cudbard-Bell
On 15 Jan 2013, at 21:02, Alan DeKok al...@deployingradius.com wrote: Örn Arnarson wrote: Hi Alan, There is a Framed-IP-Address: xxx.xx.xx.xxx in the packet. Outbound packet right (reply)? Because you're dealing with an Access-Request, which is why you're modifying the Post-Auth query?

Use of %{Framed-IP-Address} in dialup.conf

2013-01-13 Thread Örn Arnarson
I'm logging into MySQL via post_auth_query = SQL query. I've added some fields that I want to log, such as the allocated IP address, the NAS IP address and the Calling-Station-ID. All fields are logging fine except for Framed-IP-Address which just seems to be absent. Is that variable not

Re: Use of %{Framed-IP-Address} in dialup.conf

2013-01-13 Thread Alan DeKok
Örn Arnarson wrote: I'm logging into MySQL via post_auth_query = SQL query. I've added some fields that I want to log, such as the allocated IP address, the NAS IP address and the Calling-Station-ID. All fields are logging fine except for Framed-IP-Address which just seems to be absent.