Post

Replies

Boosts

Views

Activity

Reply to Network Extension battery usage issue
This is a common problem affecting app using its own NE implementation (instead of using iOS's built-in VPN clients), e.g. commonly seen with VPN/PacketTunnelProviders. https://developer.apple.com/forums/thread/99042 Apple doesn't appear to be interested in fixing this, since they did nothing with the bug reported in that discussion thread. There must be some way to get Apple to do something about this. The battery impact is likely calculated based on the estimated cpu and radio usage for the traffic performed by the NE, so a simple thing for them would be to deduct the "inside" traffic being performed by apps going thru the NE from the "outside" traffic blamed on the NE when calculating battery usage.
Nov ’23
Reply to Check the status of iCloud Private Relay
I'm running into another case where it would be good to know if iCloud Private Relay is enabled: It breaks port 80 traffic for my PacketTunnelProvider. There are others also reporting this, e.g. https://developer.apple.com/forums/thread/687630 It would be better to have a fix specifically for that issue, but lacking that, I can at least implement a fallback if there was some way to programmatically detect if Private Relay was enabled.
Oct ’21
Reply to Private Relay interferes with NetworkExtension, breaks port 80 traffic
Seeing this as well, and with iOS 15 GM. However, we discovered that "no route to host" error is only occurring with sockets, e.g. not with NWTCPConnection. Unfortunately, there are reasons we need to use sockets directly (e.g. setting socket options, binding to the network interface, etc), so this is not a viable solution. Can someone at Apple provide guidance on what we can do about this?
Topic: Community SubTopic: Apple Developers Tags:
Oct ’21
Reply to Battery statistical issue for Packet Tunnel Provider
@eskimo - Filed bug report FB13425443, so hopefully we can get some guidance on how to address this for our VPN implementation.
Replies
Boosts
Views
Activity
Dec ’23
Reply to Battery statistical issue for Packet Tunnel Provider
@eskimo - I and others with PacketTunnelProvider implementation would benefit from the feedback. Presumably they affect every other vendor. How can we get access to these suggestions, e.g. do we need to file our own bug or ?
Replies
Boosts
Views
Activity
Nov ’23
Reply to Network Extension battery usage issue
This is a common problem affecting app using its own NE implementation (instead of using iOS's built-in VPN clients), e.g. commonly seen with VPN/PacketTunnelProviders. https://developer.apple.com/forums/thread/99042 Apple doesn't appear to be interested in fixing this, since they did nothing with the bug reported in that discussion thread. There must be some way to get Apple to do something about this. The battery impact is likely calculated based on the estimated cpu and radio usage for the traffic performed by the NE, so a simple thing for them would be to deduct the "inside" traffic being performed by apps going thru the NE from the "outside" traffic blamed on the NE when calculating battery usage.
Replies
Boosts
Views
Activity
Nov ’23
Reply to NSURLSession from NEPacketTunnelProvider goes back thru itself and fails
I inadvertently included some private details in the message above, so I need to delete this and repost it w/o those details. Is that possible?
Replies
Boosts
Views
Activity
Jan ’23
Reply to NSURLSession from NEPacketTunnelProvider goes back thru itself and fails
I inadvertently included some private details in the message above, so I need to delete this and repost it w/o those details. Is that possible?
Replies
Boosts
Views
Activity
Jan ’23
Reply to Check the status of iCloud Private Relay
I'm running into another case where it would be good to know if iCloud Private Relay is enabled: It breaks port 80 traffic for my PacketTunnelProvider. There are others also reporting this, e.g. https://developer.apple.com/forums/thread/687630 It would be better to have a fix specifically for that issue, but lacking that, I can at least implement a fallback if there was some way to programmatically detect if Private Relay was enabled.
Replies
Boosts
Views
Activity
Oct ’21
Reply to Private Relay interferes with NetworkExtension, breaks port 80 traffic
Seeing this as well, and with iOS 15 GM. However, we discovered that "no route to host" error is only occurring with sockets, e.g. not with NWTCPConnection. Unfortunately, there are reasons we need to use sockets directly (e.g. setting socket options, binding to the network interface, etc), so this is not a viable solution. Can someone at Apple provide guidance on what we can do about this?
Topic: Community SubTopic: Apple Developers Tags:
Replies
Boosts
Views
Activity
Oct ’21