71 lines
1.7 KiB
Text
71 lines
1.7 KiB
Text
#VTUN Events
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Session (\S+)\[\S\] opened
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: %s;
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: BlowFish encryption initialized
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Tunnel Opened on $1
|
|
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: VTun client ver\s+(.*)
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Server Started on $1 version $2
|
|
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Connecting to (.*)
|
|
desc=$0
|
|
action=add GENERAL_REPORT VTUN %s
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Denied connection from (\d+\.\d+\.\d+\.\d+):\d+
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Connection DENIED by $1 from $2
|
|
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Connection denied by (.*)
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Connection DENIED by $2 for $1
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Exit
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Exit on $1
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Can't resolv server address: (.*)
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Cannot Resolve Target $2 on $1
|
|
|
|
|
|
type=Single
|
|
ptype=RegExp
|
|
pattern=\S+\s+\d+\s+\S+\s+(\S+)\s+vtund\[\d+\]: Session (/S+) closed
|
|
desc=$0
|
|
action=add GENERAL_REPORT %t: VTUN Session $2 Closed on $1
|
|
|
|
|
|
|
|
#Send 12 hours vtun report
|
|
|
|
type=Calendar
|
|
time=0 0,12 * * *
|
|
desc=Sending vtun report...
|
|
action=report VTUN_REPORT \
|
|
/usr/bin/mail -s 'VTUN: VTUN Report' alerts@yourdomain.com; \
|
|
delete VTUN_REPORT0
|
|
|