Android P上iptables中的tc_limiter

时间:2018-11-06 08:55:45

标签: android networking iptables

我正在开发网络Android APP。在Android P上进行测试时,使用sendto函数会收到错误“不允许操作”。然后,我检查了iptables设置。 OUTPUT链没有什么特别的,但是有一个名为tc_limiter的链。如果我从OUTPUT中删除此链,则错误消失了。

有人知道这个tc_limiter链吗?

以下是iptables设置:

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         
wmsctrl_OUTPUT  tcp  --  anywhere             anywhere            
DROP       udp  --  anywhere             anywhere             udp dpt:1900
...
tc_limiter  all  --  anywhere             anywhere       

Chain tc_limiter (2 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             owner UID match u0_a206
RETURN     all  --  anywhere             anywhere             owner UID match u0_a105
RETURN     all  --  anywhere             anywhere             owner UID match u0_a173
RETURN     all  --  anywhere             anywhere             owner UID match u0_a106
RETURN     all  --  anywhere             anywhere             owner UID match u0_a59
RETURN     all  --  anywhere             anywhere             owner UID match u0_a39
RETURN     all  --  anywhere             anywhere             owner UID match 0-9999
RETURN     tcp  --  anywhere             anywhere             tcp flags:!FIN,SYN,RST/NONE
RETURN     tcp  --  anywhere             anywhere             length 0:53 tcp flags:ACK/ACK

0 个答案:

没有答案