Imported Upstream version 2.7
[ossec-hids.git] / etc / rules / firewall_rules.xml
1 <!-- @(#) $Id: ./etc/rules/firewall_rules.xml, 2011/09/08 dcid Exp $
2
3   -  Official Firewall rules for OSSEC.
4   -
5   -  Copyright (C) 2009 Trend Micro Inc.
6   -  All rights reserved.
7   -
8   -  This program is a free software; you can redistribute it
9   -  and/or modify it under the terms of the GNU General Public
10   -  License (version 2) as published by the FSF - Free Software
11   -  Foundation.
12   -
13   -  License details: http://www.ossec.net/en/licensing.html
14   -->
15   
16
17 <group name="firewall,">
18   <rule id="4100" level="0">
19     <category>firewall</category>
20     <description>Firewall rules grouped.</description>
21   </rule>
22
23   <!-- We don't log firewall events, because they go
24     -  to their own log file.
25     -->
26   <rule id="4101" level="5">
27     <if_sid>4100</if_sid>
28     <action>DROP</action>
29     <options>no_log</options>
30     <description>Firewall drop event.</description>
31     <group>firewall_drop,</group>
32   </rule>
33
34   <rule id="4151" level="10" frequency="16" timeframe="45" ignore="240">
35     <if_matched_sid>4101</if_matched_sid>
36     <same_source_ip />
37     <description>Multiple Firewall drop events from same source.</description>
38     <group>multiple_drops,</group>
39   </rule>  
40 </group>