iptables-save/-restore does not restore empty tables
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iptables (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
iptables-save does not print tables which have not had any rules in them, and if that state is recorded and passed to iptables-restore, it will not clear those tables.
Here is a log showing how to reproduce this:
http://
Suggested fix: iptables-save should print all tables, all the time.
-------
Reference info
stack@ubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
stack@ubuntu:~$ apt-cache policy iptables
iptables:
Installed: 1.4.12-2ubuntu2
Candidate: 1.4.12-2ubuntu2
Version table:
*** 1.4.12-2ubuntu2 0
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.