feat: set Limit for socks5 analyzer

This commit is contained in:
KujouRinka 2024-01-26 11:31:11 +08:00
parent d2d4fa723a
commit f004d17522

View File

@ -35,7 +35,7 @@ func (a *Socks5Analyzer) Name() string {
func (a *Socks5Analyzer) Limit() int {
// TODO: more precise calculate
return 0
return 1298
}
func (a *Socks5Analyzer) NewTCP(info analyzer.TCPInfo, logger analyzer.Logger) analyzer.TCPStream {