Any way to update filter rule on the run for app proxy

Hi there,

Just to check with you any way to update filter rules on the run for app proxy.

The setting up of filter rules is like below codes.

let settings = NETransparentProxyNetworkSettings.init(tunnelRemoteAddress: "127.0.0.1")
		settings.includedNetworkRules = ...
		settings.excludedNetworkRules = ...
		setTunnelNetworkSettings(settings) { ... }

That is inside startProxy() function followed by proxy start. I wonder is it possible to update these rules without restarting the proxy.

Thanks in advance for any suggestion.

Regards

Richard

That is inside startProxy() function followed by proxy start. I wonder is it possible to update these rules without restarting the proxy.

The provider needs to be restarted for any rules you add/remove to take affect. I should mention that hot-restarting the provider over and over on the fly is not a recommended path either.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
Any way to update filter rule on the run for app proxy
 
 
Q