You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Who knows why IOS can not access any network after using WiFi and cellular data connection?
The real problem
After Apple turned off KVC FD of nepacketflow on IOS 18+, libboxgettunnelfiledescriptor() can still scan the real utun FD (confirmed in our log
utun7), But this FD direct read() will never get the packet - the system will only push the packet to the packetflow. Readpackets() callback of objc.
So the status quo:
-Sing box holds utun7 FD in syscall read. Read is always hung, traffic=0
-The urltest (HTTP client → outbound socket → proxy server inside the sing box) works instead, so "it seems verified"
-Packets sent by the user app → the system sends them to utun7 according to the route of includeallnetworks → the sing box cannot read → all are lost
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Who knows why IOS can not access any network after using WiFi and cellular data connection?
The real problem
After Apple turned off KVC FD of nepacketflow on IOS 18+, libboxgettunnelfiledescriptor() can still scan the real utun FD (confirmed in our log
utun7), But this FD direct read() will never get the packet - the system will only push the packet to the packetflow. Readpackets() callback of objc.
So the status quo:
-Sing box holds utun7 FD in syscall read. Read is always hung, traffic=0
-The urltest (HTTP client → outbound socket → proxy server inside the sing box) works instead, so "it seems verified"
-Packets sent by the user app → the system sends them to utun7 according to the route of includeallnetworks → the sing box cannot read → all are lost
Beta Was this translation helpful? Give feedback.
All reactions