radsniff behaviour change?

Brian Candler B.Candler at pobox.com
Thu Dec 2 15:32:16 CET 2010


As of 2.1.10, radsniff doesn't decode packets automatically without -x:

$ sudo bin/radsniff -i lo -c 1
Access-Request Id 17	127.0.0.1:43171 -> 127.0.0.1:1812	+0.000
	Attr-1 = 0x7374657665
	Attr-2 = 0x98f7337df71223dc220a3a682c5f0a7f
	Attr-4 = 0x7f000001
	Attr-5 = 0x00000001

Looking at the code, it doesn't even read the dictionary unless you add -x
(debug) or -F (filter). This change was made in commit 7a85628d

I wonder if this logic is unintentionally broken, and in fact you meant to
load the dictionary *unless* -F is present?

Regards,

Brian.



More information about the Freeradius-Users mailing list