[ previous ] [ next ] [ threads ]
 
 From:  Vincent Fleuranceau <vincent at bikost dot com>
 To:  Peter Allgeyer <allgeyer at web dot de>
 Cc:  m0n0wall dash dev at lists dot m0n0 dot ch
 Subject:  Re: [m0n0wall-dev] Version numbering in config.xml
 Date:  Wed, 23 Feb 2005 19:55:29 +0100
> 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