feat: IN-TYPE rule support

eg. IN-TYPE,SOCKS/REDIR/INNER,Proxy
support list: HTTP HTTPS SOCKS SOCKS4 SOCKS5 REDIR TPROXY TUN INNER
This commit is contained in:
adlyq
2022-05-20 23:17:16 +08:00
parent 0f43a19fdb
commit 3ab82849d4
8 changed files with 114 additions and 7 deletions

View File

@ -16,6 +16,7 @@ const (
RuleSet
Network
Uid
INTYPE
MATCH
AND
OR
@ -56,6 +57,8 @@ func (rt RuleType) String() string {
return "Network"
case Uid:
return "Uid"
case INTYPE:
return "InType"
case AND:
return "AND"
case OR: