Post

Replies

Boosts

Views

Activity

Comment on Will turning on a network filter cut off VPNs?
NEFilterRule* allowfilterRule1 = [[NEFilterRule alloc] initWithNetworkRule:allownetworkRule1 action:NEFilterActionAllow]; networkRule = [[NENetworkRule alloc] initWithRemoteNetwork:nil remotePrefix:0 localNetwork:nil localPrefix:0 protocol:NENetworkRuleProtocolAny direction:NETrafficDirectionOutbound]; filterRule = [[NEFilterRule alloc] initWithNetworkRule:networkRule action:NEFilterActionFilterData];
Nov ’24
Comment on Will turning on a network filter cut off VPNs?
I can't see it in the network settings of the computer preferences. It is built into the app and can be used after logging into the app. I added the following code to allow the VPN-related domain name and IP before defining the filtering rules. After testing, I found that it would not cause the VPN to disconnect. Why is this? When adding the following code rules and starting the network filter, will the connection of the VPN domain name in the rule not be cut off?
Nov ’24
Comment on What is the principle behind the network filter developed through system expansion starting up with the computer's startup
According to your last tip, I created Network Extension sysex. I did not find the plist file related to my Network Extension sysex registered with launchd in the /System/Library/LaunchDaemons and /Library/LaunchDaemons directories, but I found Label: 'com.apple.sysextd', 'Program': '/System/Library/Frameworks/SystemExtensions.framework/Versions/A/Helpers/sysextd'. This is a daemon of the system extension framework. Is the system extension I activated registered in the system extension framework
Sep ’24
Comment on MDM activation of system extensions causes other apps to be killed
At first, all my test machines would report errors because my mdm file was configured incorrectly. I configured PluginBundleID as the bundleid of the system extension, and then changed it to the bundleid of the extension container app. The same network filtering program implemented with the network extension would not trigger SIGPIPE in 10, 11, 13, and 14.6.1, but would still trigger SIGPIPE in 12.6.0 and 14.5.0. And on the machine without mdm, 12.6.0 and 14.5.0 would still trigger SIGPIPE.
Sep ’24
Comment on After the app turns on system expansion and allows network expansion, can the app be deleted?
Regarding the first point you mentioned, I learned it from Apple's official document: https://developer.apple.com/documentation/systemextensions The system extension is in the Contents/Library/SystemExtensions directory of the application. My app program is only responsible for installing it using the OSSystemExtensionRequest provided in the document, and then the program will be found in the /Library/SystemExtensions directory.
Aug ’24