macronut / phantomsocks

A cross-platform proxy client/server for Linux/Windows/macOS
GNU Lesser General Public License v3.0
453 stars 18 forks source link

Lose all connection after phantomsocks was engaged on Mac OS #56

Closed UnCLAS-Prommer closed 1 year ago

UnCLAS-Prommer commented 1 year ago

When I was trying to use the latest version of phantomsocks, I will lose all connection.

Platform: Mac OS 13.1 GO version: 1.18.10 Tags: -tags pcap

Browser Output:

Can not reach this page
ERR_SOCKS_CONNECTION_FAILED

Logs created by phantomsocks (latest version) :

map[Github:{en0 tcp://208.67.220.220:5353 67175424 0 16 0 0 } pixiv:{en0 208.67.222.222:5353 67179520 0 12 0 0 }]
Socks: 127.0.0.1:22413
Device: en0

Strangely, no more logs are created, which is different from the version I'm using currently.

Logs created by phantomsocks (my version) :

map[Github:{en0 tcp://208.67.220.220:5353 65601 0 16 0 0 } default:{en0 tcp://208.67.220.220:5353 4 0 0 0 0 } pixiv:{en0 208.67.222.222:5353 65605 0 12 0 0 }]
[Github] &{en0 tcp://208.67.220.220:5353 65601 0 16 0 0 }
[pixiv] &{en0 208.67.222.222:5353 65605 0 12 0 0 }
[default] &{en0 tcp://208.67.220.220:5353 4 0 0 0 0 }
/Users/XXX/phantomsocks-main/default.conf
Socks: 127.0.0.1:22413
Device: en0
Socks: cn.bing.com 443 &{en0 tcp://208.67.220.220:5353 4 0 0 0 0 }
Socks: edge.microsoft.com 443 &{en0 tcp://208.67.220.220:5353 4 0 0 0 0 }
Socks: google.com.hk 443 &{en0 tcp://208.67.220.220:5353 4 0 0 0 0 }
...
macronut commented 1 year ago

https://github.com/macronut/phantomsocks/commit/90cb80e9505701b389d0fac8e86e1f6e8ae03c57