These patches: 1) Let dialup_admin/bin/log_badlogins read the NAS table from SQL. 2) Make dialup_admin/bin/log_badlogins record the bad password in the callerid field. It is very useful for my support technicians to be able to look at the failed logins table and determine how the user has mis-typed their password, and the caller id field seemed to have the available chars. 3) Change the sort order in dialup_admin/htdocs/accounting.php3 so that the most recent entries are at the top. This usually prevents a lot of scrolling for my techs. 4) Remember the server for which we are showing stats on dialup_admin/htdocs/stats.php3 so that the techs doesn't have to reselect the NAS option every time the refresh the page. 5) Fix the html in dialup_admin/htdocs/user_finger.php3 so that NAS farther down the page do not get farther and farther apart. 6) MySQL 5 did not like the "DEFAULT '0'" for the auto-increment id fields in dialup_admin/sql/mysql/(badusers|userinfo).sql. I simply removed that phrase. Additionally, badusers.sql had a KEY defined on a Date column which apparanlty has been renamed to IncidentDate. I think thats about it for this patch set. Would it be an evil thing to repo-mv *.php3 to *.php and update the code to follow? Has anybody done any work toward making dialup_admin run under PHP5? It appears that PHP4 is on it's last legs. I'm not sure I can do it in a reasonable amount of time since to me "PHP is just this language, you know?" If I can't do it quickly, I probably won't get a chance to do it. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org Yes, that was a HHGTTG reference.
Here is a patch for dialup_admin/Makefile because the BSD install utility, on FreeBSD anyway, does not support the -t option for specifying the source files after the target directory of the GNU install utility. I am using the -I option of xargs instead. BSD and GNU xargs don't seem to have many options in common. I don't actually have a GNU box to test this on, but the online man pages seem to indicate that this should work. Tested only on FreeBSD 6.2. -- Scott Lambert KC5MLE Unix SysAdmin lambert@lambertfam.org
participants (1)
-
Scott Lambert