Commit graph

15389 commits

Author SHA1 Message Date
Arne Welzel
31aeb58e10 dpd: Replace negated service fmt() magic with dedicated field
...the only known cases where the `-` for `connection$service` was
handled is to skip/ignore these analyzers.

Slight suspicion that join_string_set() should maybe become a bif
now determine_service() runs once for each connection.

Closes #2388
2022-09-20 23:07:26 +02:00
Tim Wojtulewicz
20226f084b Merge remote-tracking branch 'origin/topic/timw/2387-cleanup'
* origin/topic/timw/2387-cleanup:
  Dict: Mark iterator move operator/constructors as noexcept
  Remove unused headers from Dict.cc
  Dict: Reduce some math required in repeatedly-called functions
  Dict: use std::log2, remove custom Log2 method
2022-09-20 13:05:07 -07:00
Tim Wojtulewicz
f2ae1da764 Dict: Mark iterator move operator/constructors as noexcept 2022-09-20 13:04:19 -07:00
Tim Wojtulewicz
02cc4fd1b8 Remove unused headers from Dict.cc 2022-09-20 13:04:04 -07:00
Tim Wojtulewicz
1befb9ba6f Dict: Reduce some math required in repeatedly-called functions 2022-09-20 13:04:04 -07:00
Tim Wojtulewicz
25a280d6a1 Dict: use std::log2, remove custom Log2 method 2022-09-20 13:03:50 -07:00
Tim Wojtulewicz
7e65b285ea Fix some typos in the 5.1.0 NEWS 2022-09-20 13:01:40 -07:00
Tim Wojtulewicz
2b60f63123 Start of 5.2.0 development 2022-09-20 09:23:50 -07:00
Tim Wojtulewicz
b3c2988c90 Update broker submodule 2022-09-20 09:02:50 -07:00
Christian Kreibich
d20ffb100c Merge branch 'topic/amazingpp/2384-record-deprecation' of github.com:/AmazingPP/zeek
* 'topic/amazingpp/2384-record-deprecation' of github.com:/AmazingPP/zeek:
  Replace all the Warning() calls after IsFieldDeprecated() over to Warn()
  Fix deprecation not flagged and incorrect line number in record
2022-09-19 18:15:39 -07:00
Tim Wojtulewicz
a32609a5b2 Updating submodule(s) [nomail] 2022-09-19 18:01:33 -07:00
Tim Wojtulewicz
f02475d01a Update broker submodule 2022-09-19 16:35:42 -07:00
Tim Wojtulewicz
94a315ad97 Update NEWS for 5.1.0 [nomail] [skip ci] 2022-09-19 16:34:56 -07:00
Tim Wojtulewicz
7d3a8edb9c Update docs submodule [nomail] [skip ci] 2022-09-19 15:40:56 -07:00
Tim Wojtulewicz
f04f070d9f Merge remote-tracking branch 'origin/topic/vern/cpp-maint-Sep22'
* origin/topic/vern/cpp-maint-Sep22:
  oof more manual fixups
  undo inadvertently committed tweak to test
  update for btest only run in some environments
  btest tweaks for recent changes
  updates to notes for compile-to-C++ maintenance
  newly-created btest files
  baseline updates for -a cpp alternative (compile-to-C++)
  tweak btest so it's recognized as a candidate for C++ compilation testing
  split basic "int" btests into main part versus now-separate overflow part
  fix deprecated "local" scoping in test scripts
  annotated scripts to skip when testing compilation-to-C++
  C++ script generation fix for lambdas that have identical bodies
  fix for C++ scripts that refer to "opaque" types
  C++ compilation support for 2-valued vector "for" loops
  C++ compilation support for RE /s operator
  run-time checking of vector operations for overflows and division-by-zero
  error propagation fix to avoid a crash
2022-09-19 13:51:41 -07:00
Tim Wojtulewicz
ee4a232c25 Merge remote-tracking branch 'origin/topic/vern/ZAM-maint-Aug22.final'
* origin/topic/vern/ZAM-maint-Aug22.final:
  updates to ZAM btest baselines
  specialized ZAM operators for speeding up cat() operations
  ZAM support for two-valued "for" loops over vectors
  make it non-fatal for optimized scripts to encounter an empty "for" body
  script optimization fix for new-style table constructors
2022-09-19 13:44:23 -07:00
Tim Wojtulewicz
95e758e012 Add better length check to BuildOptionsVal() 2022-09-19 12:41:42 -07:00
Arne Welzel
4c00c3c4ca smb: Unify transaction_data_to_val() usage
the data/string handling in smb1-com-transaction.pcac was improved
with c75519ca88, re-use the added
functionality also for smb1-com-transaction-secondary.pac to avoid
buffer overflows.
2022-09-19 12:41:28 -07:00
Tim Wojtulewicz
56f9110eca Add some additional checks for caplen in ICMP analyzer 2022-09-19 12:41:27 -07:00
Arne Welzel
6b6bd7e9f6 irc: Check parts.size() before removing the nick
...also, don't remove the nick twice.
2022-09-19 12:41:24 -07:00
Tim Wojtulewicz
ef81116278 Check IP payload length before casting to transport structure 2022-09-19 12:38:06 -07:00
Vern Paxson
2dfaa00c61 oof more manual fixups 2022-09-16 18:45:46 -07:00
Vern Paxson
bf0a74264a undo inadvertently committed tweak to test 2022-09-16 18:44:09 -07:00
Vern Paxson
3c0b07d149 update for btest only run in some environments 2022-09-16 18:43:05 -07:00
Vern Paxson
9d24e9f71a btest tweaks for recent changes 2022-09-16 17:04:06 -07:00
Vern Paxson
eec733beae updates to notes for compile-to-C++ maintenance 2022-09-16 16:53:42 -07:00
Vern Paxson
914caf2f88 newly-created btest files 2022-09-16 16:53:31 -07:00
Vern Paxson
d7adf81859 baseline updates for -a cpp alternative (compile-to-C++) 2022-09-16 16:51:45 -07:00
Vern Paxson
b6b4503dd7 tweak btest so it's recognized as a candidate for C++ compilation testing 2022-09-16 16:49:55 -07:00
Vern Paxson
fd5fa528ca split basic "int" btests into main part versus now-separate overflow part 2022-09-16 16:49:22 -07:00
Vern Paxson
510f83c889 fix deprecated "local" scoping in test scripts 2022-09-16 16:48:19 -07:00
Vern Paxson
ce5d840800 annotated scripts to skip when testing compilation-to-C++ 2022-09-16 16:47:43 -07:00
Vern Paxson
dbae112bdc C++ script generation fix for lambdas that have identical bodies 2022-09-16 16:46:35 -07:00
Vern Paxson
7210225bba fix for C++ scripts that refer to "opaque" types 2022-09-16 16:45:37 -07:00
Vern Paxson
a725cfa9e3 C++ compilation support for 2-valued vector "for" loops 2022-09-16 16:45:09 -07:00
Vern Paxson
7b8d92b4f6 C++ compilation support for RE /s operator 2022-09-16 16:44:00 -07:00
Vern Paxson
5c6801131f run-time checking of vector operations for overflows and division-by-zero 2022-09-16 16:43:12 -07:00
Vern Paxson
abd75932a2 error propagation fix to avoid a crash 2022-09-16 16:37:56 -07:00
Vern Paxson
6e84a1da57 updates to ZAM btest baselines 2022-09-16 10:06:57 -07:00
Vern Paxson
048e524fbf specialized ZAM operators for speeding up cat() operations 2022-09-16 09:45:05 -07:00
Vern Paxson
5fe4eb27a8 ZAM support for two-valued "for" loops over vectors 2022-09-16 09:40:39 -07:00
Vern Paxson
02cd773c51 make it non-fatal for optimized scripts to encounter an empty "for" body 2022-09-16 09:38:31 -07:00
Vern Paxson
ee28609e74 script optimization fix for new-style table constructors 2022-09-16 09:37:17 -07:00
Tim Wojtulewicz
5389ad69f8 Merge remote-tracking branch 'origin/topic/timw/2397-next-not-forward'
* origin/topic/timw/2397-next-not-forward:
  Use NextStream instead of ForwardStream in fuzzers
2022-09-15 11:12:08 -04:00
Tim Wojtulewicz
650d5a4c5e Use NextStream instead of ForwardStream in fuzzers 2022-09-14 08:28:46 -04:00
Tim Wojtulewicz
3af272b6d3 Merge remote-tracking branch 'origin/topic/bbannier/bump-spicy-plugin'
* origin/topic/bbannier/bump-spicy-plugin:
  Bump spicy-plugin to v1.3.18.
2022-09-13 08:09:56 -04:00
Benjamin Bannier
3fcc4cf457 Bump spicy-plugin to v1.3.18. 2022-09-12 18:43:57 +02:00
Tim Wojtulewicz
b6512e82c5 Merge remote-tracking branch 'origin/topic/timw/update-3rdparty'
* origin/topic/timw/update-3rdparty:
  Update 3rdparty submodule
2022-09-09 14:14:59 -07:00
Tim Wojtulewicz
eea023e9b4 Update 3rdparty submodule 2022-09-09 20:41:44 +00:00
Tim Wojtulewicz
7c8b6a42bc Merge remote-tracking branch 'origin/topic/timw/update-freebsd-ci-tasks'
* origin/topic/timw/update-freebsd-ci-tasks:
  CI: remove FreeBSD 13.0, update FreeBSD 12 to 12.3
2022-09-09 09:37:59 -07:00