mirror of
https://github.com/zeek/zeek.git
synced 2025-10-05 16:18:19 +00:00
Several final fixes for PacketFilter framework.
- Fixed how the dpd_* variables are written. - Fixed a bug with the shunting code. - Updated a few tests.
This commit is contained in:
parent
2ec7fbae62
commit
0c97c3c1de
17 changed files with 94 additions and 85 deletions
|
@ -113,13 +113,9 @@ event bro_init() &priority=5
|
|||
|
||||
|
||||
global analyzers = { ANALYZER_HTTP, ANALYZER_HTTP_BINPAC };
|
||||
redef Protocols::analyzer_map["HTTP"] = analyzers;
|
||||
redef Protocols::analyzer_map += { ["HTTP"] = analyzers };
|
||||
global ports = { 80/tcp, 81/tcp, 631/tcp, 1080/tcp, 3138/tcp, 8000/tcp, 8080/tcp, 8888/tcp };
|
||||
redef Protocols::common_ports["HTTP"] = ports;
|
||||
|
||||
#redef dpd_config += {
|
||||
# [[ANALYZER_HTTP, ANALYZER_HTTP_BINPAC]] = [$ports = Protocols::common_ports["HTTP"]],
|
||||
#};
|
||||
redef Protocols::common_ports += { ["HTTP"] = ports };
|
||||
|
||||
redef likely_server_ports += {
|
||||
80/tcp, 81/tcp, 631/tcp, 1080/tcp, 3138/tcp,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue