]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Fixed snort compile options and ipv6 config options
authorChristian Schmidt <maniacikarus@ipfire.org>
Mon, 14 Mar 2011 19:04:16 +0000 (20:04 +0100)
committerChristian Schmidt <maniacikarus@ipfire.org>
Mon, 14 Mar 2011 19:04:16 +0000 (20:04 +0100)
config/snort/snort.conf
lfs/snort

index 4de1a4488019f0d64900dbd1f41388467a8fd140..3afa6f1d6b47f8f7b3a0c07818f0a9ee35cc7adb 100644 (file)
@@ -173,8 +173,6 @@ dynamicengine /usr/lib/snort_dynamicengine/libsf_engine.so
 preprocessor normalize_ip4
 preprocessor normalize_tcp: ips ecn stream
 preprocessor normalize_icmp4
-preprocessor normalize_ip6
-preprocessor normalize_icmp6
 
 # Target-based IP defragmentation.  For more inforation, see README.frag3
 preprocessor frag3_global: max_frags 65536
@@ -287,7 +285,7 @@ preprocessor ftp_telnet_protocol: ftp client default \
     telnet_cmds yes
 
 # SMTP normalization and anomaly detection.  For more information, see README.SMTP
-reprocessor smtp: ports { 25 465 587 691 } \
+preprocessor smtp: ports { 25 465 587 691 } \
     inspection_type stateful \
     enable_mime_decoding \
     max_mime_depth 20480 \
@@ -311,7 +309,7 @@ reprocessor smtp: ports { 25 465 587 691 } \
     xlink2state { enabled }
 
 # Portscan detection.  For more information, see README.sfportscan
- preprocessor sfportscan: proto  { all } memcap { 10000000 } sense_level { medium }
+preprocessor sfportscan: proto  { all } memcap { 10000000 } sense_level { medium }
 
 # ARP spoof detection.  For more information, see the Snort Manual - Configuring Snort - Preprocessors - ARP Spoof Preprocessor
 # preprocessor arpspoof
index fea3f92f6049ee1f4aa8d99a5eac7a0046f58d3e..ebffada8c006dd28871012d7e135a5464dd00da4 100644 (file)
--- a/lfs/snort
+++ b/lfs/snort
@@ -71,8 +71,12 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) $(DIR_SRC)/snort* && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && ./configure --prefix=/usr --disable-nls \
-           --sysconfdir=/etc/snort --target=i586 \
-           --enable-linux-smp-stats --enable-smb-alerts
+               --sysconfdir=/etc/snort --target=i586 \
+               --enable-linux-smp-stats --enable-smb-alerts \
+               --enable-gre --enable-mpls --enable-targetbased \
+               --enable-decoder-preprocessor-rules --enable-ppm \
+               --enable-perfprofiling --enable-zlib --enable-active-response \
+               --enable-normalizer --enable-reload --enable-react --enable-flexresp3
        cd $(DIR_APP) && make
        cd $(DIR_APP) && make install
        mv /usr/bin/snort /usr/sbin/