Skip to content

Instantly share code, notes, and snippets.

View jasonish's full-sized avatar

Jason Ish jasonish

View GitHub Profile
yum -y install \
automake \
autoconf \
git \
libtool \
make \
gcc \
gcc-c++ \
libyaml-devel \
libpcap-devel \
diff --git a/scripts/dnp3-gen/dnp3-gen.py b/scripts/dnp3-gen/dnp3-gen.py
index 60d744f..29d7ae2 100755
--- a/scripts/dnp3-gen/dnp3-gen.py
+++ b/scripts/dnp3-gen/dnp3-gen.py
@@ -214,6 +214,7 @@ void OutputJsonDNP3SetItem(json_t *js, DNP3Object *object,
}
#endif /* HAVE_LIBJANSSON */
+
"""
diff --git a/scripts/dnp3-gen/dnp3-gen.py b/scripts/dnp3-gen/dnp3-gen.py
index 60d744f..29d7ae2 100755
--- a/scripts/dnp3-gen/dnp3-gen.py
+++ b/scripts/dnp3-gen/dnp3-gen.py
@@ -214,6 +214,7 @@ void OutputJsonDNP3SetItem(json_t *js, DNP3Object *object,
}
#endif /* HAVE_LIBJANSSON */
+
"""
diff --git a/scripts/dnp3-gen/dnp3-gen.py b/scripts/dnp3-gen/dnp3-gen.py
index 60d744f..29d7ae2 100755
--- a/scripts/dnp3-gen/dnp3-gen.py
+++ b/scripts/dnp3-gen/dnp3-gen.py
@@ -214,6 +214,7 @@ void OutputJsonDNP3SetItem(json_t *js, DNP3Object *object,
}
#endif /* HAVE_LIBJANSSON */
+
"""
20 10 2016 12:56:43.029:WARN [karma]: No captured browser, open http://localhost:9876/
20 10 2016 12:56:43.036:INFO [karma]: Karma v1.2.0 server started at http://localhost:9876/
20 10 2016 12:56:43.036:INFO [launcher]: Launching browser Chrome with unlimited concurrency
20 10 2016 12:56:43.069:INFO [launcher]: Starting browser Chrome
20 10 2016 12:56:43.760:INFO [Chrome 55.0.2873 (Linux 0.0.0)]: Connected on socket /#LggbXX1SCPLR1inqAAAA with id 46254036
Chrome 55.0.2873 (Linux 0.0.0): Executed 0 of 0 ERROR (0.002 secs / 0 secs)
diff --git a/src/detect-fast-pattern.c b/src/detect-fast-pattern.c
index c890419..fa5f0aa 100644
--- a/src/detect-fast-pattern.c
+++ b/src/detect-fast-pattern.c
@@ -194,7 +194,7 @@ static int DetectFastPatternSetup(DetectEngineCtx *de_ctx, Signature *s, char *a
return -1;
}
- SigMatch *pm = SigMatchGetLastSMFromLists(s, 28,
+ SigMatch *pm = SigMatchGetLastSMFromLists(s,
#include <arpa/inet.h>
#include <sys/types.h>
#include <sys/time.h>
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <ctype.h>
#include <byteswap.h>
af-packet:
- cluster-id: 99
cluster-type: cluster_flow
defrag: true
interface: eth0
threads: auto
use-mmap: true
- cluster-id: 98
cluster-type: cluster_flow
defrag: true
af-packet:
- cluster-id: 99
cluster-type: cluster_flow
defrag: true
interface: eth0
- interface: default
app-layer:
protocols:
dcerpc:
enabled: true
--- 3.0.1.yaml 2016-11-17 12:35:18.638108894 -0600
+++ 3.1.3.yaml 2016-11-17 12:35:25.754042551 -0600
@@ -3,13 +3,6 @@
cluster-type: cluster_flow
defrag: true
interface: eth0
- threads: auto
- use-mmap: true
-- cluster-id: 98
- cluster-type: cluster_flow