]> git.ipfire.org Git - thirdparty/snort3.git/log
thirdparty/snort3.git
9 years agocmg: change source::buf to source.buf and ::buf to snort.buf
Russ Combs [Fri, 16 Jun 2017 23:31:34 +0000 (19:31 -0400)] 
cmg: change source::buf to source.buf and ::buf to snort.buf
cmg: use http_method + version + uri instead of http_raw_request
cmg: use http_version + stat_code + stat_msg instead of http_raw_status

9 years agologgers: use const event reference in alert funcs
Russ Combs [Sat, 17 Jun 2017 12:27:58 +0000 (08:27 -0400)] 
loggers: use const event reference in alert funcs

9 years agoMerge pull request #919 in SNORT/snort3 from Bug203817 to master
Tom Peters (thopeter) [Fri, 16 Jun 2017 19:20:34 +0000 (15:20 -0400)] 
Merge pull request #919 in SNORT/snort3 from Bug203817 to master

Squashed commit of the following:

commit 070e1a8857475b77e22809303caa66a9b3a07eba
Author: allewi <allewi@cisco.com>
Date:   Thu Jun 1 12:40:04 2017 -0400

    adding changes for bug203817

9 years agoMerge pull request #928 in SNORT/snort3 from ps_events to master
Russ Combs (rucombs) [Fri, 16 Jun 2017 17:07:20 +0000 (13:07 -0400)] 
Merge pull request #928 in SNORT/snort3 from ps_events to master

Squashed commit of the following:

commit 3877ccf2211f0341b0cdd6d59c7ef9b41023955f
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Jun 16 08:43:10 2017 -0400

    port_scan: execute probes after detection and log the alt buffer if set

commit 2965452abf7ed909be0cfcb76b645f1439022c8d
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 15 13:01:09 2017 -0400

    port_scan: cleanup headers

commit 25c305b763019b77823bc3de0ad78c972168d72b
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 15 11:51:59 2017 -0400

    port_scan: refactor alerting

commit 2c9380e50066da9b7319f134202d737e3acad7d9
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 15 10:58:18 2017 -0400

    port_scan: just use normal log files

commit 5786467d359d8c59523a060a9ddee29a1963cf99
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 15 10:54:23 2017 -0400

    port_scan: eliminate use of pseudo packet for events

9 years agobuild 236
Russ Combs [Thu, 15 Jun 2017 11:14:41 +0000 (07:14 -0400)] 
build 236

9 years agoMerge pull request #923 in SNORT/snort3 from ps_overhaul to master
Russ Combs (rucombs) [Thu, 15 Jun 2017 00:13:10 +0000 (20:13 -0400)] 
Merge pull request #923 in SNORT/snort3 from ps_overhaul to master

Squashed commit of the following:

commit 1a3272ddf66ff45c0e37ad38546e0e3a14bb3937
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed Jun 14 15:25:56 2017 -0400

    review: clean up more return values

commit 9ded9d29ca0e668c1c0ab2977f32cc4c93b56e36
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed Jun 14 15:00:47 2017 -0400

    review: update defaults to some semi-useful average

commit 086c0235ffc31ba10f99d9195f40093a61901ef5
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Jun 12 17:49:52 2017 -0400

    port_scan: remove unused cruft

commit df35824913f28060fe69ce045d5a09e0d0739e13
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Jun 12 15:22:30 2017 -0400

    port_scan: update snort2lua for deleted sense_level

commit 8ac604119fcb385dc860d3d1129dc5b5d1b62770
Merge: fc66cd5 8dfcc5e
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Jun 12 10:30:26 2017 -0400

    port_scan: fix ip6 handling

commit fc66cd527829be3e6528dd78810e15870f5b648c
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 11 21:07:32 2017 -0400

    port_scan: convert return values from int to bool and other cleanup

commit 3dd0b506ca32bb716fbaec00217c0196bce086b5
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 11 19:44:04 2017 -0400

    port_scan: normalize args, cleanup comments, remove dead code

commit d0aa139077b886f761309d9e74c5d840d35b7688
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 11 11:09:10 2017 -0400

    port_scan: utilize expanded configuration

commit 209f535dd842f4f094b8ce99a464b2d2fcd44d25
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 8 08:08:32 2017 -0400

    port_scan: add lua defaults

commit 1630d19a840f45a7f9862143b9ab3418fde93a17
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Jun 9 16:53:01 2017 -0400

    port_scan: alert on all packets considered scan events within window
    port_scan: fix ip protocol scan detection

commit 9fbf94640debdf83a85b064d72a89f3f89d63c16
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Jun 9 11:44:56 2017 -0400

    port_scan: use standard event queuing

commit 8dfcc5e634867357644511e1c3d63065071857e2
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 11 21:07:32 2017 -0400

    port_scan: convert return values from int to bool and other cleanup

commit 07a03fc5824f26ce0db88d53a86d68c0e226353c
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 11 19:44:04 2017 -0400

    port_scan: normalize args, cleanup comments, remove dead code

commit a122e32b803466bb6228cadd61e4aea737d70ce2
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 11 11:09:10 2017 -0400

    port_scan: utilize expanded configuration

commit 8fcb52c2ddb4d6cc5122d009ce4d593e2dc4bf29
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 8 08:08:32 2017 -0400

    port_scan: add lua defaults

commit 9ead40f296fb31c18b5b01ed8bf8c450f14c2edc
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Jun 9 16:53:01 2017 -0400

    port_scan: alert on all packets considered scan events within window
    port_scan: fix ip protocol scan detection

commit a33f60b6801624065f27d09ec8cddf9a88df55ba
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Jun 9 11:44:56 2017 -0400

    port_scan: use standard event queuing

9 years agoMerge pull request #926 in SNORT/snort3 from nhttp74 to master
Tom Peters (thopeter) [Wed, 14 Jun 2017 20:40:11 +0000 (16:40 -0400)] 
Merge pull request #926 in SNORT/snort3 from nhttp74 to master

Squashed commit of the following:

commit 9634905678288bbc1efa1626100bf6d0c0d34e54
Author: Tom Peters <thopeter@cisco.com>
Date:   Wed Jun 14 14:46:30 2017 -0400

    Added helper methods for events and infractions

9 years agoMerge pull request #924 in SNORT/snort3 from appid_bug_217500 to master
Tom Peters (thopeter) [Wed, 14 Jun 2017 20:38:15 +0000 (16:38 -0400)] 
Merge pull request #924 in SNORT/snort3 from appid_bug_217500 to master

Squashed commit of the following:

commit 2835f929dcc8faa913fec6a63141f608b9b12863
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Fri Jun 9 16:47:57 2017 -0400

    fix memory leak caused by error initializing and freeing linked list elements for matched chp patterns

9 years agoMerge pull request #922 in SNORT/snort3 from nhttp73 to master
Tom Peters (thopeter) [Wed, 14 Jun 2017 18:45:15 +0000 (14:45 -0400)] 
Merge pull request #922 in SNORT/snort3 from nhttp73 to master

Squashed commit of the following:

commit 1983899cf047594c9089a3ef0211faf403d22220
Author: Tom Peters <thopeter@cisco.com>
Date:   Fri Jun 9 13:51:18 2017 -0400

    improved transfer-encoding header processing

9 years agoMerge pull request #921 in SNORT/snort3 from decode_sync_up to master
Tom Peters (thopeter) [Tue, 13 Jun 2017 20:24:49 +0000 (16:24 -0400)] 
Merge pull request #921 in SNORT/snort3 from decode_sync_up to master

Squashed commit of the following:

commit c4029c05a4eab161ab23f483ee4320aefd6713fc
Author: mdagon <mdagon@cisco.com>
Date:   Mon Jun 12 14:14:44 2017 -0400

    Updated ipv6 valid next headers

9 years agoMerge pull request #897 in SNORT/snort3 from perflib_updates to master
Michael Altizer (mialtize) [Fri, 9 Jun 2017 20:39:22 +0000 (16:39 -0400)] 
Merge pull request #897 in SNORT/snort3 from perflib_updates to master

Squashed commit of the following:

commit 53b8a945fba35c2ca6fad77c1b04eef9a9c3eb11
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Wed May 10 16:38:59 2017 -0400

    added udp.ignore to pegs

    fixed tcp.ignored_sessions (tcp.ignored)

    added daq.rx_bytes

    added syn and syn-ack counters to stream_tcp

    added search_engine.searched_bytes

    added reset and fin peg counters

9 years agoMerge pull request #920 in SNORT/snort3 from nhttp72 to master
Tom Peters (thopeter) [Fri, 9 Jun 2017 17:31:51 +0000 (13:31 -0400)] 
Merge pull request #920 in SNORT/snort3 from nhttp72 to master

Squashed commit of the following:

commit 3a789ec873f4349c3ba4d86fc44c13b44d4da4e6
Author: Tom Peters <thopeter@cisco.com>
Date:   Wed May 31 16:57:54 2017 -0400

    NHI improvements to handling of badly terminated chunks

