Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/david415/HoneyBadger
/ types & classes
Types & classes
58 in github.com/david415/HoneyBadger
⨍
Functions
265
◇
Types & classes
58
↓ 120 callers
TypeAlias
Sequence
Sequence is a TCP sequence number. It provides a few convenience functions for handling TCP wrap-around. The sequence should always be in the range
types/sequence.go:22
↓ 2 callers
Interface
PacketLogger
types/events.go:31
↓ 1 callers
Interface
Logger
types/events.go:27
Struct
AfpacketHandle
drivers/afpacket.go:35
Struct
AttackJsonLogger
AttackJsonLogger is responsible for recording all attack reports as JSON objects in a file.
logging/attack_logger.go:47
Struct
AttackMetadataJsonLogger
AttackMetadataJsonLogger is responsible for recording all attack reports as JSON objects in a file. This attack logger only logs metadata... but ouch
logging/metadata_attack_logger.go:33
Struct
BPFHandle
drivers/bpf.go:35
Struct
Block
blocks/blocks.go:14
Struct
BlockSegment
blocks/blocks.go:18
TypeAlias
Blocks
blocks/blocks.go:48
Struct
Connection
Connection is used to track client and server flows for a given TCP connection. We implement a basic TCP finite state machine and track state in order
connection.go:115
Interface
ConnectionFactory
connection.go:56
Interface
ConnectionInterface
connection.go:84
Struct
ConnectionOptions
connection.go:99
Struct
DefaultConnFactory
connection.go:60
Struct
Dispatcher
Inquisitor sets up the connection pool and is an abstraction layer for dealing with incoming packets weather they be from a pcap file or directly off
dispatcher.go:57
Struct
DispatcherOptions
InquisitorOptions are user set parameters for specifying the details of how to proceed with honey_bager's TCP connection monitoring. More parameters s
dispatcher.go:39
Struct
DummyAttackLogger
retrospective_test.go:25
Struct
DummyPacketLogger
pcap_integration_test.go:15
Struct
DummyPacketLoggerFactory
pcap_integration_test.go:23
Struct
Event
types/events.go:44
Struct
HashedTcpIpv4Flow
types/flow.go:137
Struct
HashedTcpIpv6Flow
types/flow.go:105
Struct
MockConnection
dispatcher_test.go:42
Struct
MockPacketLogger
dispatcher_test.go:94
Struct
MockPacketLoggerFactory
dispatcher_test.go:85
Struct
MockSniffer
dispatcher_test.go:16
Struct
OrderedCoalesce
ordered_coalesce.go:121
Interface
PacketDataSourceCloser
PacketDataSource is an interface for some source of packet data.
types/packet_source.go:42
Interface
PacketDispatcher
connection.go:92
Interface
PacketLoggerFactory
types/events.go:40
Struct
PacketManifest
PacketManifest is used to send parsed packets via channels to other goroutines
types/packet_source.go:67
Interface
PacketSource
types/packet_source.go:59
Struct
PcapHandle
drivers/libpcap.go:36
Struct
PcapLogger
PcapLogger struct is used to log packets to a pcap file
logging/pcap_logger.go:42
Struct
PcapLoggerFactory
logging/pcap_logger.go:75
Struct
PcapgoHandle
drivers/pcapgo.go:38
Struct
Reassembly
Reassembly is used to represent a TCP segment
types/reassembly.go:20
Struct
Ring
A Ring is an element of a circular list, or ring. Rings do not have a beginning or end; a pointer to any ring element serves as reference to the entir
types/ring.go:17
Struct
RotatingQuotaWriter
logging/rotating_writer.go:28
Struct
SerializedEvent
logging/attack_logger.go:33
Struct
Sniffer
Sniffer sets up the connection pool and is an abstraction layer for dealing with incoming packets weather they be from a pcap file or directly off the
sniffer.go:35
Struct
SnifferDriverOptions
types/packet_source.go:32
Interface
Supervisor
types/packet_source.go:54
Struct
Supervisor
supervisor.go:38
Struct
SupervisorOptions
supervisor.go:30
Struct
TCPStreamInjector
attack/injector.go:30
Struct
TcpIpFlow
TcpIpFlow is used for tracking unidirectional TCP flows
types/flow.go:32
Struct
TestLogger
pcap_integration_test.go:48
Struct
TestOverlapBytesWant
retrospective_test.go:19
Struct
TestPcapWriter
logging/pcap_logger_test.go:46
Struct
TestSignalWriter
logging/util_test.go:3
Struct
TimedPacket
logging/pcap_logger.go:36
Struct
TimedRawPacket
dispatcher.go:31
Struct
mockConnFactory
dispatcher_test.go:73
Struct
page
XXX get rid of me later... page is used to store TCP data we're not ready for yet (out-of-order packets). Unused pages are stored in and returned fro
ordered_coalesce.go:32
Struct
pageCache
pageCache is a concurrency-unsafe store of page objects we use to avoid memory allocation as much as we can. It grows but never shrinks.
ordered_coalesce.go:41
Struct
reassemblyInput
retrospective_test.go:14