]> git.ipfire.org Git - thirdparty/snort3.git/commitdiff
add bugs list to manual
authorRuss Combs <rucombs@cisco.com>
Sat, 4 Jul 2015 03:05:37 +0000 (23:05 -0400)
committerRuss Combs <rucombs@cisco.com>
Sat, 4 Jul 2015 03:05:37 +0000 (23:05 -0400)
doc/CMakeLists.txt
doc/Makefile.am
doc/bugs.txt [new file with mode: 0644]
doc/start.txt

index 8932e41f1d479dced3bb33d0b5082b4f9d0ec4df..2d644720b454e9433234fe93502dda2067391f68 100644 (file)
@@ -31,6 +31,7 @@ set (MODULE_SOURCES
 )
 
 set (UNBUILT_SOURCES
+    bugs.txt
     daq.txt
     differences.txt
     errors.txt
index 5ffc2bf568203a2352e6015f5c8acc7a68a352bd..cde97e87c5c8df2f408e7fd33e69f1ca33d9cbee 100644 (file)
@@ -27,6 +27,7 @@ search_engine.txt
 unbuilt_sources = \
 snort_manual.txt \
 config_changes.txt \
+bugs.txt \
 daq.txt \
 differences.txt \
 enviro.txt \
diff --git a/doc/bugs.txt b/doc/bugs.txt
new file mode 100644 (file)
index 0000000..0f976eb
--- /dev/null
@@ -0,0 +1,62 @@
+==== Build
+
+* configure bombs on OSX with g++ wrapper to clang because g++ version < 4.8
+(compare g++ -dumpversion and g++ --version)
+
+    workaround:  export CXX=clang++
+
+* export CXX=clang++ to build with clang; coughs up these warnings:
+
+    Wunused-but-set-variable is not understood by clang
+    clang: warning: argument unused during compilation: '-pthread'
+
+* Cmake doc/ has a problem when SNORT_PLUGIN_PATH is set to get extras
+included in the manual.
+
+* Making in doc/ may fail complaining something about xmllint.  Just make
+again and it will succeed.  Appears to be an unknown dependency but it
+works for me!
+
+
+==== Config
+
+* Parsing issue with IP lists.  can't parse rules with $EXTERNAL_NET
+defined as below because or the space between ! and 10.
+
+    HOME_NET = [[ 10.0.17.0/24 10.0.14.0/24 10.247.0.0/16 10.246.0.0/16 ]]
+    EXTERNAL_NET = '! ' .. HOME_NET
+
+* Multiple versions of luajit scripts are not handled correctly.  The
+first loaded version will always be executed even though plugin manager
+saves the correct version.
+
+
+==== Rules
+
+* metdata:service foo; metadata:service foo; won't cause a duplicate service
+warning as does metadata:service foo, service foo;
+
+* ip_proto doesn't work properly with reassembled packets so it can't be
+used to restrict the protocol of service rules.
+
+
+==== snort2lua
+
+* uricontent:"foo"; content:"bar"; -> http_uri; content:"foo"; content:"bar";
+(missing pkt_data)
+
+* stream_tcp ports and protocols both go into a single
+binder.when; this is incorrect as the when fields are logically anded
+together (ie must all be true).  should create 2 separate bindings.
+
+* There is a bug in pps_stream_tcp.cc.. when stream_tcp: is
+specified without any arguments, snort2lua doesn't convert it
+
+* Loses the ip list delimiters [ ]; change to ( )
+
+    in snort.conf: var HOME_NET [A,B,C]
+    in snort.lua: HOME_NET = [[A B C]]
+
+* Won't convert packet rules (alert tcp etc.) to service rules (alert http
+etc.).
+
index c963bbd92e62bb8168eef7ee1d5713e5caded386..2c0a509969b2ab12a4b5fc6e4746690b4bf3c590 100644 (file)
@@ -280,3 +280,8 @@ include::errors.txt[]
   MY_SERVERS = [[ 172.20.0.0/16 172.21.0.0/16 ]]
   EXTERNAL_NET = '!' .. MY_SERVERS
 
+
+=== Bugs
+
+include::bugs.txt[]
+