Commit Graph

2 Commits (704bdf89a2f4ede780e4ac3ed9599c4b975f316c)

Author SHA1 Message Date
Gusted ff2fd08228
Simplify parameter types ()
Remove repeated type declarations in function definitions.
wxiaoguang 013fb73068
Use `hostmatcher` to replace `matchlist`, improve security ()
Use hostmacher to replace matchlist.

And we introduce a better DialContext to do a full host/IP check, otherwise the attackers can still bypass the allow/block list by a 302 redirection.