Adding a variable to Free Radius

Fajar A. Nugraha list at fajar.net
Tue Aug 5 07:55:41 CEST 2014


On Mon, Aug 4, 2014 at 6:16 PM, Nick Cameo <symack at gmail.com> wrote:
> Hello Fajar, Thank you for your response. Oooops. I should have
> been more clear. The queries, table fields, and dictionaries have
> been modified.
>
> I just can't figure out how to get Freeradius to pick up the value of
> the variable automatically as it does with the rest of the standard
> values (ie, SIP-To-Tag) for our service.

... and the variable is ...?

Is it printed out when you run FR in debug log? i.e. does the nas send
the attribute, and FR correctly receive/decode it?

>
> Also, when trying to sniff the running port using
> ngrep -d eth0 -qt -W byline portrange 1812-1814, I am not able
> to pick up an freerad related packets. Are those still the ports
> we need to sniff out?

1812 -> auth, 1813 -> acct.

Don't know about ngrep, but it should work with

tcpdump -vv -i eth0 udp and portrange 1812-1813

... then again, debug mode would print the packets and decoded
attributes and values, making it easier to troubleshoot, so you should
use that instead/as well.

-- 
Fajar


More information about the Freeradius-Users mailing list