So, for example I have a dictionary entry that says this: ATTRIBUTE Acct-Session-Time 46 integer none in single And a wireshark dump that says this: AVP: 1=15 t=Unknown(24757) t=Unknown-Attribute(46): 0000000200003 In the sql.conf file I have this: AcctSessionTime = '%{Acct-Session-Time}', \ However, attribute 46 is definitely not the Account Session time and the AcctSessionTime entries in the db are things like 10421 (which they should be). So how do I get the value of that "Unknown-Attribute" into a column in the db? I'm probably missing something obvious, but can't see it. On Sep 2, 2008, at 4:37 PM, Alan DeKok wrote:
Jeffrey Sewell wrote:
Hm... unknown attributes should be printed as Vendor-123-Attr-456.
I'm going off the raw tcpdump view, maybe they get translated at a higher level. I'll re-check.
Ah, OK. FreeRADIUS does that translation when it prints the attributes to the detail file.
And I'd suggest running wireshark rather than tcpdump. Wireshark has imported the FreeRADIUS dictionaries, and understands a lot more attributes than tcpdump does.
So could I pull in any dictionary entry based on number? What's the syntax for that?
See "man dictionary" and/or the sample dictionary files for the format of the FreeRADIUS dictionary files.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html