mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00

As initial examples, this branch ports the Syslog and Finger analyzers over. We leave the old analyzers in place for now and activate them iff we compile without any Spicy. Needs `zeek-spicy-infra` branches in `spicy/`, `spicy-plugin/`, `CMake/`, and `zeek/zeek-testing-private`. Note that the analyzer events remain associated with the Spicy plugin for now: that's where they will show up with `-NN`, and also inside the Zeekygen documentation. We switch CMake over to linking the runtime library into the plugin, vs. at the top-level through object libraries.
14 lines
331 B
Text
14 lines
331 B
Text
##! Implements base functionality for Finger analysis. We currently do not generate
|
|
##! a log file, but just configure the analyzer.
|
|
|
|
module Finger;
|
|
|
|
export {
|
|
const ports = { 79/tcp };
|
|
redef likely_server_ports += { ports };
|
|
}
|
|
|
|
event zeek_init() &priority=5
|
|
{
|
|
Analyzer::register_for_ports(Analyzer::ANALYZER_FINGER, ports);
|
|
}
|