Open GermainZ opened 11 years ago
/proc/net/xt_qtaguid/stats is the source for the stats. As it is read with su I guess your kernel does not write it. Could you check?
/proc/net/ doesn't have the xt_qtaguid directory. Could BBS read what's in /proc/uid_stat/ as a fallback?
localhost net # cd /proc/uid_stat/
localhost uid_stat # ls
10003 10034 10068 10089 10096 10117
10010 10043 10085 10090 10099 10118
10012 10044 10088 10093 10104 10119
localhost uid_stat # ls 10003
tcp_rcv tcp_snd udp_rcv udp_snd
tcp_rcv_pkt tcp_snd_pkt udp_rcv_pkt udp_snd_pkt
localhost uid_stat # cat 10003/tcp_rcv; cat 10003/tcp_snd
128421
5033
Please help! LG-G3s, Android 8.1, Network tab is completely empty, BBS v2.3.248/v2.5-325
jag3gds:/ # id uid=0(root) gid=0(root) groups=0(root),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(ne t_bt),3003(inet),3006(net_bw_stats),3009(readproc),3011(uhid) context=u:r:su:s0 jag3gds:/ # getenforce Permissive jag3gds:/ # cat /proc/net/xt_qtaguid/stats idx iface acct_tag_hex uid_tag_int cnt_set rx_bytes rx_packets tx_bytes tx_packets rx_tcp_bytes rx_tcp_packets rx_udp_bytes rx_u dp_packets rx_other_bytes rx_other_packets tx_tcp_bytes tx_tcp_packets tx_udp_bytes tx_udp_packets tx_other_bytes tx_other_packe ts 2 wlan0 0x0 0 0 63804 989 153323 2322 15878 271 29294 232 18632 486 15812 338 11787 182 125724 1802 3 wlan0 0x0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 4 wlan0 0x0 1000 0 13358 74 10840 86 6446 62 6912 12 0 0 10840 86 0 0 0 0 5 wlan0 0x0 1000 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 6 wlan0 0x0 10052 0 4444 8 1335 9 4444 8 0 0 0 0 1335 9 0 0 0 0 7 wlan0 0x0 10052 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 8 wlan0 0x0 10085 0 1210458 1533 262613 1865 1210458 1533 0 0 0 0 262613 1865 0 0 0 0 9 wlan0 0x0 10085 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 10 wlan0 0x0 10087 0 18998 40 8708 53 18998 40 0 0 0 0 8708 53 0 0 0 0 11 wlan0 0x0 10087 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 12 wlan0 0x0 10091 0 10695271 8658 746101 6075 10695271 8658 0 0 0 0 746101 6075 0 0 0 0 13 wlan0 0x0 10091 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 14 wlan0 0x0 10094 0 41727 50 12727 68 41727 50 0 0 0 0 12727 68 0 0 0 0 15 wlan0 0x0 10094 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16 rmnet0 0x0 0 0 3311 41 151530 2541 280 7 3031 34 0 0 514 9 2288 34 148728 2498 17 rmnet0 0x0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 rmnet0 0x0 1000 0 39274 223 29635 269 39046 220 228 3 0 0 29407 266 228 3 0 0 19 rmnet0 0x0 1000 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 20 rmnet0 0x0 10087 0 434 4 454 5 434 4 0 0 0 0 454 5 0 0 0 0 21 rmnet0 0x0 10087 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 22 p2p0 0x0 0 0 0 0 31488 492 0 0 0 0 0 0 0 0 0 0 31488 492 23 p2p0 0x0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 24 lo 0x0 0 0 0 0 616 7 0 0 0 0 0 0 0 0 0 0 616 7 25 lo 0x0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 26 lo 0x0 10085 0 616 7 0 0 0 0 0 0 616 7 0 0 0 0 0 0 27 lo 0x0 10085 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 28 dummy0 0x0 0 0 0 0 168 3 0 0 0 0 0 0 0 0 0 0 168 3 29 dummy0 0x0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Виталий, попробуй, пожалуйста, удалить программу, очистить кэш и установить её заново с предоставлением разрешений. Решение так себе, но один раз мне помогало.:-)
With root features enabled and root granted, the Network tab is completely empty. Alarms show fine.
Logcat: