Comment 3 for bug 1044361

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thank you for using Ubuntu and filing a bug. Your kernel doesn't seem to have the required iptables support:
Traceback (most recent call last):
  File "/usr/sbin/ufw", line 95, in <module>
    ui = ufw.frontend.UFWFrontend(pr.dryrun)
  File "/usr/lib/python3/dist-packages/ufw/frontend.py", line 153, in __init__
    self.backend = UFWBackendIptables(dryrun)
  File "/usr/lib/python3/dist-packages/ufw/backend_iptables.py", line 45, in __init__
    ufw.backend.UFWBackend.__init__(self, "iptables", dryrun, files)
  File "/usr/lib/python3/dist-packages/ufw/backend.py", line 81, in __init__
    nf_caps = ufw.util.get_netfilter_capabilities(self.iptables)
  File "/usr/lib/python3/dist-packages/ufw/util.py", line 734, in get_netfilter_capabilities
    raise OSError(errno.ENOENT, out)
OSError: [Errno 2] FATAL: Module ip_tables not found.
iptables v1.4.12: can't initialize iptables table `filter': Table does not exist (do you need to insmod?)
Perhaps iptables or your kernel needs to be upgraded.

I noticed that you are using a non-Ubuntu kernel '3.5.1-pfz3'. Please recompile with the necessary kernel support. You might want to use /usr/share/ufw/check-requirements to help identify what you need.