I've recently (or so it seems) successfully modified some m0n0wall
source code to log radius authentications directly to syslog. Modified
files include the syslogd startup scripts in /etc, as well as
/etc/inc/captiveportal.inc (to add a log_auth function). For the web
interface I also modified a couple as well.
My question is....
was adding a log_auth function to call syslog and write the radius
authentication appropriate for /etc/inc/captiveportal.inc? Or should I
put it elsewhere? I'm calling the function from inside
/usr/local/captiveportal/index.php as soon as the radius auth function
returns status code 2.