mirror of
https://github.com/apernet/OpenGFW.git
synced 2024-11-11 04:49:22 +08:00
feat: set Limit for socks5 analyzer
This commit is contained in:
parent
d2d4fa723a
commit
f004d17522
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user