-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/05/2016 04:16 AM, Louis Lagendijk wrote: > Hi Tom, I am using shorewall to manage the firewalls on most of my > VMs. I use shorewall lite on my VM's. > > Today I did a long overdue configuration update on the > configuration on the different VMs. > > Request 1: I used symlinks for a lot of the configuration files > that are common on all VMs. After a "shorewall update ." on the > configuration a lot of the files were updated and replaced by the > updated files in the working directory. Would it be possible to > find a way whereby the backup is saved as a new file and the file > pointed at by the symlink is modified in place? It might even be > better to follow the symlink and make the modifications in the > directory it points to (save the .bak there)? > > Request 2: shorewall remote-reload and friends require the remote > system name to be specified. Would it be possible to check a > parameter (for example from params) and make the system name > optional? This will avoid the risk of reloading the wrong system if > the admin is absent minded :-) >
Hi Louis, Request 1: If, rather than using symlinks, you place the commmon files in a separate directory and include that directory on the CONFIG_PATH, then 'update' can find them and update them in their own directory. Request 2: I will do something in Shorewall 5.0.13. Regards, - -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 \________________________________________________ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJX9STIAAoJEJbms/JCOk0QE0gP/0AAOwuBWgTSVNwEua+23xtw atbjKrBDPIy9GnaZDcyipa3e0l932YmHeYWESs0iiSYpx3IqbWqvgd0HZu6ccTOG j6X1qVf31i5IIpL7r6NdrnG9ogH11kuuUdlYMt6Xu//RuqpaC4OlC2bn5aPzUDau AF3pKcbwEQ5hRGh8ir/jcYR6zz7AorQJX8kw+5WAr7W8rxm/PPtSbtd2FUoVYN1E A1K7WjA/20iP0/WNWEYdGsTLXL+eJ6nyM8VjZyNomBf2wQsv/GEhYbOefmhOQPKC bkV1BDQnk8EvsWT64DYv1jIqTh++3kaRy77wGzCW+7s3OSgHSeQhraJZ9JGGpKgr GbhaQRJEaEwPqvu/WR7DwKnIqgoud0odxayhbe0hPAwEu85qXOCbozIBOfmKV2sY LH/tcJ+uB/SIJFrSIn+R2BW38tsdeBJzaBmSXhyQq67Pb9R9BFhiuGimDYiB4/99 MpeD8otlxRDTJ9tMh1yiPxjbxQIURo7DwIzA7hBIqrCZxioj+8qoNhqu+xqbvYek lXv4muNVK3mImYuXQz04E/Z4WnJlMQ345HY9tffSCQBlzxpvfg0ZKE5ov/n8YgzX CgmyZ22mjo8Q5OaAZtRD0Tuzl0QO95Z7z7W3WUsKCytJ1Se2lgUC1G8cZvq5hqLr c5S/rj6Ll98Gq7HbqvWJ =pTtC -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Shorewall-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-devel
