I've been fooling around with trying to make shorwall.lrp smaller. By removing essentially empty files from /etc/shorewall and by stripping comments from the scripts and from shorewall.conf, I've achieved the following with the Shorewall 1.4.0 Beta2 candidate:

Before:

-rw-r--r-- 1 root root 51123 Feb 22 06:57 shorwall-1.4.0.lrp

After:

-rw-r--r-- 1 root root 30426 Feb 24 17:30 shorwall-1.4.0.lrp

The script that I used to strip the comments from shorewall.conf, /sbin/shorewall, /usr/share/shorewall/firewall and /usr/share/shorewall/functions may be found at:

ftp://ftp1.shorewall.net/pub/shorewall/contrib/stripscript

That scripts works under RH8.0 -- no guarantees about anywhere else. Don't use the script on any file in /etc/shorewall except shorewall.conf and params (if you keep that file). The script removes the final comment line which is essential for proper functioning of the rest of the files.

-Tom
--
Tom Eastep   \ Shorewall - iptables made easy
Shoreline,    \ http://www.shorewall.net
Washington USA \ [EMAIL PROTECTED]



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to