> Hello,
>
> what does "<version>1.4</version>" in config.xml mean? I'm asking
> because I can't find any good way to map between a backed up config and
> a running version of m0n0wall. There are two ways: branding the name of
> the config file or adding a version section like above.
Peter,
I'd say it's a version number for the configuration *format* itself and
the corresponding parsing routines, which depend on m0n0wall version.
It's supposed to warn people when they mix config.xml versions and
m0n0wall versions. For example:
"WARNING! The current configuration has been created with
a newer version of m0n0wall than this one! This can lead
to serious misbehavior and even security holes! You are
urged to either upgrade to a newer version of m0n0wall
or revert to the default configuration immediately!"
Take a look at /etc/inc/config.inc (function convert_config in particular).
-- Vincent |