NetSecGame icon indicating copy to clipboard operation
NetSecGame copied to clipboard

firewall is not working when using `use_dynamic_addresses = True`

Open harpomaxx opened this issue 1 year ago • 0 comments

I have identified several issues regarding the firewall and the use of dynamic addresses:

  • The configuration option in the yaml for setting the firewall use_firewall is not working. Firewall is always active when you use dynamic addresses
  • self._firelwall in nework_security_game is not updated correctly when use_dynamic_addresses is set. As a consequence, when you want to run more than 1 episode the agent got stuck for an apparent KeyError exception hidden
  • No matter what action you take, the environment is not updated. You scan a network that you are allowed to do, but no hosts are found since firewall blocks you for doing so. (no matter if you unset the firewall in the yaml conf file..)

harpomaxx avatar Jan 15 '25 00:01 harpomaxx