mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix includes of bif.h and _pac.h files to use full paths inside build directory
This commit is contained in:
parent
133ab55c91
commit
5589484f26
135 changed files with 208 additions and 209 deletions
|
@ -1,6 +1,5 @@
|
|||
// See the file "COPYING" in the main distribution directory for copyright.
|
||||
|
||||
|
||||
#include "zeek-config.h"
|
||||
#include "zeek/Sessions.h"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "ayiya_pac.h"
|
||||
#include "analyzer/protocol/ayiya/ayiya_pac.h"
|
||||
|
||||
namespace binpac::AYIYA { class AYIYA_Conn; }
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "zeek/analyzer/protocol/bittorrent/BitTorrent.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/bittorrent/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::bittorrent {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "bittorrent_pac.h"
|
||||
#include "analyzer/protocol/bittorrent/bittorrent_pac.h"
|
||||
|
||||
namespace zeek::analyzer::bittorrent {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/bittorrent/events.bif.h"
|
||||
|
||||
# define FMT_INT "%" PRId64
|
||||
# define FMT_UINT "%" PRIu64
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
%extern{
|
||||
#define MSGLEN_LIMIT 0x40000
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/bittorrent/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer BitTorrent withcontext {
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "zeek/Reporter.h"
|
||||
#include "zeek/RunState.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/conn-size/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::conn_size {
|
||||
|
||||
|
|
|
@ -6,8 +6,8 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
#include "zeek/IPAddr.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "dce_rpc_pac.h"
|
||||
#include "analyzer/protocol/dce-rpc/events.bif.h"
|
||||
#include "analyzer/protocol/dce-rpc/dce_rpc_pac.h"
|
||||
|
||||
namespace zeek::analyzer::dce_rpc {
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "consts.bif.h"
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/dce-rpc/consts.bif.h"
|
||||
#include "analyzer/protocol/dce-rpc/types.bif.h"
|
||||
#include "analyzer/protocol/dce-rpc/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer DCE_RPC withcontext {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "zeek/analyzer/protocol/dhcp/DHCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "types.bif.h"
|
||||
#include "analyzer/protocol/dhcp/events.bif.h"
|
||||
#include "analyzer/protocol/dhcp/types.bif.h"
|
||||
|
||||
namespace zeek::analyzer::dhcp {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "dhcp_pac.h"
|
||||
#include "analyzer/protocol/dhcp/dhcp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::dhcp {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/dhcp/types.bif.h"
|
||||
#include "analyzer/protocol/dhcp/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer DHCP withcontext {
|
||||
|
|
|
@ -99,7 +99,7 @@
|
|||
#include "zeek/analyzer/protocol/dnp3/DNP3.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/dnp3/events.bif.h"
|
||||
|
||||
constexpr unsigned int PSEUDO_LENGTH_INDEX = 2; // index of len field of DNP3 Pseudo Link Layer
|
||||
constexpr unsigned int PSEUDO_CONTROL_FIELD_INDEX = 3; // index of ctrl field of DNP3 Pseudo Link Layer
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
#include "zeek/analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "dnp3_pac.h"
|
||||
#include "analyzer/protocol/dnp3/dnp3_pac.h"
|
||||
|
||||
namespace zeek::analyzer::dnp3 {
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/dnp3/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer DNP3 withcontext {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/RunState.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/dns/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::dns {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "zeek/Reporter.h"
|
||||
#include "zeek/util.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/file/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::file {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/analyzer/protocol/tcp/ContentLine.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/finger/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::finger {
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "zeek/analyzer/protocol/pia/PIA.h"
|
||||
#include "zeek/analyzer/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/gnutella/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::gnutella {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/gssapi/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::gssapi {
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "gssapi_pac.h"
|
||||
#include "analyzer/protocol/gssapi/events.bif.h"
|
||||
#include "analyzer/protocol/gssapi/gssapi_pac.h"
|
||||
|
||||
namespace zeek::analyzer::gssapi {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "zeek/analyzer/Manager.h"
|
||||
#include "zeek/analyzer/Analyzer.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/gssapi/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer GSSAPI withcontext {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "zeek/analyzer/protocol/gtpv1/GTPv1.h"
|
||||
#include "zeek/packet_analysis/protocol/iptunnel/IPTunnel.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/gtpv1/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::gtpv1 {
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#pragma once
|
||||
|
||||
#include "gtpv1_pac.h"
|
||||
#include "analyzer/protocol/gtpv1/gtpv1_pac.h"
|
||||
|
||||
namespace binpac::GTPv1 { class GTPv1_Conn; }
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "zeek/TunnelEncapsulation.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/gtpv1/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer GTPv1 withcontext {
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "zeek/analyzer/protocol/mime/MIME.h"
|
||||
#include "zeek/file_analysis/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/http/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::http {
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include "zeek/Desc.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/icmp/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::icmp {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "zeek/NetVar.h"
|
||||
#include "zeek/Event.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ident/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::ident {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "imap_pac.h"
|
||||
#include "analyzer/protocol/imap/imap_pac.h"
|
||||
|
||||
namespace zeek::analyzer::imap {
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@ using IMAPAnalyzer = zeek::analyzer::imap::IMAP_Analyzer*;
|
|||
#include "zeek/Reporter.h"
|
||||
#include "zeek/analyzer/protocol/imap/IMAP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/imap/events.bif.h"
|
||||
|
||||
%}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include "zeek/analyzer/protocol/zip/ZIP.h"
|
||||
#include "zeek/analyzer/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/irc/events.bif.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include <unistd.h>
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/krb/types.bif.h"
|
||||
#include "analyzer/protocol/krb/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::krb {
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <krb5.h>
|
||||
#endif
|
||||
|
||||
#include "krb_pac.h"
|
||||
#include "analyzer/protocol/krb/krb_pac.h"
|
||||
|
||||
namespace zeek::analyzer::krb {
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include "zeek/analyzer/protocol/krb/KRB_TCP.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/krb/types.bif.h"
|
||||
#include "analyzer/protocol/krb/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::krb_tcp {
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "krb_TCP_pac.h"
|
||||
#include "analyzer/protocol/krb/krb_TCP_pac.h"
|
||||
|
||||
namespace zeek::analyzer::krb_tcp {
|
||||
|
||||
|
|
|
@ -9,8 +9,8 @@ using KRBAnalyzer = zeek::analyzer::krb::KRB_Analyzer*;
|
|||
#include "zeek-config.h"
|
||||
#include "zeek/analyzer/protocol/krb/KRB.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/krb/types.bif.h"
|
||||
#include "analyzer/protocol/krb/events.bif.h"
|
||||
%}
|
||||
|
||||
extern type KRBAnalyzer;
|
||||
|
|
|
@ -9,8 +9,8 @@ using KRBTCPAnalyzer = zeek::analyzer::krb_tcp::KRB_Analyzer*;
|
|||
#include "zeek-config.h"
|
||||
#include "zeek/analyzer/protocol/krb/KRB_TCP.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/krb/types.bif.h"
|
||||
#include "analyzer/protocol/krb/events.bif.h"
|
||||
%}
|
||||
|
||||
extern type KRBTCPAnalyzer;
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/Var.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/login/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::login {
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "zeek/Reporter.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/login/events.bif.h"
|
||||
|
||||
#define IS_3_BYTE_OPTION(c) (c >= 251 && c <= 254)
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/login/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::login {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/login/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::login {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "zeek/analyzer/protocol/login/Telnet.h"
|
||||
#include "zeek/analyzer/protocol/login/NVT.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/login/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::login {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "zeek/digest.h"
|
||||
#include "zeek/file_analysis/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/mime/events.bif.h"
|
||||
|
||||
// Here are a few things to do:
|
||||
//
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "zeek/analyzer/protocol/modbus/Modbus.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/modbus/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::modbus {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "modbus_pac.h"
|
||||
#include "analyzer/protocol/modbus/modbus_pac.h"
|
||||
|
||||
namespace zeek::analyzer::modbus {
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/modbus/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer ModbusTCP withcontext {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "mqtt_pac.h"
|
||||
#include "analyzer/protocol/mqtt/mqtt_pac.h"
|
||||
|
||||
namespace zeek::analyzer::mqtt {
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
|
||||
%extern{
|
||||
#include "zeek/analyzer/protocol/mqtt/MQTT.h"
|
||||
#include "events.bif.h"
|
||||
#include "types.bif.h"
|
||||
#include "analyzer/protocol/mqtt/events.bif.h"
|
||||
#include "analyzer/protocol/mqtt/types.bif.h"
|
||||
%}
|
||||
|
||||
analyzer MQTT withcontext {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/mysql/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::mysql {
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "mysql_pac.h"
|
||||
#include "analyzer/protocol/mysql/events.bif.h"
|
||||
#include "analyzer/protocol/mysql/mysql_pac.h"
|
||||
|
||||
namespace zeek::analyzer::mysql {
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/mysql/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer MySQL withcontext {
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
|
||||
#include "zeek/Sessions.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "consts.bif.h"
|
||||
#include "analyzer/protocol/ncp/events.bif.h"
|
||||
#include "analyzer/protocol/ncp/consts.bif.h"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
#include "zeek/NetVar.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "ncp_pac.h"
|
||||
#include "analyzer/protocol/ncp/ncp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::ncp {
|
||||
namespace detail {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ncp/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer NCP withcontext {};
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/RunState.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/netbios/events.bif.h"
|
||||
|
||||
constexpr double netbios_ssn_session_timeout = 15.0;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ntlm/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::ntlm {
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "ntlm_pac.h"
|
||||
#include "analyzer/protocol/ntlm/events.bif.h"
|
||||
#include "analyzer/protocol/ntlm/ntlm_pac.h"
|
||||
|
||||
namespace zeek::analyzer::ntlm {
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include "zeek/analyzer/Manager.h"
|
||||
#include "zeek/analyzer/Analyzer.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ntlm/types.bif.h"
|
||||
#include "analyzer/protocol/ntlm/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer NTLM withcontext {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ntp/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::ntp {
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "types.bif.h"
|
||||
#include "ntp_pac.h"
|
||||
#include "analyzer/protocol/ntp/events.bif.h"
|
||||
#include "analyzer/protocol/ntp/types.bif.h"
|
||||
#include "analyzer/protocol/ntp/ntp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::ntp {
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ntp/types.bif.h"
|
||||
#include "analyzer/protocol/ntp/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer NTP withcontext {
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "zeek/Reporter.h"
|
||||
#include "zeek/analyzer/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/pop3/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::pop3 {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/radius/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::radius {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "radius_pac.h"
|
||||
#include "analyzer/protocol/radius/events.bif.h"
|
||||
#include "analyzer/protocol/radius/radius_pac.h"
|
||||
|
||||
namespace zeek::analyzer::radius {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/radius/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer RADIUS withcontext {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "types.bif.h"
|
||||
#include "analyzer/protocol/rdp/events.bif.h"
|
||||
#include "analyzer/protocol/rdp/types.bif.h"
|
||||
|
||||
namespace zeek::analyzer::rdp {
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
#include "zeek/analyzer/protocol/pia/PIA.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "rdp_pac.h"
|
||||
#include "analyzer/protocol/rdp/events.bif.h"
|
||||
#include "analyzer/protocol/rdp/rdp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::rdp {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "rdpeudp_pac.h"
|
||||
#include "analyzer/protocol/rdp/events.bif.h"
|
||||
#include "analyzer/protocol/rdp/rdpeudp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::rdpeudp {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "rdpeudp_pac.h"
|
||||
#include "analyzer/protocol/rdp/events.bif.h"
|
||||
#include "analyzer/protocol/rdp/rdpeudp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::rdpeudp {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
#include "zeek/Desc.h"
|
||||
#include "zeek/file_analysis/Manager.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "analyzer/protocol/rdp/types.bif.h"
|
||||
%}
|
||||
|
||||
refine flow RDP_Flow += {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rdp/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer RDP withcontext {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rdp/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer RDPEUDP withcontext {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rfb/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::rfb {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "rfb_pac.h"
|
||||
#include "analyzer/protocol/rfb/events.bif.h"
|
||||
#include "analyzer/protocol/rfb/rfb_pac.h"
|
||||
|
||||
namespace zeek::analyzer::rfb {
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rfb/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer RFB withcontext {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "zeek/analyzer/protocol/rpc/XDR.h"
|
||||
#include "zeek/Event.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rpc/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::rpc {
|
||||
namespace detail {
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include "zeek/analyzer/protocol/rpc/XDR.h"
|
||||
#include "zeek/Event.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rpc/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::rpc {
|
||||
namespace detail {
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#include "zeek/Event.h"
|
||||
#include "zeek/analyzer/protocol/rpc/XDR.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rpc/events.bif.h"
|
||||
|
||||
#define PMAPPROC_NULL 0
|
||||
#define PMAPPROC_SET 1
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
#include "zeek/Sessions.h"
|
||||
#include "zeek/RunState.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rpc/events.bif.h"
|
||||
|
||||
namespace { // local namespace
|
||||
const bool DEBUG_rpc_resync = false;
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include <string.h>
|
||||
#include <algorithm>
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/rpc/events.bif.h"
|
||||
|
||||
uint32_t zeek::analyzer::rpc::extract_XDR_uint32(const u_char*& buf, int& len)
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#include "zeek/analyzer/protocol/sip/SIP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/sip/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::sip {
|
||||
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/udp/UDP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "sip_pac.h"
|
||||
#include "analyzer/protocol/sip/events.bif.h"
|
||||
#include "analyzer/protocol/sip/sip_pac.h"
|
||||
|
||||
namespace zeek::analyzer::sip{
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#include "zeek/analyzer/protocol/sip/SIP_TCP.h"
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/sip/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::sip_tcp {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "sip_TCP_pac.h"
|
||||
#include "analyzer/protocol/sip/sip_TCP_pac.h"
|
||||
|
||||
namespace zeek::analyzer::sip_tcp {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/sip/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer SIP withcontext {
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/sip/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer SIP_TCP withcontext {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#pragma once
|
||||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
#include "smb_pac.h"
|
||||
#include "analyzer/protocol/smb/smb_pac.h"
|
||||
|
||||
namespace zeek::analyzer::smb {
|
||||
|
||||
|
|
|
@ -5,42 +5,42 @@
|
|||
#include "zeek/analyzer/Manager.h"
|
||||
#include "zeek/analyzer/Analyzer.h"
|
||||
|
||||
#include "smb1_events.bif.h"
|
||||
#include "smb2_events.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_events.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_events.bif.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "consts.bif.h"
|
||||
#include "analyzer/protocol/smb/types.bif.h"
|
||||
#include "analyzer/protocol/smb/events.bif.h"
|
||||
#include "analyzer/protocol/smb/consts.bif.h"
|
||||
|
||||
#include "smb1_com_check_directory.bif.h"
|
||||
#include "smb1_com_close.bif.h"
|
||||
#include "smb1_com_create_directory.bif.h"
|
||||
#include "smb1_com_echo.bif.h"
|
||||
#include "smb1_com_logoff_andx.bif.h"
|
||||
#include "smb1_com_negotiate.bif.h"
|
||||
#include "smb1_com_nt_cancel.bif.h"
|
||||
#include "smb1_com_nt_create_andx.bif.h"
|
||||
#include "smb1_com_query_information.bif.h"
|
||||
#include "smb1_com_read_andx.bif.h"
|
||||
#include "smb1_com_session_setup_andx.bif.h"
|
||||
#include "smb1_com_transaction.bif.h"
|
||||
#include "smb1_com_transaction_secondary.bif.h"
|
||||
#include "smb1_com_transaction2.bif.h"
|
||||
#include "smb1_com_transaction2_secondary.bif.h"
|
||||
#include "smb1_com_tree_connect_andx.bif.h"
|
||||
#include "smb1_com_tree_disconnect.bif.h"
|
||||
#include "smb1_com_write_andx.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_check_directory.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_close.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_create_directory.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_echo.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_logoff_andx.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_negotiate.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_nt_cancel.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_nt_create_andx.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_query_information.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_read_andx.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_session_setup_andx.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_transaction.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_transaction_secondary.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_transaction2.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_transaction2_secondary.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_tree_connect_andx.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_tree_disconnect.bif.h"
|
||||
#include "analyzer/protocol/smb/smb1_com_write_andx.bif.h"
|
||||
|
||||
#include "smb2_com_close.bif.h"
|
||||
#include "smb2_com_create.bif.h"
|
||||
#include "smb2_com_negotiate.bif.h"
|
||||
#include "smb2_com_read.bif.h"
|
||||
#include "smb2_com_session_setup.bif.h"
|
||||
#include "smb2_com_set_info.bif.h"
|
||||
#include "smb2_com_tree_connect.bif.h"
|
||||
#include "smb2_com_tree_disconnect.bif.h"
|
||||
#include "smb2_com_write.bif.h"
|
||||
#include "smb2_com_transform_header.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_close.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_create.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_negotiate.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_read.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_session_setup.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_set_info.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_tree_connect.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_tree_disconnect.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_write.bif.h"
|
||||
#include "analyzer/protocol/smb/smb2_com_transform_header.bif.h"
|
||||
%}
|
||||
|
||||
analyzer SMB withcontext {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
#include "zeek/Reporter.h"
|
||||
#include "zeek/analyzer/Manager.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/smtp/events.bif.h"
|
||||
|
||||
#undef SMTP_CMD_DEF
|
||||
#define SMTP_CMD_DEF(cmd) #cmd,
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
#include "zeek/Func.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/snmp/types.bif.h"
|
||||
#include "analyzer/protocol/snmp/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::snmp {
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include "snmp_pac.h"
|
||||
#include "analyzer/protocol/snmp/snmp_pac.h"
|
||||
|
||||
namespace zeek::analyzer::snmp {
|
||||
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
%extern{
|
||||
#include "zeek/Reporter.h"
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/snmp/types.bif.h"
|
||||
#include "analyzer/protocol/snmp/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer SNMP withcontext {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
|
||||
#include "socks_pac.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/socks/socks_pac.h"
|
||||
#include "analyzer/protocol/socks/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::socks {
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#include "zeek/analyzer/protocol/socks/SOCKS.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/socks/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer SOCKS withcontext {
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
#include "zeek/analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||
#include "zeek/Reporter.h"
|
||||
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ssh/types.bif.h"
|
||||
#include "analyzer/protocol/ssh/events.bif.h"
|
||||
|
||||
namespace zeek::analyzer::ssh {
|
||||
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include "zeek/analyzer/protocol/tcp/TCP.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "ssh_pac.h"
|
||||
#include "analyzer/protocol/ssh/events.bif.h"
|
||||
#include "analyzer/protocol/ssh/ssh_pac.h"
|
||||
|
||||
namespace zeek::analyzer::ssh {
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
%include zeek.pac
|
||||
|
||||
%extern{
|
||||
#include "types.bif.h"
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ssh/types.bif.h"
|
||||
#include "analyzer/protocol/ssh/events.bif.h"
|
||||
%}
|
||||
|
||||
analyzer SSH withcontext {
|
||||
|
|
|
@ -10,8 +10,8 @@ using DTLSAnalyzer = zeek::analyzer::dtls::DTLS_Analyzer*;
|
|||
|
||||
#include "zeek/analyzer/protocol/ssl/DTLS.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "consts.bif.h"
|
||||
#include "analyzer/protocol/ssl/events.bif.h"
|
||||
#include "analyzer/protocol/ssl/consts.bif.h"
|
||||
%}
|
||||
|
||||
extern type DTLSAnalyzer;
|
||||
|
|
|
@ -87,9 +87,9 @@ function version_ok(vers : uint16) : bool
|
|||
|
||||
%extern{
|
||||
#include <string>
|
||||
using std::string;
|
||||
#include "analyzer/protocol/ssl/events.bif.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
using std::string;
|
||||
%}
|
||||
|
||||
# a maximum of 100k for one record seems safe
|
||||
|
|
|
@ -16,7 +16,7 @@ using SSLAnalyzer = zeek::analyzer::ssl::SSL_Analyzer*;
|
|||
#include "zeek/Desc.h"
|
||||
#include "zeek/analyzer/protocol/ssl/SSL.h"
|
||||
|
||||
#include "events.bif.h"
|
||||
#include "analyzer/protocol/ssl/events.bif.h"
|
||||
%}
|
||||
|
||||
extern type SSLAnalyzer;
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue