On Tue, Feb 12, 2008 at 09:46:20AM -0800, Tom Eastep wrote: > ursa:~ # iptables -L foo > Chain foo (0 references) > target prot opt source destination > bar all -- anywhere anywhere > ursa:~ # iptables -E bar baz > ursa:~ # iptables -L foo > Chain foo (0 references) > target prot opt source destination > baz all -- anywhere anywhere > ursa:~ #
Which is why it's not useful here - it has no effect on the structure, it just changes the name, so it cannot be used as an atomic-insert-of-many-rules. The necessary feature would be a 'swap chains' command, that replaced all references to one existing chain with references to another existing chain (not that I'm advocating it). ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users