mirror of
https://github.com/zr-hebo/sniffer-agent.git
synced 2025-08-12 03:13:02 +08:00
expand tcp cahce size
This commit is contained in:
@@ -71,7 +71,7 @@ func initEthernetHandlerFromPacpgo() (handler *pcapgo.EthernetHandle) {
|
||||
panic(err.Error())
|
||||
}
|
||||
|
||||
_ = handler.SetCaptureLength(65535)
|
||||
_ = handler.SetCaptureLength(1024*1024*5)
|
||||
|
||||
return
|
||||
}
|
||||
|
@@ -18,9 +18,9 @@ type QueryPiece interface {
|
||||
|
||||
// MysqlQueryPiece 查询信息
|
||||
type MysqlQueryPiece struct {
|
||||
SessionID *string `json:"-"`
|
||||
ClientHost *string `json:"cip"`
|
||||
ClientPort int `json:"cport"`
|
||||
SessionID *string `json:"cid"`
|
||||
ClientHost *string `json:"-"`
|
||||
ClientPort int `json:"-"`
|
||||
SyncSend bool `json:"-"`
|
||||
ServerIP *string `json:"sip"`
|
||||
ServerPort int `json:"sport"`
|
||||
|
Reference in New Issue
Block a user