26 Apr
2023
26 Apr
'23
11:04
On 2023-04-26 12:44, Per Jessen wrote:
Andrei Borzenkov wrote:
(Can I write comments in xml file /etc/firewalld/zones/external.xml?)
Yes, use "<!-- comment -->". Can span multiple lines.
These files are modified by GUI and CLI so I am not sure these comments will be preserved.
That is a good point. The XML file is presumbly not intended as a user interface, so why keep comments. Unless the GUI/CLI permits adding comments, somehow.
I see easier to edit the file by hand to purge the excess of rules, but I need comments to know what is the purpose of this or that. SuSEfirewall2 accepted comments. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)