This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How does XG WebAdmin work with and modify the underlying code?

In the UTM, WebAdmin is a GUI that uses confd-client to modify setting and object databases.  The config daemon writes the actual code that runs the UTM.

ManBearPig said in another thread that there's no config daemon in XG.

Perhaps a clearer explanation of what's happening under the covers would give insight into how to think about what makes an efficient, elegant XG configuration.

Cheers - Bob



This thread was automatically locked due to age.
Parents
  • This is just me speaking and i am not a developer. So basically my own idea of the SFOS. 

     

    Basically XG took another approach to the Config Daemon. 

    XG uses a database model to build all kind of configuration inside the OS. Instead of using a Daemon, we use a database.

    And at this point i mostly stopped digging deeper because, most likely like cc RAW, you can screw up the whole configuration if you try to change something via shell. 

    We use opcode´s to change the config, most likely like UTM confd. And those changes are printed in the Logs aswell. And like UTM, those logs are not visible via Logviewer(live log). 

    https://community.sophos.com/products/xg-firewall/f/sophos-xg-firewall-general-discussion/79041/troubleshooting-guide-for-xg

     

    *flag this as an answer*

    I think this answer should be enough to know about the SFOS architecture for now. Nearly every change on the Advanced Shell is not supported and should only be done by the Sophos Support / Sophos DEV. 

  • Thanks, MBP, but I wasn't thinking about how to make modifications in the shell.  I was thinking more about what was going on behind the scenes to help me get an intuitive feel for how things work.

    Are you saying that, rather than objects and settings, there are only settings and that those are consulted on-the-fly for every decision SFOS makes?  Years ago, I programmed in APL and that's a bit like how it works.

    Cheers - Bob

Reply
  • Thanks, MBP, but I wasn't thinking about how to make modifications in the shell.  I was thinking more about what was going on behind the scenes to help me get an intuitive feel for how things work.

    Are you saying that, rather than objects and settings, there are only settings and that those are consulted on-the-fly for every decision SFOS makes?  Years ago, I programmed in APL and that's a bit like how it works.

    Cheers - Bob

Children