mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Rename analyzer/protocols -> analyzer/protocol
This commit is contained in:
parent
f7a10d915b
commit
4bc2ba60c9
279 changed files with 114 additions and 116 deletions
|
@ -11,7 +11,7 @@
|
||||||
#include "Sessions.h"
|
#include "Sessions.h"
|
||||||
#include "Reporter.h"
|
#include "Reporter.h"
|
||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include "analyzer/protocols/pia/PIA.h"
|
#include "analyzer/protocol/pia/PIA.h"
|
||||||
#include "binpac.h"
|
#include "binpac.h"
|
||||||
#include "TunnelEncapsulation.h"
|
#include "TunnelEncapsulation.h"
|
||||||
#include "analyzer/Analyzer.h"
|
#include "analyzer/Analyzer.h"
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
#include "Func.h"
|
#include "Func.h"
|
||||||
#include "Frame.h"
|
#include "Frame.h"
|
||||||
#include "Var.h"
|
#include "Var.h"
|
||||||
#include "analyzer/protocols/login/Login.h"
|
#include "analyzer/protocol/login/Login.h"
|
||||||
#include "Sessions.h"
|
#include "Sessions.h"
|
||||||
#include "RE.h"
|
#include "RE.h"
|
||||||
#include "Serializer.h"
|
#include "Serializer.h"
|
||||||
|
|
|
@ -8,7 +8,7 @@ using std::string;
|
||||||
#include "Conn.h"
|
#include "Conn.h"
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "analyzer/protocols/pia/PIA.h"
|
#include "analyzer/protocol/pia/PIA.h"
|
||||||
|
|
||||||
#include "analyzer/Manager.h"
|
#include "analyzer/Manager.h"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include "config.h"
|
#include "config.h"
|
||||||
|
|
||||||
#include "RuleCondition.h"
|
#include "RuleCondition.h"
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "Scope.h"
|
#include "Scope.h"
|
||||||
|
|
||||||
static inline bool is_established(const analyzer::tcp::TCP_Endpoint* e)
|
static inline bool is_established(const analyzer::tcp::TCP_Endpoint* e)
|
||||||
|
|
|
@ -16,17 +16,17 @@
|
||||||
#include "Reporter.h"
|
#include "Reporter.h"
|
||||||
#include "OSFinger.h"
|
#include "OSFinger.h"
|
||||||
|
|
||||||
#include "analyzer/protocols/icmp/ICMP.h"
|
#include "analyzer/protocol/icmp/ICMP.h"
|
||||||
#include "analyzer/protocols/udp/UDP.h"
|
#include "analyzer/protocol/udp/UDP.h"
|
||||||
|
|
||||||
#include "analyzer/protocols/stepping-stone/SteppingStone.h"
|
#include "analyzer/protocol/stepping-stone/SteppingStone.h"
|
||||||
#include "analyzer/protocols/stepping-stone/events.bif.h"
|
#include "analyzer/protocol/stepping-stone/events.bif.h"
|
||||||
#include "analyzer/protocols/backdoor/BackDoor.h"
|
#include "analyzer/protocol/backdoor/BackDoor.h"
|
||||||
#include "analyzer/protocols/backdoor/events.bif.h"
|
#include "analyzer/protocol/backdoor/events.bif.h"
|
||||||
#include "analyzer/protocols/interconn/InterConn.h"
|
#include "analyzer/protocol/interconn/InterConn.h"
|
||||||
#include "analyzer/protocols/interconn/events.bif.h"
|
#include "analyzer/protocol/interconn/events.bif.h"
|
||||||
#include "analyzer/protocols/arp/ARP.h"
|
#include "analyzer/protocol/arp/ARP.h"
|
||||||
#include "analyzer/protocols/arp/events.bif.h"
|
#include "analyzer/protocol/arp/events.bif.h"
|
||||||
#include "Discard.h"
|
#include "Discard.h"
|
||||||
#include "RuleMatcher.h"
|
#include "RuleMatcher.h"
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#include "Stats.h"
|
#include "Stats.h"
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "TunnelEncapsulation.h"
|
#include "TunnelEncapsulation.h"
|
||||||
#include "analyzer/protocols/tcp/Stats.h"
|
#include "analyzer/protocol/tcp/Stats.h"
|
||||||
|
|
||||||
#include <utility>
|
#include <utility>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
#include "Analyzer.h"
|
#include "Analyzer.h"
|
||||||
#include "Manager.h"
|
#include "Manager.h"
|
||||||
|
|
||||||
#include "analyzer/protocols/pia/PIA.h"
|
#include "analyzer/protocol/pia/PIA.h"
|
||||||
#include "../Event.h"
|
#include "../Event.h"
|
||||||
|
|
||||||
namespace analyzer {
|
namespace analyzer {
|
||||||
|
|
|
@ -4,7 +4,7 @@ include_directories(BEFORE
|
||||||
${CMAKE_CURRENT_BINARY_DIR}
|
${CMAKE_CURRENT_BINARY_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
add_subdirectory(protocols)
|
add_subdirectory(protocol)
|
||||||
|
|
||||||
set(analyzer_SRCS
|
set(analyzer_SRCS
|
||||||
Analyzer.cc
|
Analyzer.cc
|
||||||
|
|
|
@ -4,14 +4,14 @@
|
||||||
#include "Hash.h"
|
#include "Hash.h"
|
||||||
#include "Val.h"
|
#include "Val.h"
|
||||||
|
|
||||||
#include "analyzer/protocols/backdoor/BackDoor.h"
|
#include "analyzer/protocol/backdoor/BackDoor.h"
|
||||||
#include "analyzer/protocols/conn-size/ConnSize.h"
|
#include "analyzer/protocol/conn-size/ConnSize.h"
|
||||||
#include "analyzer/protocols/icmp/ICMP.h"
|
#include "analyzer/protocol/icmp/ICMP.h"
|
||||||
#include "analyzer/protocols/interconn/InterConn.h"
|
#include "analyzer/protocol/interconn/InterConn.h"
|
||||||
#include "analyzer/protocols/pia/PIA.h"
|
#include "analyzer/protocol/pia/PIA.h"
|
||||||
#include "analyzer/protocols/stepping-stone/SteppingStone.h"
|
#include "analyzer/protocol/stepping-stone/SteppingStone.h"
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "analyzer/protocols/udp/UDP.h"
|
#include "analyzer/protocol/udp/UDP.h"
|
||||||
|
|
||||||
#include "plugin/Manager.h"
|
#include "plugin/Manager.h"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
|
|
||||||
- update *.h guards
|
|
||||||
- cleanup analyzer descriptions
|
- cleanup analyzer descriptions
|
||||||
- can now lower-case the analyzer name in plugin
|
- can now lower-case the analyzer name in plugin
|
||||||
- not sure cmake dependencies work right yet
|
- not sure cmake dependencies work right yet
|
||||||
- rename analyzers/protocols to analyzer/protocol
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
#include "BackDoor.h"
|
#include "BackDoor.h"
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
#include "Net.h"
|
#include "Net.h"
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_BACKDOOR_BACKDOOR_H
|
#ifndef ANALYZER_PROTOCOL_BACKDOOR_BACKDOOR_H
|
||||||
#define ANALYZER_PROTOCOL_BACKDOOR_BACKDOOR_H
|
#define ANALYZER_PROTOCOL_BACKDOOR_BACKDOOR_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "Timer.h"
|
#include "Timer.h"
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "analyzer/protocols/login/Login.h"
|
#include "analyzer/protocol/login/Login.h"
|
||||||
|
|
||||||
namespace analyzer { namespace backdoor {
|
namespace analyzer { namespace backdoor {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// This code contributed by Nadi Sarrar.
|
// This code contributed by Nadi Sarrar.
|
||||||
|
|
||||||
#include "BitTorrent.h"
|
#include "BitTorrent.h"
|
||||||
#include "analyzer/protocols/tcp/TCP_Reassembler.h"
|
#include "analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_BITTORRENT_BITTORRENT_H
|
#ifndef ANALYZER_PROTOCOL_BITTORRENT_BITTORRENT_H
|
||||||
#define ANALYZER_PROTOCOL_BITTORRENT_BITTORRENT_H
|
#define ANALYZER_PROTOCOL_BITTORRENT_BITTORRENT_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
#include "bittorrent_pac.h"
|
#include "bittorrent_pac.h"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// This code contributed by Nadi Sarrar.
|
// This code contributed by Nadi Sarrar.
|
||||||
|
|
||||||
#include "BitTorrentTracker.h"
|
#include "BitTorrentTracker.h"
|
||||||
#include "analyzer/protocols/tcp/TCP_Reassembler.h"
|
#include "analyzer/protocol/tcp/TCP_Reassembler.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_BITTORRENT_BITTORRENTTRACKER_H
|
#ifndef ANALYZER_PROTOCOL_BITTORRENT_BITTORRENTTRACKER_H
|
||||||
#define ANALYZER_PROTOCOL_BITTORRENT_BITTORRENTTRACKER_H
|
#define ANALYZER_PROTOCOL_BITTORRENT_BITTORRENTTRACKER_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
#define BTTRACKER_BUF 2048
|
#define BTTRACKER_BUF 2048
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
|
|
||||||
#include "ConnSize.h"
|
#include "ConnSize.h"
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
// Windows systems) and shouldn't be considered as stable.
|
// Windows systems) and shouldn't be considered as stable.
|
||||||
|
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "analyzer/protocols/dce-rpc/events.bif.h"
|
#include "analyzer/protocol/dce-rpc/events.bif.h"
|
||||||
#include "IPAddr.h"
|
#include "IPAddr.h"
|
||||||
|
|
||||||
#include "dce_rpc_simple_pac.h"
|
#include "dce_rpc_simple_pac.h"
|
||||||
|
@ -88,7 +88,7 @@ enum DCE_RPC_PTYPE {
|
||||||
};
|
};
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define ANALYZER_PROTOCOL_DCE_RPC_DCE_RPC_HEADER_LENGTH 16
|
#define DCE_RPC_HEADER_LENGTH 16
|
||||||
|
|
||||||
class DCE_RPC_Header {
|
class DCE_RPC_Header {
|
||||||
public:
|
public:
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_DHCP_DHCP_H
|
#ifndef ANALYZER_PROTOCOL_DHCP_DHCP_H
|
||||||
#define ANALYZER_PROTOCOL_DHCP_DHCP_H
|
#define ANALYZER_PROTOCOL_DHCP_DHCP_H
|
||||||
|
|
||||||
#include "analyzer/protocols/udp/UDP.h"
|
#include "analyzer/protocol/udp/UDP.h"
|
||||||
|
|
||||||
#include "dhcp_pac.h"
|
#include "dhcp_pac.h"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_DNS_DNS_H
|
#ifndef ANALYZER_PROTOCOL_DNS_DNS_H
|
||||||
#define ANALYZER_PROTOCOL_DNS_DNS_H
|
#define ANALYZER_PROTOCOL_DNS_DNS_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "binpac_bro.h"
|
#include "binpac_bro.h"
|
||||||
|
|
||||||
namespace analyzer { namespace dns {
|
namespace analyzer { namespace dns {
|
|
@ -3,7 +3,7 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_FILE_FILE_H
|
#ifndef ANALYZER_PROTOCOL_FILE_FILE_H
|
||||||
#define ANALYZER_PROTOCOL_FILE_FILE_H
|
#define ANALYZER_PROTOCOL_FILE_FILE_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
#include <magic.h>
|
#include <magic.h>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "Finger.h"
|
#include "Finger.h"
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
#include "analyzer/protocols/tcp/ContentLine.h"
|
#include "analyzer/protocol/tcp/ContentLine.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_FINGER_FINGER_H
|
#ifndef ANALYZER_PROTOCOL_FINGER_FINGER_H
|
||||||
#define ANALYZER_PROTOCOL_FINGER_FINGER_H
|
#define ANALYZER_PROTOCOL_FINGER_FINGER_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "analyzer/protocols/tcp/ContentLine.h"
|
#include "analyzer/protocol/tcp/ContentLine.h"
|
||||||
|
|
||||||
namespace analyzer { namespace finger {
|
namespace analyzer { namespace finger {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
#include "Base64.h"
|
#include "Base64.h"
|
||||||
#include "analyzer/Manager.h"
|
#include "analyzer/Manager.h"
|
||||||
#include "analyzer/protocols/login/NVT.h"
|
#include "analyzer/protocol/login/NVT.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_FTP_FTP_H
|
#ifndef ANALYZER_PROTOCOL_FTP_FTP_H
|
||||||
#define ANALYZER_PROTOCOL_FTP_FTP_H
|
#define ANALYZER_PROTOCOL_FTP_FTP_H
|
||||||
|
|
||||||
#include "analyzer/protocols/login/NVT.h"
|
#include "analyzer/protocol/login/NVT.h"
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
namespace analyzer { namespace ftp {
|
namespace analyzer { namespace ftp {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "Gnutella.h"
|
#include "Gnutella.h"
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
#include "analyzer/protocols/pia/PIA.h"
|
#include "analyzer/protocol/pia/PIA.h"
|
||||||
#include "analyzer/Manager.h"
|
#include "analyzer/Manager.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
|
@ -3,7 +3,7 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_GNUTELLA_GNUTELLA_H
|
#ifndef ANALYZER_PROTOCOL_GNUTELLA_GNUTELLA_H
|
||||||
#define ANALYZER_PROTOCOL_GNUTELLA_GNUTELLA_H
|
#define ANALYZER_PROTOCOL_GNUTELLA_GNUTELLA_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
|
|
||||||
#define ORIG_OK 0x1
|
#define ORIG_OK 0x1
|
||||||
#define RESP_OK 0x2
|
#define RESP_OK 0x2
|
|
@ -11,7 +11,7 @@
|
||||||
#include "NetVar.h"
|
#include "NetVar.h"
|
||||||
#include "HTTP.h"
|
#include "HTTP.h"
|
||||||
#include "Event.h"
|
#include "Event.h"
|
||||||
#include "analyzer/protocols/mime/MIME.h"
|
#include "analyzer/protocol/mime/MIME.h"
|
||||||
|
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
||||||
|
|
|
@ -3,10 +3,10 @@
|
||||||
#ifndef ANALYZER_PROTOCOL_HTTP_HTTP_H
|
#ifndef ANALYZER_PROTOCOL_HTTP_HTTP_H
|
||||||
#define ANALYZER_PROTOCOL_HTTP_HTTP_H
|
#define ANALYZER_PROTOCOL_HTTP_HTTP_H
|
||||||
|
|
||||||
#include "analyzer/protocols/tcp/TCP.h"
|
#include "analyzer/protocol/tcp/TCP.h"
|
||||||
#include "analyzer/protocols/tcp/ContentLine.h"
|
#include "analyzer/protocol/tcp/ContentLine.h"
|
||||||
#include "analyzer/protocols/zip/ZIP.h"
|
#include "analyzer/protocol/zip/ZIP.h"
|
||||||
#include "analyzer/protocols/mime/MIME.h"
|
#include "analyzer/protocol/mime/MIME.h"
|
||||||
#include "binpac_bro.h"
|
#include "binpac_bro.h"
|
||||||
#include "IPAddr.h"
|
#include "IPAddr.h"
|
||||||
#include "events.bif.h"
|
#include "events.bif.h"
|
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