MCPcopy Create free account

hub / github.com/david415/HoneyBadger / functions

Functions265 in github.com/david415/HoneyBadger

↓ 1 callersMethodSetPacketLogger
(types.PacketLogger)
connection.go:87
↓ 1 callersMethodSetSupervisor
(Supervisor)
types/packet_source.go:62
↓ 1 callersFunctionSetupAttackDetectionPcapInquisitor
(pcapPath string, attackLogger *TestLogger)
pcap_integration_test.go:64
↓ 1 callersMethodSpraySequenceRangePackets
(start uint32, count int)
attack/injector.go:67
↓ 1 callersMethodStart
()
logging/pcap_logger.go:107
↓ 1 callersMethodStop
()
sniffer.go:73
↓ 1 callersMethodStop
()
connection.go:96
↓ 1 callersMethodStop
()
logging/pcap_logger.go:111
↓ 1 callersMethodString
String returns the string representation of a TcpIpFlow
types/flow.go:63
↓ 1 callersMethodWritePacket
(rawPacket []byte, timestamp time.Time)
logging/pcap_logger.go:146
↓ 1 callersMethodWritePacketToFile
(rawPacket []byte, timestamp time.Time)
logging/pcap_logger.go:153
↓ 1 callersFunctionbyteSpan
(expected, received types.Sequence, bytes []byte)
ordered_coalesce.go:108
↓ 1 callersMethodcapturePackets
()
sniffer.go:115
↓ 1 callersFunctioncolorLineDiff
(a, b string)
cmd/honeybadgerReportToolColor/main.go:36
↓ 1 callersMethoddecodePackets
()
sniffer.go:142
↓ 1 callersMethoddispatchPackets
()
dispatcher.go:209
↓ 1 callersFunctionexpandReport
(reportPath string)
cmd/honeybadgerReportTool/main.go:59
↓ 1 callersFunctionexpandReport
(reportPath string)
cmd/honeybadgerReportToolColor/main.go:60
↓ 1 callersMethodflushUntilThreshold
flushUntilThreshold will flush our cache until either we are within the threshold OR our cache is empty.
ordered_coalesce.go:193
↓ 1 callersFunctionlineDiff
(a, b string)
cmd/honeybadgerReportTool/main.go:35
↓ 1 callersMethodlogPackets
()
logging/pcap_logger.go:124
↓ 1 callersFunctionmain
()
cmd/honeybadgerReportTool/tcp_port_distribution.py:32
↓ 1 callersFunctionmakeTestPacket
()
logging/pcap_logger_test.go:15
↓ 1 callersFunctionmin
(a, b int)
ordered_coalesce.go:101
↓ 1 callersMethodpagesFromTcp
pagesFromTcp creates a page (or set of pages) from a TCP packet. Note that it should NEVER receive a SYN packet, as it doesn't handle sequences corre
ordered_coalesce.go:212
↓ 1 callersMethodpushBetween
pushBetween inserts the doubly-linked list first-...-last in between the nodes prev-next in another doubly-linked list. If prev is nil, makes first t
ordered_coalesce.go:255
↓ 1 callersMethodreceiveReports
()
logging/attack_logger.go:72
↓ 1 callersMethodreceiveReports
()
logging/metadata_attack_logger.go:58
↓ 1 callersMethodrotate
()
logging/rotating_writer.go:102
↓ 1 callersMethodsetupHandle
()
sniffer.go:89
↓ 1 callersMethodshiftLog
(logNum int)
logging/rotating_writer.go:121
↓ 1 callersMethodstateCloseWait
stateCloseWait represents the TCP FSM's CLOSE-WAIT state
connection.go:517
↓ 1 callersMethodstateClosed
(p *types.PacketManifest)
connection.go:598
↓ 1 callersMethodstateClosing
stateClosing represents the TCP FSM's CLOSING state
connection.go:541
↓ 1 callersMethodstateConnectionClosing
stateConnectionClosing handles all the closing states until the closed state has been reached.
connection.go:611
↓ 1 callersMethodstateConnectionEstablished
stateConnectionEstablished is called by our TCP FSM runtime and changes our state to TCP_DATA_TRANSFER if we receive a valid final handshake ACK packe
connection.go:321
↓ 1 callersMethodstateConnectionRequest
stateConnectionRequest gets called by our TCP finite state machine runtime and moves us into the TCP_CONNECTION_ESTABLISHED state if we receive a SYN/
connection.go:300
↓ 1 callersMethodstateDataTransfer
stateDataTransfer is called by our TCP FSM and processes packets once we are in the TCP_DATA_TRANSFER state
connection.go:352
↓ 1 callersMethodstateFinWait1
stateFinWait1 handles packets for the FIN-WAIT-1 state func (c *Connection) stateFinWait1(p *types.PacketManifest) {
connection.go:447
↓ 1 callersMethodstateFinWait2
stateFinWait2 handles packets for the FIN-WAIT-2 state
connection.go:500
↓ 1 callersMethodstateLastAck
stateLastAck represents the TCP FSM's LAST-ACK state
connection.go:546
↓ 1 callersMethodstateTimeWait
stateTimeWait represents the TCP FSM's CLOSE-WAIT state
connection.go:534
↓ 1 callersMethodstateUnknown
stateUnknown gets called by our TCP finite state machine runtime and moves us into the TCP_CONNECTION_REQUEST state if we receive a SYN packet... othe
connection.go:257
↓ 1 callersMethodtraverse
traverse traverses our doubly-linked list of pages for the correct position to put the given sequence number. Note that it traverses backwards, start
ordered_coalesce.go:241
↓ 1 callersMethodupdateLastSeen
updateLastSeen updates our lastSeen with the new timestamp after grabbing the lock
connection.go:158
MethodAdd
Add adds an integer to a sequence and returns the resulting sequence.
types/sequence.go:70
MethodArchive
()
dispatcher_test.go:121
MethodArchive
()
retrospective_test.go:40
MethodArchive
()
pcap_integration_test.go:42
MethodArchive
()
pcap_integration_test.go:61
MethodArchive
()
logging/pcap_logger.go:116
MethodBuild
(options ConnectionOptions)
dispatcher_test.go:76
MethodBuild
(flow *types.TcpIpFlow)
dispatcher_test.go:90
MethodBuild
(flow *types.TcpIpFlow)
pcap_integration_test.go:26
MethodBuild
(*TcpIpFlow)
types/events.go:41
MethodBuild
(flow *types.TcpIpFlow)
logging/pcap_logger.go:91
MethodClose
()
dispatcher_test.go:56
MethodClose
Close can be used by the the connection or the dispatcher to close the connection
connection.go:167
MethodClose
Close closes the ethernet sniffer and returns nil if no error was found.
types/packet_source.go:51
MethodClose
()
logging/util_test.go:22
MethodClose
()
logging/pcap_logger_test.go:59
MethodClose
()
logging/rotating_writer.go:96
MethodClose
()
drivers/libpcap.go:78
MethodClose
()
drivers/afpacket.go:50
MethodClose
()
drivers/bpf.go:51
MethodClose
()
drivers/pcapgo.go:64
MethodConnections
connectionsLocked returns a slice of Connection pointers.
dispatcher.go:106
MethodGetClientFlow
()
dispatcher_test.go:52
MethodGetClientFlow
()
connection.go:142
MethodGetLastSeen
()
dispatcher_test.go:65
MethodGetLastSeen
GetLastSeen returns the lastSeen timestamp after grabbing the lock
connection.go:151
MethodGetObservedConnectionsChan
(count int)
dispatcher.go:88
MethodGetStartedChan
()
sniffer.go:60
MethodGetStartedChan
()
dispatcher_test.go:38
MethodGreaterThanOrEqual
GreaterThanOrEqual returns true if s >= t
types/sequence.go:65
MethodLen
Len computes the number of elements in ring r. It executes in time proportional to the number of elements.
types/ring.go:56
MethodLess
(i, j int)
blocks/blocks.go:62
MethodLog
(event *types.Event)
retrospective_test.go:36
MethodLog
(event *types.Event)
pcap_integration_test.go:57
MethodLog
(event *types.Event)
logging/attack_logger.go:83
MethodLog
(event *types.Event)
logging/metadata_attack_logger.go:69
FunctionNewAfpacketHandle
(options *types.SnifferDriverOptions)
drivers/afpacket.go:39
FunctionNewBPFHandle
(options *types.SnifferDriverOptions)
drivers/bpf.go:39
FunctionNewMockSniffer
(options *types.SnifferDriverOptions, dispatcher PacketDispatcher)
dispatcher_test.go:21
FunctionNewPcapFileSniffer
(filename string)
drivers/libpcap.go:57
FunctionNewPcapSniffer
(options *types.SnifferDriverOptions)
drivers/libpcap.go:40
FunctionNewPcapWireSniffer
(netDevice string, snaplen int32, wireDuration time.Duration, filter string)
drivers/libpcap.go:65
FunctionNewPcapgoHandle
(options *types.SnifferDriverOptions)
drivers/pcapgo.go:43
FunctionNewSniffer
NewSniffer creates a new Sniffer struct
sniffer.go:46
FunctionNewTcpIp6FlowFromLayers
NewTcpIp6FlowFromLayers given IPv6 and TCP layers it returns a TcpIpFlow
types/flow.go:46
FunctionNewTestSignalWriter
()
logging/util_test.go:9
MethodReadPacketData
()
drivers/libpcap.go:74
MethodReadPacketData
()
drivers/afpacket.go:46
MethodReadPacketData
()
drivers/bpf.go:47
MethodReadPacketData
()
drivers/pcapgo.go:59
MethodReceivePacket
(p *types.PacketManifest)
dispatcher_test.go:61
MethodReceivePacket
(p *types.PacketManifest)
dispatcher.go:121
MethodReceivePacket
ReceivePacket implements a TCP finite state machine which is loosely based off of the simplified FSM in this paper: http://ants.iis.sinica.edu.tw/3bkm
connection.go:651
MethodRemove
()
dispatcher_test.go:124
MethodRemove
()
pcap_integration_test.go:45
← previousnext →101–200 of 265, ranked by callers