When running a NETransparentProxyProvider system extension, if we connect to a Captive Wi-Fi network we don't see the Captive Portal page presented by Captive Network Assistant. If we open a browser and visit captive.apple.com we are able to access the Captive Portal page. In the case where we do not have our system extension running we are automatically presented the Captive Portal page by Captive Network Assistant.
We have also tested a version of our NETransparentProxyProvider in which we always return false in handleNewFlow. Doing this, we still do not see the Captive Portal page displayed.
We can only produce this issue on macOS 12 Monterey. We do not see the issue on the latest macOS 13 Ventura version. How can we get the Captive Portal page to automatically open up while we have the system extension running?
Post
Replies
Boosts
Views
Activity
Hello,
Our users are seeing random crashes in our packet filter system extension on macOS. Any help pointing me in the right direction to either avoid the issue or fix it would be greatly appreciated. Attached is the crash log.
Thank you.
packetfilter.crash
Crashed Thread: 2 Dispatch queue: com.apple.network.connections
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000112918700
Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Bus error: 10
Termination Reason: Namespace SIGNAL, Code 0xa
Terminating Process: exc handler [40687]
...
Thread 2 Crashed:: Dispatch queue: com.apple.network.connections
0 libsystem_kernel.dylib 0x00007fff2089b46e os_channel_get_next_slot + 230
1 com.apple.NetworkExtension 0x00007fff2e2e2643 __40-[NEFilterPacketInterpose createChannel]_block_invoke + 560
2 libdispatch.dylib 0x00007fff20718806 _dispatch_client_callout + 8
3 libdispatch.dylib 0x00007fff2071b1b0 _dispatch_continuation_pop + 423
4 libdispatch.dylib 0x00007fff2072b564 _dispatch_source_invoke + 2061
5 libdispatch.dylib 0x00007fff20720318 _dispatch_workloop_invoke + 1784
6 libdispatch.dylib 0x00007fff20728c0d _dispatch_workloop_worker_thread + 811
7 libsystem_pthread.dylib 0x00007fff208bf45d _pthread_wqthread + 314
8 libsystem_pthread.dylib 0x00007fff208be42f start_wqthread + 15
I have an installation workflow that works by a user double clicking on the mpkg and going through the prompts to install some software. Within the postinstall of the mpkg, /usr/sbin/installer -pkg "path_to_pkg" -target / is done to install additional software.
The software contained in the mpkg contains system extensions and installs without issue.
The software contained in the pkg file also contains system extensions and a prompt with this message displayed.
"XSoftware" is damaged and can't be opened. You should move it to the Trash
This file was downloaded on an unknown date.
This is causing issues with the system extension being installed from XSoftware.
Curiously enough, when I run /usr/sbin/installer -pkg "path_to_pkg" -target / manually in a terminal window it works successfully and XSoftware is able to install the System Extensions and run properly.
I've used the pkgutil --check-signature to check the notarization and signing and it looks correct.
This is my dmg structure:
dmg
|
mpkg
data_folder
|
pkg
Any suggestions or help would be greatly appreciated. I can provide more details if neccessary.
When our NETransparentProxyProvider system extension is installed on the system it seems that external images from emails do not load on the Mail application. The extension does not have to be running to experience this issue.
When we uninstall the extension, these same images load on the Mail application. Another way to get the images to load seems to be to disable "Hide IP address" under Settings > Privacy.
We can see this issue present on the latest macOS 14.5. I have filed FB13805670 for this issue.
Please advise if this is a known issue or if there is a solution.