Hello,
I have a requirement to be able to filter all network connections on a (macOS) device and essentially drop all network communication once a command is received.
How can I ensure that existing connections are dropped that weren't previously managed by the content filter?
One way I can think of is we can start our content filter from the start and manage all connections and every inbound and outbound data traffic each connection makes all the time. This is not ideal since we would have to monitor a very large amount of connections.
Is there another way to implement this functionality?