On Wed, Jan 21, 2015 at 06:20:34PM +0000, Noah Engelberth wrote:
I can't easily run the live servers in debug mode -- they're under fairly heavy volume and it's hard to get useful information from them. I have fairly high request logging turned up at the moment, and I can try to set up my debug environment with a test case that could replicate the issue if necessary.
radmin can help, e.g. # radmin -d /path/to/raddb radmin> debug file debugout radmin> show debug file /var/log/freeradius/debugout radmin> debug condition 'Calling-Station-Id == "aa-bb-cc-dd-ee-ff"' (do test from client aa-bb-cc-dd-ee-ff) radmin> debug condition (tail -f & wait for file to finish being written to) radmin> debug file radmin> exit then the debugout file should contain only debug output from when the condition was true on the incoming request. To get the server config, just run radiusd -X on the running server. It will dump out the startup logging, then refuse to run any further because there is already another radiusd listening on the udp ports. To use radmin you need to have enabled the control-socket virtual server, and set "mode = rw". Matthew -- Matthew Newton, Ph.D. <mcn4@le.ac.uk> Systems Specialist, Infrastructure Services, I.T. Services, University of Leicester, Leicester LE1 7RH, United Kingdom For IT help contact helpdesk extn. 2253, <ithelp@le.ac.uk>