Transparent proxy breaks apps on macOS 15.7.8 RC 5

Hello!

Users of my app observed behaviour that some apps stopped working after update to 15.7.8 via Beta channel with transparent proxy network extension on.

The app receives Protocol not available error, and I see setsockopt SO_FLOW_DIVERT_TOKEN failed [42: Protocol not available] error in Console.

To reproduce, create two rules in basic NETransparentProxyProvider:

        [[NENetworkRule alloc] initWithDestinationNetwork:nil prefix:0 protocol:NENetworkRuleProtocolTCP],
        [[NENetworkRule alloc] initWithDestinationNetwork:nil prefix:0 protocol:NENetworkRuleProtocolUDP],

You may even return NO in handleNewFlow, it does not matter.

After that, Safari won't open some sites, and Weather app will work unreliably.

Do anyone knows any workaround for this problem?

I've also create a relevant FB23788740.

Just to confirm:

  1. You have an existing transparent proxy product.
  2. macOS 15 users will able to successfully use your product up to and including macOS 15.7.7.
  3. Once they update to 15.7.8 RC, they hit this problem.

Is that accurate?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Yes, this is accurate. No problems were on 15.7.7.

Transparent proxy breaks apps on macOS 15.7.8 RC 5
 
 
Q