Serious Discussion Fort Firewall

Hi @tnodir, is Fort system service guarded against random application trying to interact with it? Like changing firewall settings for example.
If so, how does it verify the application that interact with the service is a legit application (Fort UI) and not some random app?
I see that you could set a password to protect against config change, is this password validated by the service or just the UI?

Thanks!
 
Can you link me to part of the code where the service validates the password?

1. Fort can work without Service, so it uses special *Rpc classes to communicate with service, when the service is installed.

2. ConfManager::checkPassword() is actual place where password is checked.
UI process uses ConfManagerRpc::checkPassword() to call the service function.

3. RPC calls are managed by RpcManager class.

4. The master and *Rpc classes are registered in the FortManager.cpp: setupServices() function.

5. Service's clients (i.e. UI processes) are checked for password validation: see ControlWorker::setIsClientValidated() usages.
 
Last edited: