Fix includes of bif.h and _pac.h files to use full paths inside build directory

This commit is contained in:
Tim Wojtulewicz 2020-11-03 14:03:33 -07:00
parent 133ab55c91
commit 5589484f26
135 changed files with 208 additions and 209 deletions

View file

@ -1,6 +1,5 @@
// See the file "COPYING" in the main distribution directory for copyright.
#include "zeek-config.h"
#include "zeek/Sessions.h"

View file

@ -1,6 +1,6 @@
#pragma once
#include "ayiya_pac.h"
#include "analyzer/protocol/ayiya/ayiya_pac.h"
namespace binpac::AYIYA { class AYIYA_Conn; }

View file

@ -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 {

View file

@ -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 {

View file

@ -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

View file

@ -6,7 +6,7 @@
%extern{
#define MSGLEN_LIMIT 0x40000
#include "events.bif.h"
#include "analyzer/protocol/bittorrent/events.bif.h"
%}
analyzer BitTorrent withcontext {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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

View file

@ -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 {

View file

@ -3,7 +3,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/dnp3/events.bif.h"
%}
analyzer DNP3 withcontext {

View file

@ -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 {

View file

@ -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 {

View 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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -1,6 +1,6 @@
#pragma once
#include "gtpv1_pac.h"
#include "analyzer/protocol/gtpv1/gtpv1_pac.h"
namespace binpac::GTPv1 { class GTPv1_Conn; }

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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"
%}

View file

@ -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;

View file

@ -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 {

View file

@ -9,7 +9,7 @@
#include <krb5.h>
#endif
#include "krb_pac.h"
#include "analyzer/protocol/krb/krb_pac.h"
namespace zeek::analyzer::krb {

View file

@ -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 {

View file

@ -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 {

View file

@ -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;

View file

@ -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;

View file

@ -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 {

View file

@ -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)

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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:
//

View file

@ -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 {

View file

@ -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 {

View file

@ -10,7 +10,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/modbus/events.bif.h"
%}
analyzer ModbusTCP withcontext {

View file

@ -4,7 +4,7 @@
#include "zeek/Reporter.h"
#include "mqtt_pac.h"
#include "analyzer/protocol/mqtt/mqtt_pac.h"
namespace zeek::analyzer::mqtt {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -8,7 +8,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/mysql/events.bif.h"
%}
analyzer MySQL withcontext {

View file

@ -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;

View file

@ -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 {

View file

@ -3,7 +3,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/ncp/events.bif.h"
%}
analyzer NCP withcontext {};

View file

@ -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;

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -2,7 +2,7 @@
#include "zeek/Reporter.h"
#include "events.bif.h"
#include "analyzer/protocol/ntp/events.bif.h"
namespace zeek::analyzer::ntp {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -2,7 +2,7 @@
#include "zeek/Reporter.h"
#include "events.bif.h"
#include "analyzer/protocol/radius/events.bif.h"
namespace zeek::analyzer::radius {

View file

@ -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 {

View file

@ -6,7 +6,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/radius/events.bif.h"
%}
analyzer RADIUS withcontext {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 += {

View file

@ -2,7 +2,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/rdp/events.bif.h"
%}
analyzer RDP withcontext {

View file

@ -2,7 +2,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/rdp/events.bif.h"
%}
analyzer RDPEUDP withcontext {

View file

@ -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 {

View file

@ -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 {

View file

@ -6,7 +6,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/rfb/events.bif.h"
%}
analyzer RFB withcontext {

View file

@ -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 {

View file

@ -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 {

View file

@ -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

View file

@ -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;

View file

@ -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)
{

View file

@ -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 {

View file

@ -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{

View file

@ -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 {

View file

@ -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 {

View file

@ -5,7 +5,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/sip/events.bif.h"
%}
analyzer SIP withcontext {

View file

@ -8,7 +8,7 @@
%include zeek.pac
%extern{
#include "events.bif.h"
#include "analyzer/protocol/sip/events.bif.h"
%}
analyzer SIP_TCP withcontext {

View file

@ -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 {

View file

@ -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 {

View file

@ -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,

View file

@ -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 {

View file

@ -2,7 +2,7 @@
#pragma once
#include "snmp_pac.h"
#include "analyzer/protocol/snmp/snmp_pac.h"
namespace zeek::analyzer::snmp {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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;

View file

@ -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

View file

@ -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