Tim Wojtulewicz
7dc803f7bb
Rework the packet flow through the IP-based analyzers
2021-05-18 11:52:04 -07:00
Tim Wojtulewicz
c21af39a30
Add new UDP packet analyzer, remove old one
2021-05-18 11:52:04 -07:00
Tim Wojtulewicz
d8adfaef65
Add new ICMP packet analyzer, remove old one
2021-05-18 11:52:03 -07:00
Tim Wojtulewicz
c1f0d312b5
Add base class for IP-based packet analyzers
2021-05-18 11:52:03 -07:00
Tim Wojtulewicz
3e1692676d
Move SessionManager::ParseIPPacket to IP analyzer's namespace
2021-05-18 11:52:03 -07:00
Tim Wojtulewicz
0c3e3069d0
Added skeletons for TCP/UDP/ICMP packet analysis plugins.
...
This includes integration into the IP plugin and calling of the sessions code from each plugin.
2021-05-18 11:52:03 -07:00
Jon Siwek
82fb5722a1
Merge remote-tracking branch 'origin/topic/jsiwek/gh-1244-print-small-floating-point'
...
* origin/topic/jsiwek/gh-1244-print-small-floating-point:
Omit unneeded decimal points in modp_dtoa2() scientific notation output
GH-1244: Change modp_dtoa2() to use scientific notation for small values
2021-05-18 11:47:56 -07:00
Jon Siwek
8996dfbfef
Omit unneeded decimal points in modp_dtoa2() scientific notation output
...
For example, "1e-13" is now used instead of "1.e-13".
2021-05-17 17:56:19 -07:00
Jon Siwek
48ee0f31a1
GH-1244: Change modp_dtoa2() to use scientific notation for small values
...
This fixes problems where printing floating point numbers less than
10^-6 output as "0.0". Such numbers now use using scientific notation
and preserve the value's actual floating point representation.
2021-05-17 17:44:23 -07:00
Tim Wojtulewicz
f66b4f5340
Merge remote-tracking branch 'origin/topic/timw/dict-iterator-construction'
...
* origin/topic/timw/dict-iterator-construction:
GH-1546: Make DictIterator() public, add copy/move operators
2021-05-17 11:58:17 -07:00
Tim Wojtulewicz
6ab317f7bd
GH-1546: Make DictIterator() public, add copy/move operators
2021-05-17 11:57:17 -07:00
Jon Siwek
31f73f6e92
Merge remote-tracking branch 'origin/topic/jsiwek/gh-1555-gh-1558-config-enum-fixes'
...
* origin/topic/jsiwek/gh-1555-gh-1558-config-enum-fixes:
GH-1558: Fix reading `vector of enum` types from config files
GH-1555: Fix reading empty set[enum] values from config files
2021-05-17 11:35:20 -07:00
Johanna Amann
1d25def759
Merge branch 'master' of https://github.com/kramse/zeek
...
* 'master' of https://github.com/kramse/zeek :
Added note about default configuration
More precise description of the example
Removed tcpdump file, as it may not even work.
Just a few ideas for improving the manual page
2021-05-17 13:14:50 +01:00
Jon Siwek
45b2d3b4f2
GH-1558: Fix reading vector of enum
types from config files
2021-05-14 16:59:51 -07:00
Jon Siwek
e35888a994
GH-1555: Fix reading empty set[enum] values from config files
2021-05-14 16:32:19 -07:00
Jon Siwek
09ff24199b
Update submodule(s) [nomail] [skip ci]
2021-05-14 11:11:04 -07:00
Henrik Kramselund Jereminsen
49d99f6a03
Added note about default configuration
2021-05-14 16:40:27 +02:00
Henrik Kramselund Jereminsen
60eb12f575
More precise description of the example
2021-05-14 16:37:40 +02:00
Henrik Kramselund Jereminsen
a999d34f7b
Removed tcpdump file, as it may not even work.
2021-05-14 16:36:30 +02:00
Henrik Kramselund Jereminsen
8e8f2d0b12
Just a few ideas for improving the manual page
2021-05-13 16:03:46 +02:00
Jon Siwek
03b58a9a60
Update submodule(s) [nomail] [skip ci]
2021-05-11 14:37:07 -07:00
Tim Wojtulewicz
67e8a05fc1
Merge remote-tracking branch 'origin/topic/timw/zeek-string-tests'
...
* origin/topic/timw/zeek-string-tests:
Add unit tests to ZeekString.cc
2021-05-11 09:26:57 -07:00
Tim Wojtulewicz
13f80ed5dd
Add unit tests to ZeekString.cc
2021-05-11 09:26:16 -07:00
zeek-bot
8741388be6
Update doc submodule [nomail] [skip ci]
2021-05-11 00:38:27 +00:00
Jon Siwek
37b7c65310
Merge remote-tracking branch 'origin/topic/vern/cpp'
...
* origin/topic/vern/cpp: (34 commits)
fixed cut-and-paste botch (redundant line of code)
Fix LGTM warnings in script_opt/CPP code
bug fixes for stand-alone compiles with empty records
remove -O force-C++, and also some inadvertently replicated code
better initial workflow, thanks to Jon Siwek
remove optimization no longer needed
removed redundant Traverse invocation
style nit: removed std:: where not needed due to "using" clause
Fix various compiler/linter warnings in script_opt/CPP code
first cut at embedding filenames in C++ function names - for Justin to test
fixes for personal build scripts - will go away once workflow is streamlined
whoops removed a std:: from generated code
decluttered code by removing "std::" - no semantic changes (also some whitespace fixes)
porting fixes from Justin
documenting poor run-time error messages
README documentation
minor tweaks tidyness tweaks
notes for tests that are problematic when using compile-to-C++
new "-a cpp" btest alternative
hooks for activating the compiler & associated BiF
...
2021-05-10 12:57:56 -07:00
Johanna Amann
f76a95a2c2
Merge remote-tracking branch 'origin/topic/christian/install-btest-tooling'
...
* origin/topic/christian/install-btest-tooling:
Explain zeek-config options in help output
Sort variables at top of zeek-config alphabetically
Install Zeek's btest tooling with the distribution
2021-05-10 10:26:59 +01:00
Vern Paxson
e697f351ad
fixed cut-and-paste botch (redundant line of code)
2021-05-09 14:42:03 -07:00
Jon Siwek
d092b9f758
Update submodule(s) [nomail] [skip ci]
2021-05-07 13:08:43 -07:00
Jon Siwek
570c94e191
Update submodule(s) [nomail] [skip ci]
2021-05-07 11:52:37 -07:00
Jon Siwek
1b825c51de
Fix LGTM warnings in script_opt/CPP code
...
i.e. shadowed variables and "missing return values" (scare quotes)
2021-05-06 12:06:57 -07:00
Vern Paxson
ac257e4a86
bug fixes for stand-alone compiles with empty records
2021-05-05 19:32:30 -07:00
Vern Paxson
2b0f1c9d6e
remove -O force-C++, and also some inadvertently replicated code
2021-05-05 19:11:17 -07:00
Vern Paxson
c116b2b8ad
better initial workflow, thanks to Jon Siwek
2021-05-05 18:52:06 -07:00
Vern Paxson
4a1d5adcf4
remove optimization no longer needed
2021-05-05 17:08:18 -07:00
Vern Paxson
93e9801f89
removed redundant Traverse invocation
2021-05-05 16:55:05 -07:00
Vern Paxson
94ac72cd84
style nit: removed std:: where not needed due to "using" clause
2021-05-05 16:55:05 -07:00
Jon Siwek
3e85375010
Fix various compiler/linter warnings in script_opt/CPP code
2021-05-05 16:55:05 -07:00
Vern Paxson
e200016200
first cut at embedding filenames in C++ function names - for Justin to test
2021-05-05 16:55:05 -07:00
Vern Paxson
b5b87d0b15
fixes for personal build scripts - will go away once workflow is streamlined
2021-05-05 16:55:05 -07:00
Vern Paxson
2fdb8a1cc8
whoops removed a std:: from generated code
2021-05-05 16:55:05 -07:00
Vern Paxson
72413f315c
decluttered code by removing "std::" - no semantic changes
...
(also some whitespace fixes)
2021-05-05 16:55:05 -07:00
Vern Paxson
bbe5ab39f6
porting fixes from Justin
2021-05-05 16:55:04 -07:00
Vern Paxson
22d060d461
documenting poor run-time error messages
2021-05-05 16:55:04 -07:00
Vern Paxson
605d636d94
README documentation
2021-05-05 16:55:04 -07:00
Vern Paxson
f6c841c737
minor tweaks tidyness tweaks
2021-05-05 16:55:04 -07:00
Vern Paxson
f9c1f57f9c
notes for tests that are problematic when using compile-to-C++
2021-05-05 16:55:04 -07:00
Vern Paxson
db7f88e661
new "-a cpp" btest alternative
2021-05-05 16:55:04 -07:00
Vern Paxson
24e92fa54a
hooks for activating the compiler & associated BiF
2021-05-05 16:55:04 -07:00
Vern Paxson
863be9436b
the bulk of the compiler
2021-05-05 16:55:04 -07:00
Vern Paxson
158e82a2c1
expand profiling to include values to which globals are assigned
2021-05-05 16:55:04 -07:00