mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
additionally warnings
- login failures - tcp_wrapper messages about refused connections
This commit is contained in:
parent
a910fdcb88
commit
abbfb2cedc
1 changed files with 11 additions and 1 deletions
12
etc/security
12
etc/security
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh -
|
||||
#
|
||||
# @(#)security 5.3 (Berkeley) 5/28/91
|
||||
# $Id: security,v 1.22 1997/09/26 01:38:30 alex Exp $
|
||||
# $Id: security,v 1.23 1998/02/04 01:53:19 alex Exp $
|
||||
#
|
||||
PATH=/sbin:/bin:/usr/bin
|
||||
LC_ALL=C; export LC_ALL
|
||||
|
|
@ -96,4 +96,14 @@ if dmesg 2>/dev/null > $TMP; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# show login failures
|
||||
separator
|
||||
echo "$host login failures:"
|
||||
grep -i "login failures" $LOG/messages
|
||||
|
||||
# show tcp_wrapper warning messages
|
||||
separator
|
||||
echo "$host refused connections:"
|
||||
grep -i "refused connect" $LOG/messages
|
||||
|
||||
rm -f $TMP
|
||||
|
|
|
|||
Loading…
Reference in a new issue