]> git.ipfire.org Git - ipfire-2.x.git/blame - config/snort/snort.conf
Fixed tcpdump rootfile
[ipfire-2.x.git] / config / snort / snort.conf
CommitLineData
cd1a2927
MT
1###################################################
2#
3# This file contains the default snort configuration.
46dff713
MT
4# for all IPFire Versions
5# Unless you are totally happy with this file, please
cd1a2927 6# only change whats needed
46dff713
MT
7# This file is automatically changed by
8# the webinterface, too.
cd1a2927
MT
9#
10# 1) Set the network variables for your network
11# 2) Configure preprocessors
12# 3) Configure output plugins
13# 4) Customize your rule set
14#
cd1a2927
MT
15###################################################
16# Only area a user needs to edit
17include /etc/snort/vars
18var EXTERNAL_NET !$HOME_NET
19var SMTP_SERVERS $HOME_NET
20var HTTP_SERVERS $HOME_NET
21var SQL_SERVERS $HOME_NET
22var TELNET_SERVERS $HOME_NET
23var HTTP_PORTS 80
83843a1c 24var SSH_PORTS 22 222
cd1a2927
MT
25var SHELLCODE_PORTS !80
26var ORACLE_PORTS 1521
27var AIM_SERVERS [64.12.24.0/24,64.12.25.0/24,64.12.26.14/24,64.12.28.0/24,64.12.29.0/24,64.12.161.0/24,64.12.163.0/24,205.188.5.0/24,205.188.9.0/24]
46dff713 28var RULE_PATH /etc/snort/rules
cd1a2927
MT
29
30###################################################
31# Do NOT Edit past this line
32###################################################
33config detection: search-method lowmem
34preprocessor flow: memcap 2097152, stats_interval 0, hash 2
35preprocessor frag2: memcap 2097152
36preprocessor stream4: memcap 2097152, detect_scans, disable_evasion_alerts
37preprocessor stream4_reassemble: noalerts
38preprocessor http_inspect: global iis_unicode_map unicode.map 1252
39preprocessor http_inspect_server: server default profile all ports { 80 8080 }
40preprocessor rpc_decode: 111 32771
41preprocessor bo
42preprocessor telnet_decode
43preprocessor flow-portscan: \
44 scoreboard-memcap-talker 1048576 \
45 scoreboard-rows-talker 10000 \
46 talker-sliding-scale-factor 0.50 \
47 talker-fixed-threshold 30 \
48 talker-sliding-threshold 30 \
49 talker-sliding-window 20 \
50 talker-fixed-window 30 \
51 scoreboard-memcap-scanner 1048576 \
52 scoreboard-rows-scanner 10000 \
53 scanner-sliding-window 20 \
54 scanner-sliding-scale-factor 0.50 \
55 scanner-fixed-threshold 15 \
56 scanner-sliding-threshold 40 \
57 scanner-fixed-window 15 \
58 unique-memcap 1048576 \
59 unique-rows 10000 \
60 server-memcap 1048576 \
61 server-rows 10000 \
62 server-watchnet $HOME_NET \
63 server-ignore-limit 100 \
64 server-learning-time 3600 \
65 server-scanner-limit 4 \
66 alert-mode once \
67 output-mode msg \
68 tcp-penalties on
cd1a2927
MT
69#=========================================
70include $RULE_PATH/classification.config
71include $RULE_PATH/reference.config
72#=========================================
46dff713
MT
73include $RULE_PATH/community-bot.rules
74include $RULE_PATH/community-deleted.rules
75include $RULE_PATH/community-dos.rules
76include $RULE_PATH/community-exploit.rules
77include $RULE_PATH/community-ftp.rules
78include $RULE_PATH/community-game.rules
79include $RULE_PATH/community-icmp.rules
80include $RULE_PATH/community-imap.rules
81include $RULE_PATH/community-inappropriate.rules
82include $RULE_PATH/community-mail-client.rules
83include $RULE_PATH/community-misc.rules
84include $RULE_PATH/community-nntp.rules
85include $RULE_PATH/community-oracle.rules
86include $RULE_PATH/community-policy.rules
46dff713
MT
87include $RULE_PATH/community-sip.rules
88include $RULE_PATH/community-smtp.rules
89include $RULE_PATH/community-sql-injection.rules
90include $RULE_PATH/community-virus.rules
91include $RULE_PATH/community-web-attacks.rules
92include $RULE_PATH/community-web-cgi.rules
93include $RULE_PATH/community-web-client.rules
94include $RULE_PATH/community-web-dos.rules
95include $RULE_PATH/community-web-iis.rules
96include $RULE_PATH/community-web-misc.rules
97include $RULE_PATH/community-web-php.rules