mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Merge remote-tracking branch 'origin/topic/seth/packet-filter-updates'
Closes #1030. * origin/topic/seth/packet-filter-updates: Missed a test fix. Updating test baselines. Updates for the PacketFilter framework to simplify it. Last test update for PacketFilter framework. Several final fixes for PacketFilter framework. Packet filter framework checkpoint. Checkpoint on the packet filter framework. Initial rework of packet filter framework.
This commit is contained in:
commit
b62927e9de
31 changed files with 685 additions and 165 deletions
|
@ -110,21 +110,18 @@ redef record connection += {
|
|||
ftp_data_reuse: bool &default=F;
|
||||
};
|
||||
|
||||
# Configure DPD
|
||||
redef capture_filters += { ["ftp"] = "port 21 and port 2811" };
|
||||
|
||||
const ports = { 21/tcp, 2811/tcp };
|
||||
redef likely_server_ports += { ports };
|
||||
|
||||
# Establish the variable for tracking expected connections.
|
||||
global ftp_data_expected: table[addr, port] of Info &read_expire=5mins;
|
||||
|
||||
event bro_init() &priority=5
|
||||
{
|
||||
Log::create_stream(FTP::LOG, [$columns=Info, $ev=log_ftp]);
|
||||
Analyzer::register_for_ports(Analyzer::ANALYZER_FTP, ports);
|
||||
}
|
||||
|
||||
# Establish the variable for tracking expected connections.
|
||||
global ftp_data_expected: table[addr, port] of Info &read_expire=5mins;
|
||||
|
||||
## A set of commands where the argument can be expected to refer
|
||||
## to a file or directory.
|
||||
const file_cmds = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue