This file is indexed.

/etc/prelude-lml/ruleset/vigor.rules is in prelude-lml 1.0.0-5.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
#####
#
# Copyright (C) 2003 John Green <john@giggled.org>
# All Rights Reserved
#
# This file is part of the Prelude-LML program.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING.  If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
#####

# 1) TCP :

#LOG:Apr 27 02:55:31 81.2.127.129 r00t3r: 295:34:52.730 lan @Group:Rule=0:10 b 200.187.15.1,18775 -> 81.2.127.129,www    PR tcp len 20 48 -S 895123185 0 16384 IN
regex=([wl]an) @Group:Rule=(\d+:\d+) b ([\d\.]+),(\w+) -> ([\d\.]+),(\w+)    PR (\S+) len (\d+) (\d+) (\S+) (\d+) (\d+) (\d+) (IN|OUT); \
 classification.text=$7 Packet dropped; \
 id=2000; \
 revision=2; \
 analyzer(0).class=Firewall; \
 assessment.impact.completion=failed; \
 assessment.impact.type=other; \
 assessment.impact.severity=medium; \
 assessment.impact.description=Vigor dropped a $7 packet $3:$4 -> $5:$6; \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$3; \
 source(0).service.port=$4; \
 source(0).service.iana_protocol_name=$7; \
 source(0).interface=$1; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$5; \
 target(0).service.port=$6; \
 target(0).service.iana_protocol_name=$7; \
 additional_data(0).type=string; \
 additional_data(0).meaning=ACL; \
 additional_data(0).data=$2; \
 additional_data(1).type=integer; \
 additional_data(1).meaning=Header length (b); \
 additional_data(1).data=$8; \
 additional_data(2).type=integer; \
 additional_data(2).meaning=Payload size (Kb); \
 additional_data(2).data=$9; \
 additional_data(3).type=string; \
 additional_data(3).meaning=Flags; \
 additional_data(3).data=$10; \
 additional_data(4).type=integer; \
 additional_data(4).meaning=ACK number; \
 additional_data(4).data=$11; \
 additional_data(5).type=integer; \
 additional_data(5).meaning=Sequence number; \
 additional_data(5).data=$12; \
 additional_data(6).type=integer; \
 additional_data(6).meaning=Window size; \
 additional_data(6).data=$13; \
 additional_data(7).type=string; \
 additional_data(7).meaning=Direction; \
 additional_data(7).data=$14; \
 last;

# 2) ICMP :

#LOG:Apr 27 00:38:25 81.2.127.129 r00t3r: 293:17:47.390 lan @Group:Rule=0:10 b 66.112.44.26 -> 81.2.127.142    PR icmp len 20 28 icmp 8/0 IN
regex=([wl]an) @Group:Rule=(\d+:\d+) b ([\d\.]+) -> ([\d\.]+)    PR icmp len (\d+) (\d+) icmp (\d+)/(\d+) (IN|OUT); \
 classification.text=ICMP Packet dropped; \
 id=2001; \
 revision=2; \
 analyzer(0).class=Firewall; \
 assessment.impact.completion=failed; \
 assessment.impact.type=other; \
 assessment.impact.severity=medium; \
 assessment.impact.description=Vigor dropped an ICMP packet $3 -> $4 ($7/$8); \
 source(0).node.address(0).category=ipv4-addr; \
 source(0).node.address(0).address=$3; \
 source(0).service.iana_protocol_name=ICMP; \
 source(0).service.iana_protocol_number=1; \
 source(0).interface=$1; \
 target(0).node.address(0).category=ipv4-addr; \
 target(0).node.address(0).address=$4; \
 target(0).service.iana_protocol_name=ICMP; \
 target(0).service.iana_protocol_number=1; \
 additional_data(0).type=string; \
 additional_data(0).meaning=ACL; \
 additional_data(0).data=$2; \
 additional_data(1).type=integer; \
 additional_data(1).meaning=Header length (b); \
 additional_data(1).data=$5; \
 additional_data(2).type=integer; \
 additional_data(2).meaning=Payload size (Kb); \
 additional_data(2).data=$6; \
 additional_data(3).type=integer; \
 additional_data(3).meaning=ICMP type; \
 additional_data(3).data=$7; \
 additional_data(4).type=integer; \
 additional_data(4).meaning=ICMP code; \
 additional_data(4).data=$8; \
 additional_data(5).type=string; \
 additional_data(5).meaning=Direction; \
 additional_data(5).data=$9; \
 last;