hi all.
I’m working on a content filter system extension on MacOS.
I try to disable the filtering in system settings, and it will cause smb shared folder connection interrupted.
what I do in stopFilterWithReason:completionHandler:
is waiting for the connection that is being filtered be allowed, then invoked the completionHandler
.
did I do something wrong here? is there a way to avoid the connection interruption?
Starting and stopping a content filter will break existing network connections. This is a deliberate design choice, allowing the filter to ‘see’ all traffic.
However, this policy doesn’t work for all content filter implementations, and added some control over this is a popular enhancement request. We already have a bug on file about this, FB13516440
. If you want to be notified of any future fix, I recommend that you file your own bug and ask that it be marked as a dup of that one.
For general advice on how to file bugs, see Bug Reporting: How and Why?
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"