Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bugwz/hamburg
/ functions
Functions
49 in github.com/bugwz/hamburg
⨍
Functions
49
◇
Types & classes
17
↓ 3 callers
Function
AddFilters
AddFilters add some filter rules
utils/utils.go:172
↓ 2 callers
Method
FitSlow
FitSlow verify that the request is too slow
src/state.go:84
↓ 2 callers
Method
Run
(v *Packet)
parser/parser.go:45
↓ 1 callers
Method
AddDuration
AddDuration incr time-consuming interval count
src/state.go:67
↓ 1 callers
Function
FileIsExist
FileIsExist check file
utils/utils.go:17
↓ 1 callers
Method
GetDuration
GetDuration get duration
src/sniffer.go:106
↓ 1 callers
Method
GetLayers
GetLayers layers
src/parser.go:174
↓ 1 callers
Method
GetStartTime
GetStartTime set start time
src/sniffer.go:101
↓ 1 callers
Method
IncrReqRsp
IncrReqRsp incr request and response
src/state.go:58
↓ 1 callers
Method
NICDetail
NICDetail nic detail
src/sniffer.go:111
↓ 1 callers
Function
NewParser
NewParser new parser
src/parser.go:26
↓ 1 callers
Function
NewSniffer
NewSniffer new sniffer
src/sniffer.go:50
↓ 1 callers
Function
NewState
NewState new state
src/state.go:39
↓ 1 callers
Method
ParseEthernetLayer
ParseEthernetLayer ethernet layer
src/parser.go:187
↓ 1 callers
Method
ParseIPLayer
ParseIPLayer ip layer
src/parser.go:198
↓ 1 callers
Method
ParsePackets
ParsePackets parser packets
src/hamburg.go:111
↓ 1 callers
Method
ParseTCPLayer
ParseTCPLayer tcp layer
src/parser.go:209
↓ 1 callers
Method
ParseUDPLayer
ParseUDPLayer udp layer
src/parser.go:220
↓ 1 callers
Method
Run
Run run
src/hamburg.go:58
↓ 1 callers
Method
RunScript
RunScript run custom script
src/parser.go:56
↓ 1 callers
Method
SavePackets
SavePackets save packets to local file
src/hamburg.go:173
↓ 1 callers
Method
Scheduler
Scheduler schedule process
src/hamburg.go:89
↓ 1 callers
Method
SetDirection
SetDirection set request direction
src/hamburg.go:181
↓ 1 callers
Method
SetStartTime
SetStartTime set start time
src/sniffer.go:96
↓ 1 callers
Method
ShowStats
ShowStats show stats
src/state.go:93
↓ 1 callers
Method
UnpackLayers
UnpackLayers parse all layers
src/parser.go:88
↓ 1 callers
Function
setconf
(c *s.Conf)
main.go:54
Function
GetAllDevices
GetAllDevices get all network interface
utils/utils.go:66
Function
GetIPs
GetIPs get ips
utils/utils.go:29
Function
GetLocalIPs
GetLocalIPs get the specified network interface info
utils/utils.go:103
Function
GetNIC
GetNIC network interface details
utils/utils.go:186
Function
GetPacketReader
GetPacketReader get packet reader
utils/utils.go:83
Function
GetPacketWriter
GetPacketWriter get packet writer
utils/utils.go:123
Function
GetPorts
GetPorts get ports
utils/utils.go:47
Function
NewConf
NewConf new conf
src/conf.go:21
Function
NewHamburg
NewHamburg new hamburg
src/hamburg.go:29
Function
NewParser
NewParser new parser
parser/parser.go:49
Function
PacketFilter
PacketFilter set packet filtering rules
utils/utils.go:140
Method
Run
Run parse packets
parser/http.go:12
Method
Run
Run parse packets
parser/redis.go:20
Method
Run
Run parse packets
parser/mongodb.go:11
Method
Run
Run parse packets
parser/dns.go:137
Method
Run
Run parse packets
parser/mysql.go:69
Method
Run
Run parse packets
parser/raw.go:11
Method
Run
Run parse packets
parser/memcached.go:18
Method
Run
Run run parser by protocol
src/parser.go:51
Function
init
()
main.go:36
Function
main
()
main.go:68
Function
usage
()
main.go:19