Jon Siwek
218c24f55b
Update submodule(s) [nomail] [skip ci]
2020-11-03 16:22:48 -08:00
Jon Siwek
47725c35b7
Update submodule(s) [nomail]
2020-11-02 14:54:36 -08:00
Tim Wojtulewicz
3e16b5fde3
Add missing include to fix build on certain platforms
2020-11-02 22:01:20 +00:00
Tim Wojtulewicz
1f02bd5147
Use std::function instead of a function pointer in packet_analysis::Component
2020-11-02 13:05:05 -07:00
Tim Wojtulewicz
43f7b3beab
Merge remote-tracking branch 'origin/topic/timw/1215-analyzer-registration'
...
* origin/topic/timw/1215-analyzer-registration:
GH-1215: Remove dispatch_map from packet analysis, replace with BIF methods for registering dispatches
2020-11-02 12:04:05 -07:00
Tim Wojtulewicz
cd06bf34c7
GH-1215: Remove dispatch_map from packet analysis, replace with BIF methods for registering dispatches
2020-11-02 19:03:25 +00:00
Jon Siwek
95fd2382bc
Merge remote-tracking branch 'origin/topic/timw/1256-strerror'
...
* origin/topic/timw/1256-strerror:
GH-1256: Write out strerror when writing errno during safe_write
2020-11-02 09:51:27 -08:00
Tim Wojtulewicz
72ccaee4d5
GH-1256: Write out strerror when writing errno during safe_write
2020-10-30 15:45:32 -07:00
zeek-bot
43821a8957
Update doc submodule [nomail] [skip ci]
2020-10-28 00:40:40 +00:00
Duffy O'Craven
b32eba579d
updated to mention notice_alarm.log by name. That has taken the place of the file formerly named alarm.log
2020-10-27 13:56:30 -07:00
zeek-bot
8fb1d4118b
Update doc submodule [nomail] [skip ci]
2020-10-27 00:35:52 +00:00
Tim Wojtulewicz
008cdef712
Merge remote-tracking branch 'origin/topic/jsiwek/better-zeekygen-redef-info'
...
* origin/topic/jsiwek/better-zeekygen-redef-info:
Improve how Zeekygen generated record/enum redefinition docs
2020-10-26 11:04:17 -07:00
Tim Wojtulewicz
75caf60990
Merge remote-tracking branch 'origin/topic/jsiwek/gh-1245-tld-validity'
...
* origin/topic/jsiwek/gh-1245-tld-validity:
GH-1245: require TLD of hostname literals to start with a letter
2020-10-26 10:42:15 -07:00
Tim Wojtulewicz
5ee06d8535
Merge remote-tracking branch 'origin/topic/timw/1116-coveralls'
...
* origin/topic/timw/1116-coveralls:
Add coveralls badge to README.md
Remove the entire auxil directory from the results
Prevent non-master builds, add cirrus information to upload
Add support for sending data to coveralls with lcov_html.sh via Cirrus
2020-10-23 14:48:15 -07:00
Jon Siwek
fb85a19fa8
GH-1245: require TLD of hostname literals to start with a letter
2020-10-23 14:17:10 -07:00
Tim Wojtulewicz
b248a56a2d
Add coveralls badge to README.md
2020-10-23 19:58:02 +00:00
Tim Wojtulewicz
56c1eea5d3
Remove the entire auxil directory from the results
2020-10-23 19:44:51 +00:00
Jon Siwek
06191390c3
Merge remote-tracking branch 'origin/topic/jsiwek/gh-251-revert-absolute-value-coercion'
...
* origin/topic/jsiwek/gh-251-revert-absolute-value-coercion:
GH-251 (revert): remove coercion-to-signed-integer for |x| expressions
2020-10-23 12:26:07 -07:00
Jon Siwek
73c1af838c
GH-251 (revert): remove coercion-to-signed-integer for |x| expressions
...
For `|x|`, where `x` is an expression with an integral result, an
implicit coercion of that result into signed `int` type no longer takes
place.
This was actually the behavior before Zeek 3.0 as well, but the attempt
to prevent mistakes that easily result from integer literals in Zeek
being unsigned like `|5 - 9|` causing an overflow/wraparound and
yielding a very large number is not generally consistent since overflows
are still generally able to happen in other ways and also in other
contexts besides just absolute-values. So the preference was to revert
to a behavior that favors consistency. For reference, see
https://github.com/zeek/zeek/pull/251#issuecomment-713956976
2020-10-22 17:41:53 -07:00
zeek-bot
eec55a2143
Update doc submodule [nomail] [skip ci]
2020-10-23 00:37:11 +00:00
Seth Hall
22ef67888c
Merge branch 'topic/seth/more-ignore-checksum-options'
...
* topic/seth/more-ignore-checksum-options:
Fixing how I define const on the Contains method.
Screwed up a change.
Changes in response to Johanna's code review.
Fixed a bug with ICMP checksum validation
Fixing a test
Accidentally missed a change.
Add an option to ignore packets sourced from particular subnets.
2020-10-22 16:01:34 -04:00
Seth Hall
64fde758c1
Fixing how I define const on the Contains method.
...
One day I'll actually learn c++!
2020-10-22 13:30:30 -04:00
Seth Hall
61ede5db2f
Screwed up a change.
2020-10-22 13:30:30 -04:00
Seth Hall
56e234a762
Changes in response to Johanna's code review.
2020-10-22 13:30:30 -04:00
Seth Hall
2f05318a08
Fixed a bug with ICMP checksum validation
2020-10-22 13:30:30 -04:00
Seth Hall
fe94249ad3
Fixing a test
2020-10-22 13:30:30 -04:00
Seth Hall
69bbcfedb3
Accidentally missed a change.
2020-10-22 13:23:10 -04:00
Seth Hall
552a24e07c
Add an option to ignore packets sourced from particular subnets.
...
It's implemented with a new set[subnet] option named ignore_checksums_nets.
If you populate this set with subnets, any packet with a src address within
that set of subnets will not have it's checksum validated.
2020-10-22 13:23:10 -04:00
Tim Wojtulewicz
2c9c55b058
Prevent non-master builds, add cirrus information to upload
2020-10-22 00:56:20 +00:00
Jon Siwek
e4df60c51d
Update submodule(s) [nomail]
2020-10-21 15:38:39 -07:00
Tim Wojtulewicz
e2053551cd
Add support for sending data to coveralls with lcov_html.sh via Cirrus
2020-10-21 21:55:30 +00:00
Tim Wojtulewicz
e70f578621
Merge remote-tracking branch 'origin/topic/timw/coverity'
...
* origin/topic/timw/coverity:
Fix a couple of Coverity findings (1433618, 1433619)
2020-10-21 11:06:39 -07:00
Tim Wojtulewicz
ce2b00fe83
Fix a couple of Coverity findings (1433618, 1433619)
2020-10-21 10:53:34 -07:00
Robin Sommer
fc427035a4
Bump BTest to 0.64.
...
Previous version had a problem with canonification.
2020-10-20 14:03:00 +00:00
Robin Sommer
df48b7ea57
Update BTest to 0.63.
...
New baselines will now be store canonified.
Also setting new MinVersion option in btest.cfg.
2020-10-20 09:01:11 +00:00
Jon Siwek
924a24ad2b
Merge remote-tracking branch 'origin/topic/timw/packet-length-checks' into master
...
* origin/topic/timw/packet-length-checks:
Add length checks for IP header values before parsing TCP/UDP
2020-10-19 18:58:19 -07:00
Jon Siwek
487d67ac50
Improve how Zeekygen generated record/enum redefinition docs
...
It now provides a summary of the new fields/enums added by any given
redefinition along with associated commentary.
2020-10-19 18:33:22 -07:00
Tim Wojtulewicz
e7f62de51b
Add length checks for IP header values before parsing TCP/UDP
2020-10-19 12:30:55 -07:00
Jon Siwek
66eaf9c7cc
Merge remote-tracking branch 'origin/topic/jsiwek/pop3-fuzzer-deprecation-warning' into master
...
* origin/topic/jsiwek/pop3-fuzzer-deprecation-warning:
Fix deprecation warning in POP3 fuzzer
2020-10-19 11:54:40 -07:00
Jon Siwek
68c13013a5
Merge remote-tracking branch 'origin/topic/timw/gre-header-length-check' into master
...
* origin/topic/timw/gre-header-length-check:
Add header length check to GRE packet analyzer
2020-10-19 11:54:07 -07:00
Tim Wojtulewicz
a19b018dc8
Add header length check to GRE packet analyzer
2020-10-19 10:58:10 -07:00
zeek-bot
4d27793f13
Update doc submodule [nomail] [skip ci]
2020-10-17 00:33:24 +00:00
Jon Siwek
0cc1fc3d88
Merge remote-tracking branch 'origin/topic/jsiwek/avoid-memcmp-null-args'
...
* origin/topic/jsiwek/avoid-memcmp-null-args:
Avoid passing null pointers to memcmp in ZeekString comparison methods
2020-10-16 12:42:07 -07:00
Jon Siwek
5e164469f3
Merge remote-tracking branch 'origin/topic/vlad/gh-1225'
...
* origin/topic/vlad/gh-1225:
Extract length as a uint8
Change ICMP ND length to a uint16
2020-10-16 10:37:08 -07:00
Jon Siwek
72b3a4244e
Avoid passing null pointers to memcmp in ZeekString comparison methods
2020-10-16 10:28:11 -07:00
Vlad Grigorescu
11a311dfb9
Extract length as a uint8
2020-10-16 09:03:48 -05:00
Johanna Amann
65125121d8
Merge branch 'topic/johanna/GH-169'
...
* topic/johanna/GH-169:
Make event ordering deterministic
dump-events: try to make baseline work on all systems
Introduce generate_all_events bif and add option to misc/dump-events
Fixes GH-169
2020-10-16 07:11:57 +00:00
zeek-bot
04b8dc5341
Update doc submodule [nomail] [skip ci]
2020-10-16 00:40:37 +00:00
Jon Siwek
e58104e8d8
Fix deprecation warning in POP3 fuzzer
2020-10-15 16:10:02 -07:00
Jon Siwek
2c7f68308a
Update external test suite commit pointers
2020-10-15 16:06:44 -07:00