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:
Seth Hall 2012-05-02 21:16:30 -04:00
parent 2ec7fbae62
commit 0c97c3c1de
17 changed files with 94 additions and 85 deletions

View file

@ -95,9 +95,9 @@ redef record connection += {
};
global analyzers = { ANALYZER_FTP };
redef Protocols::analyzer_map["FTP"] = analyzers;
redef Protocols::analyzer_map += { ["FTP"] = analyzers };
global ports = { 21/tcp };
redef Protocols::common_ports["FTP"] = ports;
redef Protocols::common_ports += { ["FTP"] = ports };
# Establish the variable for tracking expected connections.
global ftp_data_expected: table[addr, port] of Info &create_expire=5mins;