mqtt: Move from policy/ into base/

Register dpd signatures and the analyzer when running in default mode.

Closes #2583
This commit is contained in:
Arne Welzel 2022-11-29 12:41:52 +01:00
parent 0e97c29eb8
commit eb3bea4e4a
13 changed files with 362 additions and 284 deletions

View file

@ -9,6 +9,7 @@
1 161
1 162
1 1812
1 1883
2 20000
1 21
1 2123
@ -58,8 +59,8 @@
1 992
1 993
1 995
65 and
64 or
65 port
42 tcp
66 and
65 or
66 port
43 tcp
23 udp

View file

@ -397,6 +397,7 @@ scripts/base/init-default.zeek
scripts/base/protocols/modbus/main.zeek
scripts/base/protocols/mqtt/__load__.zeek
scripts/base/protocols/mqtt/consts.zeek
scripts/base/protocols/mqtt/main.zeek
scripts/base/protocols/mysql/__load__.zeek
scripts/base/protocols/mysql/main.zeek
scripts/base/protocols/mysql/consts.zeek

File diff suppressed because one or more lines are too long

View file

@ -6,4 +6,4 @@
#
# @TEST-EXEC: test -d $DIST/scripts
# @TEST-EXEC: for script in `find $DIST/scripts/ -name \*\.zeek`; do zeek -b --parse-only $script >>errors 2>&1; done
# @TEST-EXEC: TEST_DIFF_CANONIFIER="grep -v 'Use the external.*bro-simple-scan package' | $SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors
# @TEST-EXEC: TEST_DIFF_CANONIFIER="grep -v -e 'Use the external.*bro-simple-scan package' -e 'The MQTT scripts have been moved out of policy/' | $SCRIPTS/diff-remove-abspath | $SCRIPTS/diff-sort" btest-diff errors