summaryrefslogtreecommitdiff
blob: 5132f855852bc255a52d4b1ce2b0f3d402f50be6 (plain)
1
2
3
4
5
6
7
8
9
10
#
# A sample configuration file for swatchdog.
#
# See "man swatchdog" for details.

# Mails root when invalid remote login attempted.
watchfor /(.*) (.*) (.*) (.*) (.*):( [iI]nvalid [uU]ser )(.*)( from )(.*)$/
	threshold track_by=$9,type=limit,count=3,seconds=30
	mail root,subject="Invalid user"