MatsuriDayo / NekoBoxForAndroid

NekoBox for Android / sing-box / universal proxy toolchain for Android
https://matsuridayo.github.io/
Other
11.51k stars 972 forks source link

BUG: WhatsApp problem #391

Closed m1faridi closed 2 weeks ago

m1faridi commented 12 months ago

In version 1.2.8, WhatsApp does not work when connected to hy2 and SIM card internet, while version 1.2.7 works.

Misaka-blog commented 12 months ago

Please give full log, or closed issues

m1faridi commented 12 months ago

2023/10/30 08:27:39 [Debug] [ProxyInstance] { "dns": { "independent_cache": true, "rules": [ { "domain": [ "dns.google" ], "server": "dns-direct" } ], "servers": [ { "address": "https://dns.google/dns-query", "address_resolver": "dns-direct", "strategy": "ipv4_only", "tag": "dns-remote" }, { "address": "local", "address_resolver": "dns-local", "detour": "direct", "strategy": "ipv4_only", "tag": "dns-direct" }, { "address": "local", "detour": "direct", "tag": "dns-local" }, { "address": "rcode://success", "tag": "dns-block" } ] }, "inbounds": [ { "listen": "127.0.0.1", "listen_port": 6450, "override_address": "8.8.8.8", "override_port": 53, "tag": "dns-in", "type": "direct" }, { "domain_strategy": "", "endpoint_independent_nat": true, "inet4_address": [ "172.19.0.1/28" ], "mtu": 9000, "sniff": true, "sniff_override_destination": false, "stack": "mixed", "tag": "tun-in", "type": "tun" }, { "domain_strategy": "", "listen": "127.0.0.1", "listen_port": 2080, "sniff": true, "sniff_override_destination": false, "tag": "mixed-in", "type": "mixed" } ], "log": { "level": "trace" }, "outbounds": [ { "down_mbps": 0, "hop_interval": 10, "password": "8169581fs", "server": "95.164.16.252", "server_port": 443, "tls": { "alpn": [ "h3" ], "enabled": true, "insecure": true, "server_name": "bing.com" }, "up_mbps": 0, "type": "hysteria2", "domain_strategy": "", "tag": "proxy" }, { "tag": "direct", "type": "direct" }, { "tag": "bypass", "type": "direct" }, { "tag": "block", "type": "block" }, { "tag": "dns-out", "type": "dns" } ], "route": { "auto_detect_interface": true, "rules": [ { "outbound": "dns-out", "port": [ 53 ] }, { "inbound": [ "dns-in" ], "outbound": "dns-out" }, { "ip_cidr": [ "224.0.0.0/3", "ff00::/8" ], "outbound": "block", "source_ip_cidr": [ "224.0.0.0/3", "ff00::/8" ] } ] } } 2023/10/30 08:27:39 TRACE[0000] initializing inbound/direct[dns-in] 2023/10/30 08:27:39 INFO[0000] inbound/direct[dns-in]: tcp server started at 127.0.0.1:6450 2023/10/30 08:27:39 INFO[0000] inbound/direct[dns-in]: udp server started at 127.0.0.1:6450 2023/10/30 08:27:39 TRACE[0000] initializing inbound/tun[tun-in] 2023/10/30 08:27:39 TRACE[0000] inbound/tun[tun-in]: opening interface 2023/10/30 08:27:39 TRACE[0000] inbound/tun[tun-in]: creating stack 2023/10/30 08:27:39 TRACE[0000] inbound/tun[tun-in]: starting stack 2023/10/30 08:27:39 WARN[0000] inbound/tun[tun-in]: bind forwarder to interface: route ip+net: netlinkrib: permission denied 2023/10/30 08:27:39 INFO[0000] inbound/tun[tun-in]: started at tun 2023/10/30 08:27:39 TRACE[0000] initializing inbound/mixed[mixed-in] 2023/10/30 08:27:39 INFO[0000] inbound/mixed[mixed-in]: tcp server started at 127.0.0.1:2080 2023/10/30 08:27:39 INFO[0000] sing-box started (0.22s) 2023/10/30 08:27:39 [Debug] [TrafficLooper] traffic count proxy to 1 2023/10/30 08:27:39 INFO[0000] [846366431 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:12194 2023/10/30 08:27:39 INFO[0000] [846366431 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53 2023/10/30 08:27:39 DEBUG[0000] [846366431 0ms] router: sniffed packet protocol: dns 2023/10/30 08:27:39 DEBUG[0000] [846366431 0ms] router: match[0] port=53 => dns-out 2023/10/30 08:27:39 DEBUG[0000] dns: exchange mtalk.google.com. IN A 2023/10/30 08:27:39 DEBUG[0000] dns: exchanged dns.google NOERROR 60 2023/10/30 08:27:39 INFO[0000] dns: exchanged dns.google A dns.google. 60 IN A 10.10.34.35 2023/10/30 08:27:39 INFO[0000] [784152328 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:45496 2023/10/30 08:27:39 INFO[0000] [784152328 0ms] inbound/tun[tun-in]: inbound packet connection to 8.8.4.4:53 2023/10/30 08:27:39 DEBUG[0000] [784152328 1ms] router: sniffed packet protocol: dns 2023/10/30 08:27:39 DEBUG[0000] [784152328 1ms] router: match[0] port=53 => dns-out 2023/10/30 08:27:39 DEBUG[0000] dns: exchange g.whatsapp.net. IN AAAA 2023/10/30 08:27:39 DEBUG[0000] dns: strategy rejected 2023/10/30 08:27:39 DEBUG[0000] dns: exchange g.whatsapp.net. IN A 2023/10/30 08:27:40 INFO[0001] outbound/hysteria2[proxy]: outbound connection to cp.cloudflare.com:80 2023/10/30 08:27:40 INFO[0001] [2296387221 0ms] inbound/tun[tun-in]: inbound connection from 22.152.82.31:43790 2023/10/30 08:27:40 INFO[0001] [2296387221 0ms] inbound/tun[tun-in]: inbound connection to 127.0.0.1:853 2023/10/30 08:27:40 DEBUG[0001] [2296387221 0ms] router: sniffed protocol: tls 2023/10/30 08:27:40 INFO[0001] [2296387221 1ms] outbound/hysteria2[proxy]: outbound connection to 127.0.0.1:853 2023/10/30 08:27:40 DEBUG[0001] [2296387221 567ms] inbound/tun[tun-in]: connection closed: upload: raw-read tcp4 172.19.0.1:44769->172.19.0.2:10000: use of closed network connection | download: remote error: dial tcp4 127.0.0.1:853: connect: connection refused 2023/10/30 08:27:42 INFO[0003] [2708722686 0ms] inbound/tun[tun-in]: inbound packet connection from 172.19.0.1:18669 2023/10/30 08:27:42 INFO[0003] [2708722686 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53 2023/10/30 08:27:42 DEBUG[0003] [2708722686 0ms] router: sniffed packet protocol: dns 2023/10/30 08:27:42 DEBUG[0003] [2708722686 0ms] router: match[0] port=53 => dns-out 2023/10/30 08:27:42 DEBUG[0003] dns: exchange i.instagram.com. IN A 2023/10/30 08:27:44 INFO[0005] [851295008 0ms] inbound/tun[tun-in]: inbound packet connection from 22.152.82.31:64432 2023/10/30 08:27:44 INFO[0005] [851295008 0ms] inbound/tun[tun-in]: inbound packet connection to 172.19.0.2:53 2023/10/30 08:27:44 DEBUG[0005] [851295008 0ms] router: sniffed packet protocol: dns 2023/10/30 08:27:44 DEBUG[0005] [851295008 0ms] router: match[0] port=53 => dns-out 2023/10/30 08:27:44 DEBUG[0005] dns: exchange alt3-mtalk.google.com. IN A 2023/10/30 08:27:44 DEBUG[0005] dns: exchange mtalk.google.com. IN A 2023/10/30 08:27:44 INFO[0005] outbound/hysteria2[proxy]: outbound connection to 10.10.34.35:443

m1faridi commented 12 months ago

NB4A 2344419928734745161.log The same problem exists in version 1.2.9 But it is not in version 1.2.7

MintouZintou commented 6 months ago

Did you find a fix to the problem ? I have same problem in Samantel sim card on Google pixel device.