I am new to IPFire but am generally advanced with my router, firewall and Linux knowledge.
Is it possible to bulk load Hosts and static leases? I can extract the files from my current router and can format them the same as /var/ipfire/main/hosts and /var/ipfire/dhcp/fixleases. If I then edit an entry in the web interface, will it trigger a bulk reload or do I also have to sort out /var/ipfire/dhcp/dhcpd.conf or is there a program I can call to activate the files? Or is there another procedure?
Thanks. I’ve just been playing with the fixed leases and “edited” and saved a lease and this regenerated the /var/ipfire/dhcp/dhcpd.conf file. I then tried your suggestion of just changing something in the top section and saving that and it also worked.
One thing I did notice is that the Webconfig should really do a refresh to the page once you do a submit or something like that so that if you then refresh the page yourself it does not try to re-submit your last save.
BTW, where are the sources for all this? My background is huge usage of ClearOS and part time development and bug fixing of it. I can read some code but never class myself as a proper programmer.
python, bash and C as well. If you need software that is not packaged, this is the documentation for developers (which could be improved). This is the github mirror, if you want to have a look at the code.