Bug#630448: iptables-apply: does not rollback on error.

2013-09-03 Thread Laurence J. Lane
I couldn't get iptables-apply to fail with unresolvable DNS while using multiple tables. I had to insert DNS names manually because iptables resovles domain names at rule insertion and iptables-save doesn't display any DNS names. I haven't managed to get iptables-apply to fail. I also haven't foun

Bug#630448: iptables-apply: does not rollback on error.

2011-06-13 Thread Trent W. Buck
Package: iptables Version: 1.4.10-1 Severity: normal File: /usr/sbin/iptables-apply If iptables-restore exits with a non-zero status, iptables-apply will NOT roll back to the original ruleset. This is not a problem if the file contains a single table (e.g. *filter ... COMMIT), because that is ato