freebsd-src/etc/periodic/security
Dag-Erling Smørgrav a4afe9200c Rewrite to consume significantly less memory, by using find -s instead of
find | sort.  As a bonus, this simplifies the logic considerably.  Also
remove the bogus "overruning the args to ls" comment and the corresponding
"-n 20" argument to xargs; the whole point with xargs is precisely that it
knows how large the argument list can safely get.

Note that the first run of the updated script may hypotheticall produce
false positives due to differences between find's and sort's sorting
algorithm.  I haven't seen this during testing, but others might.

MFC after:	2 weeks
2008-02-02 12:27:37 +00:00
..
100.chksetuid Rewrite to consume significantly less memory, by using find -s instead of 2008-02-02 12:27:37 +00:00
200.chkmounts
300.chkuid0
400.passwdless
410.logincheck Add login.conf checking to periodic security scripts. If the login.conf file 2006-08-25 07:34:36 +00:00
500.ipfwdenied Replace "ipfw l", which is now deprecated, with "ipfw list". 2005-02-23 15:07:36 +00:00
510.ipfdenied
520.pfdenied Teach periodic(8) security output to display information about blocked 2004-11-24 18:41:53 +00:00
550.ipfwlimit A new version of rev. 1.4: postpone a temporary file creation 2005-09-11 14:29:58 +00:00
610.ipf6denied Add script for checking ipv6 blocked packets from PR. 2004-04-20 13:44:57 +00:00
700.kernelmsg
800.loginfail Only match on log messages containing fail,invalid, 2007-02-23 21:42:54 +00:00
900.tcpwrap
Makefile Add login.conf checking to periodic security scripts. If the login.conf file 2006-08-25 07:34:36 +00:00
security.functions When looking for new lines in diff output, grep for '^[>+]' instead of 2005-08-22 09:33:36 +00:00