9 years agoMerge pull request #918 in SNORT/snort3 from sip_buf to master
Russ Combs (rucombs) [Thu, 8 Jun 2017 13:54:10 +0000 (09:54 -0400)] 
Merge pull request #918 in SNORT/snort3 from sip_buf to master

Squashed commit of the following:

commit dc7ee447477092476f4071404673623ac58be1b3
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed Jun 7 15:57:48 2017 -0400

    conf: set HOME_NET and EXTERNAL_NET before loading defaults

commit 72bbbf5da7c4911c01bf6366c03be5ef2e5741f1
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue Jun 6 09:02:56 2017 -0400

    sip: fix get body buffer

9 years agoMerge pull request #911 in SNORT/snort3 from appid_stats to master
Tom Peters (thopeter) [Tue, 6 Jun 2017 16:08:32 +0000 (12:08 -0400)] 
Merge pull request #911 in SNORT/snort3 from appid_stats to master

Squashed commit of the following:

commit 9e6310eba1bf2f4388b0d882e6de33e1ae2c5b67
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Wed May 24 17:05:33 2017 -0400

    removed empty stats printing that was executed from main thread

9 years agoMerge pull request #916 in SNORT/snort3 from conf_updates to master
Russ Combs (rucombs) [Tue, 6 Jun 2017 15:47:56 +0000 (11:47 -0400)] 
Merge pull request #916 in SNORT/snort3 from conf_updates to master

Squashed commit of the following:

commit 647890ba3c1031f60fafa55ef606a8645466582d
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 4 09:22:51 2017 -0400

    conf: refactor for clarity

commit a75b80cb43914841fd8821d4f3e4e3dad295d195
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 4 08:49:56 2017 -0400

    conf: use updated external defaults, change internal defaults to enable file_id type and signature

commit 2ec586b505cf8f3e0f9999ecf5b4279c6f10935b
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Jun 4 08:47:34 2017 -0400

    conf: update defaults - remove old http cruft, add smtp defaults

9 years agoMerge pull request #917 in SNORT/snort3 from RangeCheck_valid to master
Russ Combs (rucombs) [Tue, 6 Jun 2017 15:47:26 +0000 (11:47 -0400)] 
Merge pull request #917 in SNORT/snort3 from RangeCheck_valid to master

Squashed commit of the following:

commit ed402874266886db364e582e062dd4f28813a949
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Thu Jun 1 15:47:29 2017 -0400

    add validate check for range

9 years agoMerge pull request #902 in SNORT/snort3 from perfcpu_tid to master
Russ Combs (rucombs) [Mon, 5 Jun 2017 17:16:38 +0000 (13:16 -0400)] 
Merge pull request #902 in SNORT/snort3 from perfcpu_tid to master

Squashed commit of the following:

commit e9326366e304780392f0eda521a4cb8db09b1e3a
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Wed May 17 13:54:40 2017 -0400

    update cpu tracker output to thread_*.cpu_{user,system,wall}

9 years agoMerge pull request #912 in SNORT/snort3 from rangecheck_fragoffset to master
Russ Combs (rucombs) [Fri, 2 Jun 2017 19:02:12 +0000 (15:02 -0400)] 
Merge pull request #912 in SNORT/snort3 from rangecheck_fragoffset to master

Squashed commit of the following:

commit 34618dc2536f65c8995e90a57f49d07a6dcb285c
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Fri May 26 09:36:02 2017 -0400

    add range validation for RangeCheck class and ips fragoffset

9 years agoMerge pull request #914 in SNORT/snort3 from svc_policy to master
Russ Combs (rucombs) [Fri, 2 Jun 2017 18:15:44 +0000 (14:15 -0400)] 
Merge pull request #914 in SNORT/snort3 from svc_policy to master

Squashed commit of the following:

commit ca9642e07630e88ab09398957d58b7164de0915f
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 31 20:21:44 2017 -0400

    binder: remove problematic and ineffective unit test

commit 0a2d909c24cfd03746dbaa0e13126e27f9f67903
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 31 14:44:01 2017 -0400

    splitters: add unit tests for generic splitters

commit 56168c90bf6c793a9626e0bcab1de7574e322574
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 31 10:28:36 2017 -0400

    splitter: cleanup

commit 9fb13f4841eeb0d37ac55deb793527ac57d42196
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 31 06:36:30 2017 -0400

    stream: use fixed direction flush methods

commit f9cb1f804475e61ee5da5175412b649783264b18
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 28 15:26:28 2017 -0400

    detection: avoid superfluous leaf nodes in detection option trees

commit 8853ceb93b290c4b615b7f00115a0a1d6cd19e4c
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 28 15:17:59 2017 -0400

    ssl: use stop-and-wait splitter

commit 9558b366ad285b20299facd038b261f8a8264265
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 28 15:16:39 2017 -0400

    stream: add stop-and-wait splitter

9 years agoMerge pull request #907 in SNORT/snort3 from frag_big_lg_fix to master
Russ Combs (rucombs) [Thu, 1 Jun 2017 22:22:38 +0000 (18:22 -0400)] 
Merge pull request #907 in SNORT/snort3 from frag_big_lg_fix to master

Squashed commit of the following:

commit f4af8be641026012e8a5b87a6efcbc0ebe9bab94
Author: Shashikant Lad <shaslad@cisco.com>
Date:   Wed May 31 13:25:24 2017 -0400

    stream_ip: fix 123:7 - DEFRAG_ANOMALY_BADSIZE_LG

9 years agoMerge pull request #915 in SNORT/snort3 from 235 to master
Russ Combs (rucombs) [Thu, 1 Jun 2017 15:53:27 +0000 (11:53 -0400)] 
Merge pull request #915 in SNORT/snort3 from 235 to master

Squashed commit of the following:

commit 06413e60f3793355aef02b2b7d554ad490ed84f8
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 1 08:20:48 2017 -0400

    build 235

commit 0be57289cdd413b04ced388cc5df6d59e85f1577
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 1 08:11:09 2017 -0400

    doc: update default manuals

commit 347c63bbf14a60513bf706e7cd75043166625ec3
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 1 06:50:26 2017 -0400

    stream_ip: remove dead code and tweak formatting

commit e4f18ba59d3b33c516b74b8929a0916678f12e2f
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Jun 1 06:44:52 2017 -0400

    search_engine: set range for max_queue_events parameter

9 years agodoc: update differences
Russ Combs [Thu, 1 Jun 2017 11:39:36 +0000 (07:39 -0400)] 
doc: update differences

9 years agodoc: update README
Russ Combs [Thu, 1 Jun 2017 11:39:25 +0000 (07:39 -0400)] 
doc: update README

9 years agoMerge pull request #910 in SNORT/snort3 from nhttp70 to master
Tom Peters (thopeter) [Tue, 30 May 2017 19:44:10 +0000 (15:44 -0400)] 
Merge pull request #910 in SNORT/snort3 from nhttp70 to master

Squashed commit of the following:

commit 70a6a3f8b31d6fc382411a4805806743d7a1f823
Author: Tom Peters <thopeter@cisco.com>
Date:   Mon May 15 11:43:45 2017 -0400

    NHI improved handling of improper bare \r separator.

9 years agoMerge pull request #908 in SNORT/snort3 from appid_segfault_tns to master
Tom Peters (thopeter) [Fri, 26 May 2017 18:35:03 +0000 (14:35 -0400)] 
Merge pull request #908 in SNORT/snort3 from appid_segfault_tns to master

Squashed commit of the following:

commit 53c5fb9fd908fb697fee8111caf25a02949b1792
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Mon May 22 14:33:59 2017 -0400

    fix bug where TNS detector corrupted the flow data object

9 years agoMerge pull request #909 in SNORT/snort3 from arp_spoof_assert to master
Tom Peters (thopeter) [Fri, 26 May 2017 15:41:00 +0000 (11:41 -0400)] 
Merge pull request #909 in SNORT/snort3 from arp_spoof_assert to master

Squashed commit of the following:

commit 0eb7bdb71fb583dfbb555090dcdefe274469e423
Author: mdagon <mdagon@cisco.com>
Date:   Thu May 25 16:09:09 2017 -0400

    Comment

commit 51b55863d608eec4c00dc4fe4af48470b49d539f
Author: mdagon <mdagon@cisco.com>
Date:   Wed May 24 16:22:40 2017 -0400

    Code review

commit 54766baa91c8f0d6b5f3285d705907cabff752d7
Author: mdagon <mdagon@cisco.com>
Date:   Tue May 23 12:46:30 2017 -0400

    Arp spoof with non-ethernet packet - return instead of assert

9 years agoMerge pull request #906 in SNORT/snort3 from daq_reload to master
Michael Altizer (mialtize) [Tue, 23 May 2017 19:22:48 +0000 (15:22 -0400)] 
Merge pull request #906 in SNORT/snort3 from daq_reload to master

Squashed commit of the following:

commit 19f347e73b9ab4f23a7017809f4c51150954a106
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date:   Mon May 22 12:08:07 2017 -0400

    control_mgmt: add support for daq module reload

9 years agoMerge pull request #905 in SNORT/snort3 from ipproto_option_test to master
Tom Peters (thopeter) [Tue, 23 May 2017 13:20:21 +0000 (09:20 -0400)] 
Merge pull request #905 in SNORT/snort3 from ipproto_option_test to master

Squashed commit of the following:

commit 94419df41bc540065a5a2dc12b1f75d5753ca74a
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Fri May 19 14:29:28 2017 -0400

    removed unreachable code

9 years agoMerge pull request #883 in SNORT/snort3 from unix_sockets to master
Michael Altizer (mialtize) [Tue, 23 May 2017 05:42:49 +0000 (01:42 -0400)] 
Merge pull request #883 in SNORT/snort3 from unix_sockets to master

Squashed commit of the following:

commit da703340e86893e77d3fd3f4e10db53480b1c904
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date:   Sun May 7 23:35:16 2017 -0400

    control_mgmt: add support for unix sockets

9 years agobuild 234
Russ Combs [Sun, 21 May 2017 23:58:45 +0000 (19:58 -0400)] 
build 234

9 years agoMerge pull request #903 in SNORT/snort3 from warnings to master
Michael Altizer (mialtize) [Sat, 20 May 2017 08:49:10 +0000 (04:49 -0400)] 
Merge pull request #903 in SNORT/snort3 from warnings to master

Squashed commit of the following:

commit d6ab2c977657660c93ce8d5eefcad02a5f68a154
Author: Michael Altizer <mialtize@cisco.com>
Date:   Fri May 19 15:06:13 2017 -0400

    Clean up compiler warnings from OpenSolaris build

commit 7b6423c6cb27f2ba0273b2466fec81ef04d9ccf9
Author: Michael Altizer <mialtize@cisco.com>
Date:   Fri May 19 14:26:59 2017 -0400

    util: Add include to fix OpenSolaris build

commit 707bf028fa4d4352de28aad95db6dab4f5aef6b9
Author: Michael Altizer <mialtize@cisco.com>
Date:   Fri May 19 13:02:03 2017 -0400

    control_mgmt: Add include to fix FreeBSD build

commit c55b63cded037201f9d35c1e467d6470fad94c22
Author: Michael Altizer <mialtize@cisco.com>
Date:   Fri May 19 12:20:53 2017 -0400

    log_text: Fix typo in obfuscation code

commit f164446c526442c1f67e83ce9c763edeb110a3f0
Author: Michael Altizer <mialtize@cisco.com>
Date:   Fri May 19 12:20:19 2017 -0400

    ips_context: Remove extraneous semicolon in header

9 years agoMerge pull request #898 in SNORT/snort3 from pgm_fix to master
Tom Peters (thopeter) [Fri, 19 May 2017 21:01:21 +0000 (17:01 -0400)] 
Merge pull request #898 in SNORT/snort3 from pgm_fix to master

Squashed commit of the following:

commit 26b32a49ecd43111abb5723fb1cf117be2ee4beb
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Tue May 16 12:36:08 2017 -0400

    Added an additional check for divisibility of the length of the PGM header by 4. If it's not, then an error is returned instead of calculating the checksum.

9 years agoMerge pull request #887 in SNORT/snort3 from perf_max to master
Russ Combs (rucombs) [Thu, 18 May 2017 16:58:39 +0000 (12:58 -0400)] 
Merge pull request #887 in SNORT/snort3 from perf_max to master

Squashed commit of the following:

commit 33095d2153dc1b0bc96d2c14d722f4ba1ae3b2a2
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Wed May 10 11:09:52 2017 -0400

    removed fixit that would have broken perfmon

9 years agoMerge pull request #901 in SNORT/snort3 from appid_sip_event_handler_revert_tests...
Russ Combs (rucombs) [Thu, 18 May 2017 16:55:52 +0000 (12:55 -0400)] 
Merge pull request #901 in SNORT/snort3 from appid_sip_event_handler_revert_tests to master

Squashed commit of the following:

commit df3099f5ccd7c2090a7ab8b616bcc0afe9ea558f
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Thu May 18 09:51:36 2017 -0400

    during reload a new sip event handler is created before the old one is deleted so this class is not really a singleton.  we cache a pointer to the current active handler in a class member variable and provide a method 'get_active' to get this value.  a create function is provided to create the instance, this should only be called once when appid is configured.  DataBus is responsible for deleting the sip event handler when it is deleted.

9 years agoMerge pull request #900 in SNORT/snort3 from run_num to master
Russ Combs (rucombs) [Thu, 18 May 2017 15:09:37 +0000 (11:09 -0400)] 
Merge pull request #900 in SNORT/snort3 from run_num to master

Squashed commit of the following:

commit f7d26ed4b669d9b6a5de364c5eb8b043b066b514
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu May 18 08:07:18 2017 -0400

    detection: ensure each analysis is unique

9 years agoMerge pull request #895 in SNORT/snort3 from doc_byte_options to master
Tom Peters (thopeter) [Wed, 17 May 2017 23:09:08 +0000 (19:09 -0400)] 
Merge pull request #895 in SNORT/snort3 from doc_byte_options to master

Squashed commit of the following:

commit 2c20c7fab1553450759a11c31a42e144ef465744
Author: mdagon <mdagon@cisco.com>
Date:   Thu May 11 11:56:29 2017 -0400

    Snort manual update for byte rule options

9 years agoMerge pull request #899 in SNORT/snort3 from appid_sip_event_handler to master
Russ Combs (rucombs) [Wed, 17 May 2017 22:09:12 +0000 (18:09 -0400)] 
Merge pull request #899 in SNORT/snort3 from appid_sip_event_handler to master

Squashed commit of the following:

commit e0c2723bd9c1e6c9b0c9b2830df5aaa57b615a5b
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Wed May 17 08:50:53 2017 -0400

    refactor appid to instantiate a single instance of the SIP event handler with THREAD_LOCAL variables to hold the pointer to the client/service SIP detectors instantiated in each packet thread.  Subscription to the SIP events moved to the appid inspector configure function that is called from the main thread

9 years agoMerge pull request #896 in SNORT/snort3 from appidz to master
Russ Combs (rucombs) [Wed, 17 May 2017 18:13:44 +0000 (14:13 -0400)] 
Merge pull request #896 in SNORT/snort3 from appidz to master

Squashed commit of the following:

commit f74a4934f522d20201f3e9607352205171979874
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 17 12:20:47 2017 -0400

    detection: rename method for clarity

commit c9c1f77634e1d7926e103135a56476e2ea7a8323
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 17 11:52:48 2017 -0400

    detection: ensure reassembly is in next context

commit 3cc411a86df37df167e1246d20c438bee0216d99
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue May 16 21:43:59 2017 -0400

    search tool: refactor to remove dependencies

commit 7b38d3db78bf7a1f11ad65627dd724fdf0962674
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue May 16 16:32:34 2017 -0400

    search tool: refactor unit test

commit b4ae4ce14603a5e730145e4231fccee78eb03af6
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue May 16 12:49:47 2017 -0400

    search tool: use configured or default method

commit fd996bdb1f947cb9ed3ac547e5ed2227ccdfef89
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue May 16 12:23:25 2017 -0400

    search tool: refactor ctor

commit fc758793dbc64bb3db8a72362a32c10b9f18a682
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue May 16 12:24:32 2017 -0400

    appid: master key must be thread local

commit 7d4db6cfc221d5ac0b98916b88839c3e77e3d359
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue May 16 12:22:39 2017 -0400

    appid: use actual referer length for search

9 years agoMerge pull request #894 in SNORT/snort3 from poc_work to master
Michael Altizer (mialtize) [Tue, 16 May 2017 18:05:41 +0000 (14:05 -0400)] 
Merge pull request #894 in SNORT/snort3 from poc_work to master

Squashed commit of the following:

commit 8fc6c009d224fbbc9aef5528b181bd193bcc7772
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon May 8 16:35:02 2017 -0400

    tools: Clean up per-target includes and libraries

commit 8054717b7735294bc685210548b4779f38ee4547
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon May 8 16:34:18 2017 -0400

    cmake: Fix erroneous space when checking for netdb.h

commit dcf1750fd041b0a0b16dc7f62b6497fcffa3c8d3
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon May 8 16:33:21 2017 -0400

    cmake: Check if libsfbpf is needed to link against libpcap

    Some implementations of libpcap have a dependency on libsfbpf and CMake
    has issues resolving library dependencies; help it along.

9 years agoMerge pull request #893 in SNORT/snort3 from stress to master
Russ Combs (rucombs) [Mon, 15 May 2017 22:45:41 +0000 (18:45 -0400)] 
Merge pull request #893 in SNORT/snort3 from stress to master

Squashed commit of the following:

commit 8304132dee77ea1bb38108c379edb1ac2eb5a5f0
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon May 15 09:45:05 2017 -0400

    detection: rename for clarity

commit 1c7b5068c56ad1765403e02db92e871b48539137
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon May 15 09:35:58 2017 -0400

    detection: refactor per packet init

commit 872fb6368fb3b8c107a460c8d3b6ba618cebce70
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon May 15 09:35:21 2017 -0400

    rules: update for prior parsing fix

9 years agoMerge pull request #889 in SNORT/snort3 from hex_fmt to master
Russ Combs (rucombs) [Mon, 15 May 2017 19:53:48 +0000 (15:53 -0400)] 
Merge pull request #889 in SNORT/snort3 from hex_fmt to master

Squashed commit of the following:

commit 6eecedd09bf5aff5bec136878f90a8b3155731f7
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri May 12 18:47:53 2017 -0400

    cleanup: fix misc formatting

commit 9db0cff83f841855d75670728c16c2b163af55c0
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri May 12 18:28:56 2017 -0400

    cleanup: remove tedious and redundant option/flag comments

commit 4cc0ac76c7e965cd9f2f5dfe398efd2731536836
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri May 12 18:20:45 2017 -0400

    alert_fast: lookup buffer ids when constructed

commit b48b39cf0bf4da3e1842c2f988508ba1b0160dd0
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri May 12 14:10:36 2017 -0400

    expanded cmg logging for http buffers

commit 0785439d2dad33b718083db66911a3e628567a62
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat May 6 17:17:52 2017 -0400

    cleanup: remove cruft

commit 669669fa43883c872536d1a472d43bc1d6298229
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat May 6 16:43:03 2017 -0400

    log: print inspector::buffer[size]: on separate line

commit a0768e3c6fea1f76823c6814b0946f11b4376ef5
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri May 5 14:28:19 2017 -0400

    make wide hex dump configurable

commit 9f0224dfd98ea6550cd4d5744c39ec6f0bb99a35
Author: Russ Combs <rucombs@cisco.com>
Date:   Wed May 3 14:53:09 2017 -0400

    revamp hex buffer dump format used by -A cmg
    -- add extra space at halfway points (both hex and ascii)

9 years agoMerge pull request #892 in SNORT/snort3 from protoz to master
Russ Combs (rucombs) [Mon, 15 May 2017 10:10:30 +0000 (06:10 -0400)] 
Merge pull request #892 in SNORT/snort3 from protoz to master

Squashed commit of the following:

commit 96605cba373f8d655f0c4430a8ae0e574654d901
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 14 21:22:09 2017 -0400

    parsing: reject positional params with spaces

9 years agoMerge pull request #891 in SNORT/snort3 from fragz to master
Russ Combs (rucombs) [Mon, 15 May 2017 01:23:24 +0000 (21:23 -0400)] 
Merge pull request #891 in SNORT/snort3 from fragz to master

Squashed commit of the following:

commit 48cc258b8328981c0cfb4a6e2e8168ca8aa9310a
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 14 11:41:12 2017 -0400

    spell: fix comment typos

commit 9b4b0772643d08fa3df4efba1472cc027426f4a2
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 14 11:35:41 2017 -0400

    detection: use context number as unambiguous detection discriminator (vs packet number)

commit b7e6830bf05d3333dc5f0ae6935227973c9802fe
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun May 14 10:55:40 2017 -0400

    detection: ensure each context gets unique id

commit f4d7d3e73fcaf9b9c19a6e0b09e840156ca6969e
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat May 13 20:07:14 2017 -0400

    stream_ip: allow detection on frag that completes datagram

commit b456143132e84cf194ed80f8f3ac462a34cb4214
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat May 13 20:00:18 2017 -0400

    stream_ip: fix nodes_created count

9 years agoregex offload:
Russ Combs [Sun, 16 Oct 2016 12:43:18 +0000 (08:43 -0400)] 
regex offload:
-- establish IpsContext, ContextSwitcher, DetectionEngine, and RegexOffload classes
-- refactor thread locals to use detection contexts

9 years agoMerge pull request #890 in SNORT/snort3 from byte_math_warning to master
Russ Combs (rucombs) [Fri, 12 May 2017 21:40:28 +0000 (17:40 -0400)] 
Merge pull request #890 in SNORT/snort3 from byte_math_warning to master

Squashed commit of the following:

commit e2d32cc7979394a0e9b2c0b76ddd92e205490f9c
Author: mdagon <mdagon@cisco.com>
Date:   Fri May 12 17:08:52 2017 -0400

    Fix for byte_math warning

9 years agoMerge pull request #885 in SNORT/snort3 from byte_math to master
Tom Peters (thopeter) [Fri, 12 May 2017 18:21:01 +0000 (14:21 -0400)] 
Merge pull request #885 in SNORT/snort3 from byte_math to master

Squashed commit of the following:

commit b892c596ee961f9b69e660b9d09962fccc1e19e6
Author: mdagon <mdagon@cisco.com>
Date:   Mon Apr 24 14:17:16 2017 -0400

    byte_math

9 years agoMerge pull request #888 in SNORT/snort3 from appid_http_pattern_mem_management to...
Tom Peters (thopeter) [Thu, 11 May 2017 18:44:06 +0000 (14:44 -0400)] 
Merge pull request #888 in SNORT/snort3 from appid_http_pattern_mem_management to master

Squashed commit of the following:

commit 7c41c22e2c501050a87a151c433c75ba6dc7fe93
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Tue May 9 08:27:33 2017 -0400

    refactor http pattern list data structures to use std containers and eliminate possible null pointer dereference

9 years agobuild 233 3.0.0-233 BUILD_233
Russ Combs [Thu, 11 May 2017 14:29:07 +0000 (10:29 -0400)] 
build 233

9 years agoMerge pull request #886 in SNORT/snort3 from fix_cppchk_warn to master
Tom Peters (thopeter) [Wed, 10 May 2017 20:43:37 +0000 (16:43 -0400)] 
Merge pull request #886 in SNORT/snort3 from fix_cppchk_warn to master

Squashed commit of the following:

commit 6e9017eea058b8ba3aca41abc64c6a5d5eeaeed8
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Mon May 8 16:39:17 2017 -0400

    updated code to resolve cppcheck warnings

9 years agoMerge pull request #884 in SNORT/snort3 from stream_syncup_seq_oow to master
Tom Peters (thopeter) [Mon, 8 May 2017 16:31:12 +0000 (12:31 -0400)] 
Merge pull request #884 in SNORT/snort3 from stream_syncup_seq_oow to master

Squashed commit of the following:

commit 7afb572ad351984b7d3e3b94e01128f7abc6e414
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Fri May 5 15:40:55 2017 -0400

    coding style and format fixups, not functional changes

9 years agoMerge pull request #878 in SNORT/snort3 from sfghash_test to master
Russ Combs (rucombs) [Sat, 6 May 2017 16:11:20 +0000 (12:11 -0400)] 
Merge pull request #878 in SNORT/snort3 from sfghash_test to master

Squashed commit of the following:

commit 2c7cac6a39d396190137ea5a5437e1b9ec98b6ab
Author: Steven Baigal <sbaigal@cisco.com>
Date:   Tue May 2 11:56:16 2017 -0400

    Added assert check for nullptr, removed unused code and added unit test cases

9 years agoMerge pull request #881 in SNORT/snort3 from cd_cmd to master
Russ Combs (rucombs) [Fri, 5 May 2017 01:33:31 +0000 (21:33 -0400)] 
Merge pull request #881 in SNORT/snort3 from cd_cmd to master

Squashed commit of the following:

commit e8ec31370c4c9ca5160d0e739753e7c9666b8b8e
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu May 4 18:12:11 2017 -0400

    fix extraction of ether type from cisco metadata

9 years agoMerge pull request #879 in SNORT/snort3 from decode_fixes to master
Russ Combs (rucombs) [Thu, 4 May 2017 15:54:03 +0000 (11:54 -0400)] 
Merge pull request #879 in SNORT/snort3 from decode_fixes to master

Squashed commit of the following:

commit b42b3cbfd507b323b487f5c36e860b9853d98ed1
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu May 4 07:34:27 2017 -0400

    packet manager: ensure ether type proto ids don't masquerade as ip proto ids
    thanks to Bhargava Shastry <bshastry@sec.t-labs.tu-berlin.de> for reporting the issue

commit 1427a9e4d5838c4a3426587ff0f5393500e478d9
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu May 4 07:28:54 2017 -0400

    codec manager: fix off-by-1 mapping array size
    thanks to Bhargava Shastry <bshastry@sec.t-labs.tu-berlin.de> for reporting the issue

9 years agoMerge pull request #880 in SNORT/snort3 from appid_check_failure_patch to master
Russ Combs (rucombs) [Thu, 4 May 2017 13:39:33 +0000 (09:39 -0400)] 
Merge pull request #880 in SNORT/snort3 from appid_check_failure_patch to master

Squashed commit of the following:

commit 7afaec39eaa458acab547b35b83280667be435e4
Author: davis mcpherson <davis.mcpherson@gmail.com>
Date:   Tue May 2 12:37:57 2017 -0400

    add new appid unit tests to the cmake build, fix missing lib reference to sfip

9 years agoMerge pull request #869 in SNORT/snort3 from Bug200227 to master
Russ Combs (rucombs) [Thu, 4 May 2017 11:23:29 +0000 (07:23 -0400)] 
Merge pull request #869 in SNORT/snort3 from Bug200227 to master

Squashed commit of the following:

commit cde33c31d9e3a397bdd2cd922e21bd7c89cc80a5
Author: allewi <allewi@cisco.com>
Date:   Tue May 2 21:59:43 2017 -0400

    fix is for improper handling of protocol ID within the LLC header

9 years agoMerge pull request #877 in SNORT/snort3 from spell to master
Russ Combs (rucombs) [Mon, 1 May 2017 20:18:10 +0000 (16:18 -0400)] 
Merge pull request #877 in SNORT/snort3 from spell to master

Squashed commit of the following:

commit c07087e3943f18b3d2ac32b7267e91fa23b73f00
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon May 1 11:50:42 2017 -0400

    spell check user manual text files

commit d0a970845da721f3cf35219186f5e4d706796887
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon May 1 08:47:48 2017 -0400

    go with endianness

commit 269c1c0b93b84b18a46c92da3a277ba3f47251bc
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Apr 29 12:44:49 2017 -0400

    fix typos in comments

commit ff18dc38fded36310c99ebbdad8a1be0e195f112
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Apr 29 10:36:04 2017 -0400

    fix typos in strings

commit 5f8d717c58f3e1c89e031f0d42b6023246272fd2
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Apr 29 10:35:35 2017 -0400

    disable spell check on hex foo

9 years agoMerge pull request #875 in SNORT/snort3 from nobom to master
Tom Peters (thopeter) [Mon, 1 May 2017 18:46:29 +0000 (14:46 -0400)] 
Merge pull request #875 in SNORT/snort3 from nobom to master

Squashed commit of the following:

commit 229f248785e79f9ba8ea8798a3a3116ade43106b
Author: Tom Peters <thopeter@cisco.com>
Date:   Mon Apr 24 10:36:10 2017 -0400

    Ported enhancement to do UTF decoding when no Byte Order Mark is present from 2.9 OHI to NHI.

    Removed some unneeded safety checks from the real-time code.

    Fixed a bug where false 119/38 (UTF decoding failure) alert was generated for an empty message body section.

9 years agoMerge pull request #876 in SNORT/snort3 from warnings to master
Russ Combs (rucombs) [Mon, 1 May 2017 16:41:39 +0000 (12:41 -0400)] 
Merge pull request #876 in SNORT/snort3 from warnings to master

Squashed commit of the following:

commit 26670f34b12aba46c2416950ad3ec26f04f0f33c
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon May 1 11:39:57 2017 -0400

    main: Fix compiler warnings when SHELL is not enabled

9 years agoMerge pull request #873 in SNORT/snort3 from Bug201617 to master
Tom Peters (thopeter) [Mon, 1 May 2017 14:50:16 +0000 (10:50 -0400)] 
Merge pull request #873 in SNORT/snort3 from Bug201617 to master

Squashed commit of the following:

commit 501c5def6b7be582d9fe4d18bcd991a89f361e80
Author: allewi <allewi@cisco.com>
Date:   Fri Apr 28 09:55:11 2017 -0400

    adding changes from 2.x to correct false positives on modbus with a bad length

9 years agoMerge pull request #874 in SNORT/snort3 from fbs_braces to master
Michael Altizer (mialtize) [Fri, 28 Apr 2017 18:42:51 +0000 (14:42 -0400)] 
Merge pull request #874 in SNORT/snort3 from fbs_braces to master

Squashed commit of the following:

commit 4fb31387868440e20db02518b150b536190488ba
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Fri Apr 28 13:03:20 2017 -0400

    fixed missing braces in perf fbs

9 years agoupdate ChangeLog format
Russ Combs [Fri, 28 Apr 2017 18:04:31 +0000 (14:04 -0400)] 
update ChangeLog format

9 years agobuild 232
Russ Combs [Fri, 28 Apr 2017 18:00:26 +0000 (14:00 -0400)] 
build 232

9 years agoMerge pull request #872 in SNORT/snort3 from build_fixes to master
Michael Altizer (mialtize) [Thu, 27 Apr 2017 23:31:10 +0000 (19:31 -0400)] 
Merge pull request #872 in SNORT/snort3 from build_fixes to master

Squashed commit of the following:

commit f95c65a839c1124bb5b30caac6588be9ffcd966a
Author: Michael Altizer <mialtize@cisco.com>
Date:   Thu Apr 27 14:53:30 2017 -0400

    cmake: Fix building with and without flatbuffers present

commit 40638db52e6fc55397cf585024b405ebc4f1f3de
Author: Michael Altizer <mialtize@cisco.com>
Date:   Thu Apr 27 14:52:51 2017 -0400

    autoconf: Check for lua.hpp as well as luajit.h to ensure C++ support

commit 5605896f56cb8e15e710e49275d68d61742402c3
Author: Michael Altizer <mialtize@cisco.com>
Date:   Thu Apr 27 14:52:22 2017 -0400

    snort2lua: Add missing final newlines to source files

9 years agoMerge pull request #863 in SNORT/snort3 from Bug195759 to master
Russ Combs (rucombs) [Thu, 27 Apr 2017 23:26:39 +0000 (19:26 -0400)] 
Merge pull request #863 in SNORT/snort3 from Bug195759 to master

Squashed commit of the following:

commit 18cf2a9ecad0306ef1ba2553b9acc89bc6adf085
Author: allewi <allewi@cisco.com>
Date:   Thu Apr 27 18:12:27 2017 -0400

    fix is for correct checking of dnp3 reserved addresses

9 years agoMerge pull request #867 in SNORT/snort3 from appid_syncup_291042_final to master
Tom Peters (thopeter) [Thu, 27 Apr 2017 17:26:08 +0000 (13:26 -0400)] 
Merge pull request #867 in SNORT/snort3 from appid_syncup_291042_final to master

Squashed commit of the following:

commit c577f7ef36e3088d5605dc3ab7cc17f5e3b15da9
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Thu Apr 6 15:08:23 2017 -0400

    miscellaneous cleanups and fixit fixes

    implement helper functions to return client/service detected status

    for the pop3 & imap detectors the index returned for the matched pattern is +1 the actual index value (0 means no match), the index was not being decremented before use in certain cases and this patch fixes those

    implement unit test to verify the appid api functions

    implement service detector to use for reg test scenarios

    dead code cleanup

    refactor to improve testability and eliminate service_util.h, add unit tests for app_info_table

    delete dead code, generic config functionality no longer required as detectors can now save this state in the class instance

    add unit tests for AppIdDetector class

    refactor appid_session to rename struct HttpSession to class AppIdHttpSession and move it and associated functions to a separate file appid_http_session.[h|cc]

    refactor unit test code to improve reuse of mocking and common initialization functions

    streamline processing of version strings

    add appid api unit test to verify consumption of HA state info generated by the produce HA state api method

    fix memory leak in changes to version handling code when version string was not saved to session status object

    fix memory leaks in appid unit tests

    document utility functions per review comments and uncrustify

    update copyright notices to conform with cisco standard

    for imap & pop3 custom pattern matching use (pattern array size + 1) to indicate no match instead of 0.  this eliminates need for 'cooked index' that must be decremented on return from find_all function of pattern matcher.

    fix pop3, imap, and kerberos detectors such that the client & server side detectors both use the client appid detector id to store and lookup the common data structures shared by each.

9 years agoMerge pull request #866 in SNORT/snort3 from block_controls to master
Michael Altizer (mialtize) [Thu, 27 Apr 2017 15:29:46 +0000 (11:29 -0400)] 
Merge pull request #866 in SNORT/snort3 from block_controls to master

Squashed commit of the following:

commit 2bbff4362a118c37342dac3c7a0b9376c581ea99
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date:   Thu Apr 20 00:36:42 2017 -0400

    control channel changes: Make shell control commands blocking

9 years agoMerge pull request #868 in SNORT/snort3 from snort2lua2 to master
Hui Cao (huica) [Tue, 25 Apr 2017 19:54:21 +0000 (15:54 -0400)] 
Merge pull request #868 in SNORT/snort3 from snort2lua2 to master

Squashed commit of the following:

commit c075733b31c92b1d48296dac8ed7ec16da32ee62
Author: Steve Chew <stechew@cisco.com>
Date:   Mon Apr 24 13:25:19 2017 -0400

    Ports and protocols should be saved to separate bindings.

9 years agoMerge pull request #865 in SNORT/snort3 from byte_jump_bitmask to master
Tom Peters (thopeter) [Mon, 24 Apr 2017 21:11:18 +0000 (17:11 -0400)] 
Merge pull request #865 in SNORT/snort3 from byte_jump_bitmask to master

Squashed commit of the following:

commit a837719a5ac101a433c8745c4bbe7fe01e31377a
Author: mdagon <mdagon@cisco.com>
Date:   Wed Apr 19 11:06:18 2017 -0400

    Byte_jump 2.9.9 sync-up
    1. bitmask option support
    2. from_end option
    3. error message for bytes to extract usage

9 years agoMerge pull request #856 in SNORT/snort3 from multiple_remotes to master
Michael Altizer (mialtize) [Fri, 21 Apr 2017 18:34:55 +0000 (14:34 -0400)] 
Merge pull request #856 in SNORT/snort3 from multiple_remotes to master

Squashed commit of the following:

commit 59aea04b2d7f4d4642df12d35b21e456a94a4916
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date:   Wed Apr 12 10:28:09 2017 -0400

    allow multiple remote control channels

9 years agoMerge pull request #848 in SNORT/snort3 from Bug185681 to master
Tom Peters (thopeter) [Thu, 20 Apr 2017 18:14:49 +0000 (14:14 -0400)] 
Merge pull request #848 in SNORT/snort3 from Bug185681 to master

Squashed commit of the following:

commit 83b98e57f3c45df9ec66fdc57b1fcb407f203766
Author: allewi <allewi@cisco.com>
Date:   Wed Apr 12 09:53:36 2017 -0400

    fix is for snort2lua hanging on bad include statements and to always print rej file on error.

    removing trailing space and the blank line

    removed another space

9 years agoMerge pull request #864 in SNORT/snort3 from cmake_flatbuffers to master
Michael Altizer (mialtize) [Thu, 20 Apr 2017 15:00:22 +0000 (11:00 -0400)] 
Merge pull request #864 in SNORT/snort3 from cmake_flatbuffers to master

Squashed commit of the following:

commit 0ad67430c6bf48f940b79ea91cc0f7e4a93b4cba
Author: Michael Altizer <mialtize@cisco.com>
Date:   Wed Apr 19 16:35:33 2017 -0400

    utils: Add FlatBuffers version string to banner when used

commit 3d08dd60f7dcff7ff406e828c61a97a2349b5fab
Author: Michael Altizer <mialtize@cisco.com>
Date:   Wed Apr 19 16:35:02 2017 -0400

    cmake: Fix detecting and using flatbuffers library

9 years agoMerge pull request #861 in SNORT/snort3 from byte_extract_bitmask to master
Russ Combs (rucombs) [Tue, 18 Apr 2017 23:51:29 +0000 (19:51 -0400)] 
Merge pull request #861 in SNORT/snort3 from byte_extract_bitmask to master

Squashed commit of the following:

commit b50dc06730c0f013afdab2fcc07ef63cf2321926
Author: mdagon <mdagon@cisco.com>
Date:   Mon Apr 17 14:29:40 2017 -0400

    Byte_extract bitmask option

    Error for byte_extract w/o variable name

9 years agoMerge pull request #854 in SNORT/snort3 from Bug51812 to master
Russ Combs (rucombs) [Tue, 18 Apr 2017 21:59:45 +0000 (17:59 -0400)] 
Merge pull request #854 in SNORT/snort3 from Bug51812 to master

Squashed commit of the following:

commit 83007534003c61344eac25407b13443ab4bc2c30
Author: allewi <allewi@cisco.com>
Date:   Fri Apr 14 19:10:30 2017 -0400

    changes made for detecting naptha attack and generate a codec event

9 years agoMerge pull request #862 in SNORT/snort3 from nohi to master
Russ Combs (rucombs) [Tue, 18 Apr 2017 20:14:36 +0000 (16:14 -0400)] 
Merge pull request #862 in SNORT/snort3 from nohi to master

Squashed commit of the following:

commit 8e07fee28e1719108957c7f679ad24f4b99c17a2
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue Apr 18 07:38:37 2017 -0400

    snort2lua: remove obsolete --ohi option

commit 00bafd91773e137fd347a720b8e935ea40d320fe
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Apr 17 17:22:07 2017 -0400

    fix broken seglist byte counting full, split overlaps

commit 9d391eb6cf5dd9b876c2bf4019e9cbb056917032
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Apr 17 17:21:33 2017 -0400

    alert_fast: add key buffer (eg start line with HTTP body)

commit 7e593f0e0c216af3796fa2656cc4f2fa7447731e
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Apr 17 17:18:59 2017 -0400

    fix buffer dumps comment: use given length instead of packet length

commit 7be78bccf99ffd6f070fba6a4c15f50d132f9461
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Apr 17 09:29:55 2017 -0400

    remove http_server (use new http_inspect instead)

9 years agoMerge pull request #860 in SNORT/snort3 from icc to master
Michael Altizer (mialtize) [Tue, 18 Apr 2017 17:06:57 +0000 (13:06 -0400)] 
Merge pull request #860 in SNORT/snort3 from icc to master

Squashed commit of the following:

commit ca572eec71be76e79be4384f46444a5bbe6c3d52
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon Apr 17 17:59:51 2017 -0400

    build: Clean up Intel compiler warnings and remarks

9 years agoMerge pull request #859 in SNORT/snort3 from x-fixes to master
Michael Altizer (mialtize) [Mon, 17 Apr 2017 21:01:49 +0000 (17:01 -0400)] 
Merge pull request #859 in SNORT/snort3 from x-fixes to master

Squashed commit of the following:

commit 267d90d9291c9d18dfda472511acaeaf7c977b4b
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon Apr 17 12:34:20 2017 -0400

    gitignore: Add fbstreamer binary

commit aff4153fde73ea38a454d118ef9fa53e86edbe0a
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon Apr 17 12:33:30 2017 -0400

    fbstreamer: Fix compiler warnings

commit 2ec27c7973532cfbbbb992e69e0b37c9f8441b2b
Author: Michael Altizer <mialtize@cisco.com>
Date:   Mon Apr 17 10:47:40 2017 -0400

    extra: Remove unused config.h inclusions entirely

commit 02967ec532fc2bd9faac28b7bbf2a175f719e19e
Author: Michael Altizer <mialtize@cisco.com>
Date:   Wed Jan 4 17:37:05 2017 -0500

    autoconf: Add macros to extras for C++11 and Visibility support (and use them)

commit 4a2768796608dd9d9cfb9edec9b5962876afcfc5
Author: Michael Altizer <mialtize@cisco.com>
Date:   Wed Jan 4 17:37:41 2017 -0500

    autoconf: Split out visibility checks into their own macro file

commit f171fe0b67b2eb6e813bf8d2613b1c766ad49744
Author: Michael Altizer <mialtize@cisco.com>
Date:   Wed Jan 4 17:30:28 2017 -0500

    loggers: Build alert_sf_socket on all platforms

9 years agoMerge pull request #855 in SNORT/snort3 from byte_test_bitmask to master
Russ Combs (rucombs) [Mon, 17 Apr 2017 13:47:57 +0000 (09:47 -0400)] 
Merge pull request #855 in SNORT/snort3 from byte_test_bitmask to master

Squashed commit of the following:

commit 975803b82b3fa9e63d9510f177536b03496ae46f
Author: mdagon <mdagon@cisco.com>
Date:   Tue Apr 11 16:30:35 2017 -0400

    byte_test bitmask option support

9 years agoMerge pull request #858 in SNORT/snort3 from freebsd to master
Russ Combs (rucombs) [Fri, 14 Apr 2017 21:32:54 +0000 (17:32 -0400)] 
Merge pull request #858 in SNORT/snort3 from freebsd to master

Squashed commit of the following:

commit f1e4d6ffe603d131d5cd4a97af3ce5af9e083ec7
Author: Michael Altizer <mialtize@cisco.com>
Date:   Thu Apr 13 14:40:35 2017 -0400

    build: Fix FreeBSD compilation issues

9 years agoMerge pull request #857 in SNORT/snort3 from doc_fbs to master
Russ Combs (rucombs) [Thu, 13 Apr 2017 18:02:22 +0000 (14:02 -0400)] 
Merge pull request #857 in SNORT/snort3 from doc_fbs to master

Squashed commit of the following:

commit 65ddd6d2f2ace0e3a84ec6a4034095cb5bb1e4e0
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Wed Apr 12 12:37:05 2017 -0400

    documented usage of flatbuffers in perfmon and file format produced

9 years agoMerge pull request #851 in SNORT/snort3 from appid_syncup_291042_tp187788 to master
Russ Combs (rucombs) [Sat, 8 Apr 2017 20:03:33 +0000 (16:03 -0400)] 
Merge pull request #851 in SNORT/snort3 from appid_syncup_291042_tp187788 to master

Squashed commit of the following:

commit 2b8c66e17f6549e8727bdf5f60122347acddfac2
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Fri Apr 7 16:52:21 2017 -0400

    updates from code review comments

commit 608d26111022edc916509eb9381b696a324adea3
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Wed Apr 5 11:56:08 2017 -0400

    port 2.9.x changes related to Lua state initialization when loading lua detectors

commit 7de209bce79dfaffcc9af2dfe567168d2a4d3a18
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Wed Apr 5 08:41:06 2017 -0400

    port 2.9.x changes to the stmp detector to snort3, this adds support for detecting login user and auth

commit 8809cb2160c2b3f2ced3fbb6080539bb88ddf034
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Mon Mar 27 15:05:21 2017 -0400

    refactor failed service detection handling to make functions that handle failure member functions of the ServiceDiscoveryState class

    refactor to port 2.9 changes to the process for selecting service detectors for a flow and managing the service discovery process

9 years agoMerge pull request #853 in SNORT/snort3 from 231 to master
Russ Combs (rucombs) [Fri, 7 Apr 2017 16:51:47 +0000 (12:51 -0400)] 
Merge pull request #853 in SNORT/snort3 from 231 to master

Squashed commit of the following:

commit 93bb8d94638affbb7ad005a2465246f8e3c32c1f
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Apr 7 07:25:49 2017 -0400

    build 231

commit 4ff230055c0032375e1969dc2c2db5e58bf2c121
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Apr 7 06:21:58 2017 -0400

    remove cruft: unused treenode utilities

commit fb17334ebdd381c13614f070b8554238c263d32d
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Apr 7 06:21:34 2017 -0400

    remove cruft: unused signature utilities

9 years agoMerge pull request #850 in SNORT/snort3 from appid_syncup_291042_tp187691 to master
Tom Peters (thopeter) [Wed, 5 Apr 2017 14:45:54 +0000 (10:45 -0400)] 
Merge pull request #850 in SNORT/snort3 from appid_syncup_291042_tp187691 to master

Squashed commit of the following:

commit f60f7d82a30affc5738d653d14fb8aace5141188
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Tue Apr 4 16:05:30 2017 -0400

    updates based on PR code review comments

commit b62183ee7da3b454d5720e5a0fe320cc8dad60f9
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Mon Mar 27 15:05:21 2017 -0400

    refactor failed service detection handling to make functions that handle failure member functions of the ServiceDiscoveryState class

    refactor to port 2.9 changes to the process for selecting service detectors for a flow and managing the service discovery process

9 years agoMerge pull request #849 in SNORT/snort3 from Bug66844 to master
Tom Peters (thopeter) [Tue, 4 Apr 2017 19:25:44 +0000 (15:25 -0400)] 
Merge pull request #849 in SNORT/snort3 from Bug66844 to master

Squashed commit of the following:

commit e92aca867900d9001f10871e5c0e8469f748bc60
Author: allewi <allewi@cisco.com>
Date:   Thu Mar 30 16:37:01 2017 -0400

    removed unused payload_type variable

commit 434f377d7225a6063641e51d1ff979b57f8fbf39
Author: allewi <allewi@cisco.com>
Date:   Thu Mar 30 12:30:09 2017 -0400

    added decoder check for label 0 or 2 set in non bottom of stack header

commit 3ce099cc788a5ce2a1b7f775c26fe99eaaf598a9
Author: allewi <allewi@cisco.com>
Date:   Mon Mar 27 06:04:37 2017 -0400

    added ip proto 137 to mpls decoder

9 years agoMerge pull request #847 in SNORT/snort3 from 230 to master
Russ Combs (rucombs) [Mon, 27 Mar 2017 16:53:54 +0000 (12:53 -0400)] 
Merge pull request #847 in SNORT/snort3 from 230 to master

Squashed commit of the following:

commit 1a9ccf0123184d2e531a4950c2142d533d517c96
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Mar 27 12:00:18 2017 -0400

    build 230

commit 95ab2af6205f0fd40b41a16139bd2ab06db7d200
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Mar 27 12:00:09 2017 -0400

    fix os x build issue

9 years agoMerge pull request #846 in SNORT/snort3 from nhttp68 to master
Tom Peters (thopeter) [Mon, 27 Mar 2017 15:23:44 +0000 (11:23 -0400)] 
Merge pull request #846 in SNORT/snort3 from nhttp68 to master

Squashed commit of the following:

commit 5285027596f1c21bb700a05933ff9cf7639568f7
Author: Tom Peters <thopeter@cisco.com>
Date:   Wed Mar 22 16:46:50 2017 -0400

    New feature for test tool used to investigate chunk reassembly problem

9 years agoMerge pull request #841 in SNORT/snort3 from jviiret-hs_valid_platform to master
Russ Combs (rucombs) [Fri, 24 Mar 2017 23:27:34 +0000 (19:27 -0400)] 
Merge pull request #841 in SNORT/snort3 from jviiret-hs_valid_platform to master

Squashed commit of the following:

commit 884ae7e5c67ccc845e290b9e9e4002c783dea5b0
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Mar 23 09:36:00 2017 -0400

    doc updates for optional build features

commit 545015764289686c030d4f8220e0bf35275b5d5d
Author: Justin Viiret <justin.viiret@intel.com>
Date:   Fri Mar 3 10:56:18 2017 +1100

    Check Hyperscan availability when configured

    This checks whether the host have the architectural features required by
    Hyperscan when it is configured with the hs_valid_platform() function.

    On failure, components that use HS (ips_regex, ips_sd_pattern, hyperscan
    MPSE) will produce parse errors.

commit 48cfdcf9f14332c0d9b26022c6a20535ae8ed7f1
Author: Justin Viiret <justin.viiret@intel.com>
Date:   Mon Mar 6 09:40:42 2017 +1100

    autotools: require Hyperscan >= 4.4.0

    This version is required for the hs_valid_platform() function.

commit ea2f8816ca8c016977a6cdf88c39dc01461d5399
Author: Justin Viiret <justin.viiret@intel.com>
Date:   Fri Mar 3 10:03:58 2017 +1100

    cmake: require Hyperscan >= 4.4.0

    This version is required for the hs_valid_platform() function.

9 years agoMerge pull request #845 in SNORT/snort3 from appid_uninitialized_protocol_fix to...
Tom Peters (thopeter) [Fri, 24 Mar 2017 21:08:15 +0000 (17:08 -0400)] 
Merge pull request #845 in SNORT/snort3 from appid_uninitialized_protocol_fix to master

Squashed commit of the following:

commit 5015272dcdba3db74196f847541013abdae2d494
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Fri Mar 24 10:44:03 2017 -0400

    ensure the protocol variable passed in when instantiating a lua detector is initialized.

9 years agoMerge pull request #844 in SNORT/snort3 from sip_no_sip to master
Russ Combs (rucombs) [Fri, 24 Mar 2017 13:50:50 +0000 (09:50 -0400)] 
Merge pull request #844 in SNORT/snort3 from sip_no_sip to master

Squashed commit of the following:

commit bc8513ded1adef0249a405866f6f2338aace091e
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Mar 23 15:44:54 2017 -0400

    fix sip_method to error out if sip not instantiated

9 years agoMerge pull request #842 in SNORT/snort3 from 2017 to master
Russ Combs (rucombs) [Fri, 24 Mar 2017 00:25:10 +0000 (20:25 -0400)] 
Merge pull request #842 in SNORT/snort3 from 2017 to master

Squashed commit of the following:

commit ebc21669d5c36ed3dbe36469b6061ed37a2e91b7
Author: Russ Combs <rucombs@cisco.com>
Date:   Thu Mar 23 12:26:38 2017 -0400

    update copyrights

9 years agoMerge pull request #843 in SNORT/snort3 from appid_classy_issues to master
Russ Combs (rucombs) [Fri, 24 Mar 2017 00:25:00 +0000 (20:25 -0400)] 
Merge pull request #843 in SNORT/snort3 from appid_classy_issues to master

Squashed commit of the following:

commit 5ab36b4aab69f3386d5d353b1cebe7c31702cde8
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Thu Mar 23 15:03:37 2017 -0400

    fix crunch and grind issues introduced by appid_classy_detectors refactoring

9 years agoMerge pull request #830 in SNORT/snort3 from appid_classy_detectors to master
Tom Peters (thopeter) [Thu, 23 Mar 2017 00:13:58 +0000 (20:13 -0400)] 
Merge pull request #830 in SNORT/snort3 from appid_classy_detectors to master

Squashed commit of the following:

commit 1b244982ce39da13950c8de16e04f30c85522c1f
Author: davis mcpherson <davmcphe.cisco.com>
Date:   Mon Nov 7 09:20:56 2016 -0500

    rename class Detector to class LuaDetector

    use std::map to hold list of client detectors

    implement ServiceDetector subclass

    refactor detector_pattern.cc to subclass the ClientDetector class

    harmonize args to client & service detectors so signature to validate function is the same

    cleanup dead code, continue refactoring service/client discovery manager and detector classes

    move tcp/udp pattern registration functions to appid discovery manager base class

    delete unused free_pattern_data list

    service state class refactoring

    refactor service mdns to use ServiceDetector class

    refactor kerberos and imap detectors to subclass ClientDetector & ServiceDetector

    refactor imap, pattern, and pop3 detectors to use AppIdDetector class

    delete deprecated files, refactor service_bgp to subclass ServiceDetector class

    refactor bit & bootp service detectors to subclass ServiceDetector

    refactor bgp, dcerpc, direct_connect, flap, ftp, rexec, rfb rpc, rshell, snmp, ssh, ssl, tftp, timbuktu, and tns to subclass ServiceDiscovery

    refactor irc, lpr, mysql to subclass ServiceDiscovery

    refactor netbios service detection to subclass ServiceDiscovery

    refactor nntp, ntp, rlogin service detection to subclass ServiceDiscovery

    refactor radius, rpc, rsync, rtmp, ssh, telnet service detection to subclass ServiceDiscovery

    remove files no longer used due to ServiceDetector refactoring

    refactor client detector class names to include 'Client' in the name

    remove more of the old style validate functions

    add new files for appid_discovery base class

    move third party discovery functionality from appid session file to its own file

    move discovery specific functions from AppIdSession class to AppIdDiscovery or the client and service discovery subclasses

    add missing support for log_all_session config option

    manually merge changes from find_all fixes in commit 369726c01caf6ca4833e1b31fc2243684cd46593

    set size parameter for pattern search strings

    refactor client candiate list to use std::map instead of SF_LIST

    refactor appid statistics code to implement as a class, all stats THREAD_LOCAL vars changed to class member variables, appid inspector creates and manages THREAD_LOCAL instance of the appid statistics manager class

    refactor Lua detector classes to cleanly derive from AppIdDetector class and its subclasses

    refactor 'if' statement checks in lua api methods for session state & params validity to be asserts as these types of errors are programming mistakes

    move types defined in http_common.h to more appropriate header files, delete http_common.h

    updates to address comments and issued raised from PR review comments

9 years agoMerge pull request #840 in SNORT/snort3 from bugz to master
Russ Combs (rucombs) [Wed, 22 Mar 2017 19:30:57 +0000 (15:30 -0400)] 
Merge pull request #840 in SNORT/snort3 from bugz to master

Squashed commit of the following:

commit 234130156c9f535477f4d5e1217010b4b91cf5f3
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue Mar 21 22:55:29 2017 -0400

    fix search tool test compiler warnings for unused params

commit c306114eaf2bd91018446aa963cee9a3ffed4b3c
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue Mar 21 13:33:43 2017 -0400

    fix dce debug print of uuid to be thread safe

commit 1f20b9396cd4ec560bf8d6c530633a0872f15917
Author: Russ Combs <rucombs@cisco.com>
Date:   Tue Mar 21 12:34:40 2017 -0400

    do not try to compile an empty hyperscan db
    thanks to justin.viiret@intel.com for reporting the issue

9 years agoMerge pull request #839 in SNORT/snort3 from regex_fix to master
Russ Combs (rucombs) [Mon, 20 Mar 2017 22:44:52 +0000 (18:44 -0400)] 
Merge pull request #839 in SNORT/snort3 from regex_fix to master

Squashed commit of the following:

commit aedce1c1fe8f053e06f56772737562670435d705
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Mar 20 17:31:46 2017 -0400

    remove unused field

9 years agoMerge pull request #834 in SNORT/snort3 from flatbuffers to master
Michael Altizer (mialtize) [Mon, 20 Mar 2017 20:26:10 +0000 (16:26 -0400)] 
Merge pull request #834 in SNORT/snort3 from flatbuffers to master

Squashed commit of the following:

commit e5ded2b1d2b6c5605341512d148f71f679e46be9
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Mon Mar 20 13:29:49 2017 -0400

    fixed build warnings

commit 44ce3ac80687438e75542ea1df4487f6fc79a5ba
Author: Carter Waxman <cwaxman@cisco.com>
Date:   Tue Mar 7 15:45:17 2017 -0500

    Added flatbuffers output format to perf monitor. Added tool for converting flatbuffers files to yaml.

9 years agoMerge pull request #838 in SNORT/snort3 from regex_fp to master
Russ Combs (rucombs) [Mon, 20 Mar 2017 18:17:57 +0000 (14:17 -0400)] 
Merge pull request #838 in SNORT/snort3 from regex_fp to master

Squashed commit of the following:

commit b9c93c2c008fb44f0d8b93536b76199076fcb95d
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Mar 20 13:29:50 2017 -0400

    fix earlier cpp check errors

commit ccc974b6d5955b3fdc4c3fb4b843f3b1acee1ee5
Author: Russ Combs <rucombs@cisco.com>
Date:   Mon Mar 20 12:35:10 2017 -0400

    refactor regex only flags from PatternMatchData to RegexConfig

commit 9ffed2e78d7e35168142f9a37e6544e0853b75ef
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 17 19:33:52 2017 -0400

    refactor pattern match data; regex can be fp only if explicitly indicated

9 years agoMerge pull request #837 in SNORT/snort3 from tweaks to master
Russ Combs (rucombs) [Fri, 17 Mar 2017 18:52:04 +0000 (14:52 -0400)] 
Merge pull request #837 in SNORT/snort3 from tweaks to master

Squashed commit of the following:

commit 54efd96f69efda1110d6fcb899bcf15b5fb0aa08
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 17 13:49:14 2017 -0400

    detection cleanup:  tighten variable scope and fix formatting of port tables

commit f3e7ab710767f3f07136b59b421c0d5863c2e5c8
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Mar 12 09:34:39 2017 -0400

    detection cleanup: fix up sig info naming

commit d55f2dd626252e83d18a471ec781048905ff2658
Author: Russ Combs <rucombs@cisco.com>
Date:   Sun Mar 12 09:03:43 2017 -0400

    detection cleanup: free rule state asap

commit 1627006374abcb1ca4cbe2247ee5bbda47381754
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Mar 11 11:38:03 2017 -0500

    detection cleanup: free PortObject lists asap

commit 14633db03d7f5d5bbf00b940e170a207ac12b946
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Mar 11 11:08:03 2017 -0500

    detection cleanup: free port table hash asap

commit 1337e7918739210033e1dc4c5cc6d7afc4616c44
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Mar 11 09:32:53 2017 -0500

    detection cleanup: add finalize method to PortObject2 to free compile time only data asap

commit a6c6d020e0b41ad9735c370dfa6f9d49df22bd28
Author: Russ Combs <rucombs@cisco.com>
Date:   Sat Mar 11 06:46:02 2017 -0500

    detection cleanup: free service rule map asap

commit ab3d114e01155a81a469aedc51d9d9dffe8cf505
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 18:19:39 2017 -0500

    detection cleanup: refactor PortObject and PortObject2 to use PortGroup* instead of void*

commit de73f4c9b0134d127a480bdb491a29728dae39a7
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 16:33:16 2017 -0500

    detection cleanup: add type checking to otn->detection_filter and friends

commit 17c01a8e2c3b40f1a69cc7004f2470c21af609d7
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 16:05:56 2017 -0500

    detection cleanup: remove unused PortTable.pt_merged_rule_list

commit 46a257e2a8648a4b5309b48e90a0a179159b1c0a
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 16:01:36 2017 -0500

    detection cleanup: remove unused PortObjectItem.cur_port, tmp

commit abd99111ddbea2830e4f631246f3e6e1afe14a73
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 15:44:22 2017 -0500

    detection cleanup: removed unused PortTable.pt_plx_list

commit a281d4d32a261df8eed0fd955623f98039baffba
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 15:32:20 2017 -0500

    detection cleanup: remove unused PortTable.pt_port_lists[] and associated print func

commit fa7a351ddbda453290aa053f17851554f1d6712a
Author: Russ Combs <rucombs@cisco.com>
Date:   Fri Mar 10 11:04:01 2017 -0500

    reformat and refactor detection related code
    enhance option tree dump
    remove unused pointer from otn
    remove useless otn integrity check

9 years agobuild 229
Russ Combs [Fri, 17 Mar 2017 16:04:13 +0000 (12:04 -0400)] 
build 229

9 years agoMerge pull request #835 in SNORT/snort3 from mpse_changes to master
Michael Altizer (mialtize) [Thu, 16 Mar 2017 17:37:11 +0000 (13:37 -0400)] 
Merge pull request #835 in SNORT/snort3 from mpse_changes to master

Squashed commit of the following:

commit 001e3f1feb1b246b4564dccbb36d86c108dc7651
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date:   Mon Mar 13 16:10:28 2017 -0400

    mpse changes to fix off by 1 issue in ac_full, hyperscan fixes, search tool changes to use fast patten config's search method

9 years agoMerge pull request #833 in SNORT/snort3 from snort2lua_empty_preproc to master
Michael Altizer (mialtize) [Tue, 14 Mar 2017 19:18:29 +0000 (15:18 -0400)] 
Merge pull request #833 in SNORT/snort3 from snort2lua_empty_preproc to master

Squashed commit of the following:

commit 11f36b6625c25d1c3dcc1999a36294d4ea024100
Author: Bhagya Tholpady <bbantwal@cisco.com>
Date:   Mon Mar 13 12:18:03 2017 -0400

    snort2lua parsing updates

9 years agoMerge pull request #831 in SNORT/snort3 from nhttp67 to master
Tom Peters (thopeter) [Thu, 9 Mar 2017 20:10:19 +0000 (15:10 -0500)] 
Merge pull request #831 in SNORT/snort3 from nhttp67 to master

Squashed commit of the following:

commit 0c807e8b8861cea40c9b14dbb785b018cffb46f6
Author: Tom Peters <thopeter@cisco.com>
Date:   Wed Mar 8 14:14:34 2017 -0500

    Alert for HTTP wrapping. CR and LF in header name parsed as whitespace.