Jamie
698e9c0699
fix incorrect offset in decode-ethernet for PPPoE, more debug statements
15 years ago
Victor Julien
4ec31e0445
Fix short IPv4 packets not getting detected in the decoder. Set decode event on short ipv6 packets.
15 years ago
Victor Julien
265038a75a
Fix a memory read error in the BDNM search algorithms. Also (hopefully) fix a 64bit error.
15 years ago
Victor Julien
f6a8454232
Layout fixes.
15 years ago
Jamie
fdbd09db6c
add perfcounter to pppoe
15 years ago
Jamie
afa8a6766e
test cases for PPPoE, ICMPv4
15 years ago
Victor Julien
e31563f61c
Fix nfq compilation.
15 years ago
Victor Julien
720ac9efe8
Improve unittest error message if unittests are not compiled in.
15 years ago
Victor Julien
5501212e62
Fix sizeof printf related compiler warnings.
15 years ago
Brian Rectanus
fa5939ca91
64 bit cleanup part2
15 years ago
Brian Rectanus
9a9b506c34
64 bit cleanup
15 years ago
Victor Julien
2a6aa00cd8
Use double for the avg counter.
15 years ago
Victor Julien
2e4cc2ad3d
Convert tabs to spaces in PPPoE code.
15 years ago
Jamie
8817364ef6
initial PPPoE decoder commit
15 years ago
Victor Julien
3cf7e2e94e
Add two counters: avg_pkt_size and max_pkt_size.
15 years ago
Victor Julien
1c3c13c7eb
Fix missing limits.h include.
15 years ago
Anoop Saldanha
8af9f902e8
additional support for type qualifier for the stats api
15 years ago
Victor Julien
630a58b719
Fix unittests -u commandline option.
15 years ago
William Metcalf
dd86b51dbc
added optional option to specify signature file to load
15 years ago
Victor Julien
73217d60b9
Fix compiler warning in binsearch fix.
15 years ago
Victor Julien
9f78d47c2a
Further work on the stream L7 parser, it's api and the http stub implementation.
15 years ago
Victor Julien
08ae4482a2
Fix 1 byte searching in BinSearch function.
15 years ago
Victor Julien
9b7ee312e3
Small update.
15 years ago
Victor Julien
5a9a23f9bb
Update to the parsers.
15 years ago
Victor Julien
8e10844f95
Initial code of Application Layer parsing framework. Rename of L7* to AppLayer*.
15 years ago
Victor Julien
95f4706549
Merge branch 'victor_local'
15 years ago
Victor Julien
4f358c5a07
Fix list handling in reassembly
15 years ago
William Metcalf
413efe8668
fix regression in detect-parse.c
15 years ago
Jason Ish
fed12be6c0
Add some usage.
15 years ago
Jason Ish
f28ffebf0e
Basic command line support for pcap (file, network), nfq and unit test modes.
...
Just some basic command line support I had in my tree for setting the
run-mode, including unit tests. Seems fine for simple setups, but I
think we'll want to make things setup in the config file. Anyways, I
like to switch from file to real device without a recompile :)
Also want to check with you if the patch is formatted correctly.. I
use git format-patch then used it as a template into mutt, which seems
easier than the git send-email command.
Thanks
-- Jason
15 years ago
Victor Julien
e147b87d5f
Fix small error in thread creation.
15 years ago
Victor Julien
8c0a5269c0
Fix pcap returning out of it's loop every time.
15 years ago
Anoop Saldanha
53c21410b6
improve the threading api for the ids
15 years ago
Anoop Saldanha
d0e70309c0
Implements counters for the decode module
15 years ago
Victor Julien
fb68d1c658
Merge branch 'de'
15 years ago
Victor Julien
63d32f723f
Fix decode event compiler warning.
15 years ago
Victor Julien
b7ad199c97
Fix broken test. Fix content keyword parsing not escaping properly.
15 years ago
William Metcalf
ebd569ca4a
Added unit tests to detect-content.c to show problems with escaped chars ; " \ : in snort rule lang
15 years ago
Victor Julien
b6d55f84ac
Revert default runmode change. Fix running decode event unittests twice.
15 years ago
Breno Silva
c90b4e6fcd
Decode event rule
15 years ago
Victor Julien
54ae12b1f9
Fixes for the stream reassembly. It turned out that using both a prev_seg pointer and a list_seg->prev pointer at the same time was not the best of ideas. So removed the prev_seg ptr. Cleaned up some copy functions too. Added some more debug statements. Made sure the L7 stuff doesn't kick in when running the unittests for reassembly.
15 years ago
Victor Julien
e40495e31d
Fix git merge artifact.
15 years ago
Victor Julien
387472185d
Small reshuffling of the unittests, fix of a buffer overflow, hide some dbg output in the stream reassembly.
15 years ago
Victor Julien
1f995361dd
Switch to pthread_cond_timedwait in streammsg queue.
15 years ago
Victor Julien
b7c42d55f5
Fix setting l7 thread name.
15 years ago
Victor Julien
4dc8ebac0c
Fix locking error causing deadlocks.
15 years ago
Gurvinder Singh
994473cea0
Target Based Stream Reassembly with comments
15 years ago
Victor Julien
25f696106c
valgrind memcheck: fix a b3g mem leak at shutdown.
15 years ago
Victor Julien
c5b2b8c082
valgrind memcheck: fix small pool memory leaks in the unittests.
15 years ago
Victor Julien
dbe2a86ffe
valgrind drd: fix flow mutex reinitialization in the flow subsystem when called by unittests.
15 years ago