On 06/07/2011 08:18 AM, Mr Dash Four wrote:

> 
> Since 20-Beta5 I thought that needed changing as there were a lot of 
> options introduced in one go in that version, so I designed the script I 
> attached earlier. It works and I use it in my rpm files (both during 
> building of shorewall as well as in the %post section during 
> installation/upgrade) and it does a good job as it merges my old options 
> with the new, giving preference to what I have already selected in my 
> old shorewall.conf file.

One word of warning to anyone tempted to adopt Dash's script -- it
doesn't handle a params file, so any settings in the existing
shorewall.conf that derive from variables set in params will end up with
an empty value.

> 
> I am hoping something will be done in 20.x because as it is now, there 
> is no way to have that merged unless one is patient enough to check 
> (i.e. diff) old and new options every single time shorewall is released.

I'll not do anything with this in a patch release, but rather in one of
the early .21 betas.

> 
> I am planning an improved version of my update-shorewall-config script 
> to include more information as to what were old (deprecated) and what 
> were new (missing in the 'old') options in the resulting shorewall.conf 
> file, something like this:
> 
> #DEPRECATED USE_ACTIONS=Yes
> 
> #NEW introduced in 4.4.20 - DEFAULT value selected
> SMURF_DISPOSITION=DROP

Good idea.

-Tom
-- 
Tom Eastep        \ When I die, I want to go like my Grandfather who
Shoreline,         \ died peacefully in his sleep. Not screaming like
Washington, USA     \ all of the passengers in his car
http://shorewall.net \________________________________________________

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to