[Bug 515224] [NEW] iptables creation error on Ubuntu 8.10

luison luison at gmail.com
Sun Jan 31 18:44:28 UTC 2010


Public bug reported:

Binary package hint: fail2ban

Package: Fail2Ban
Version: v0.8.3

Installed on Ubuntu 8.10 via apt, fail2ban rule creation fails when it
tries to create the initial port rules pointing at the CHAINS where
blocked IPs would be created.

ports = http,https

Produces:
 iptables -I INPUT -p tcp --dport http,https -j fail2ban-test

Which on my system returns an error:

iptables v1.4.0: invalid port/service `http,https' specified
Try `iptables -h' or 'iptables --help' for more information.

Comma separated ports don't seem to work as such, not sure if there is
an alternative separator.

Changing the jail.conf (or jail.local) so each service only includes one
port solves the issue but leaves relevant ports out.

** Affects: fail2ban (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fail2ban iptables

-- 
iptables creation error on Ubuntu 8.10
https://bugs.launchpad.net/bugs/515224
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list