Package: iptables
Version: 1.4.2-6
Severity: important

The option --hitcount on "recent" extension fails with message:

iptables: Invalid argument

whenever one sets a value higher then 20. 
To replicate the failure one can execute the following:

# iptables -N SSH
# iptables -A SSH -m recent --set --name BLACKLIST
# iptables -A SSH -m recent --update --seconds 20 --hitcount 40 --name 
BLACKLIST -j DROP

if --hitcount is set to 20 or a lower value, the rule is placed.

This condition was tested on two other systems, based on Debian 5.0.1 (Lenny) 

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages iptables depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries

iptables recommends no packages.

iptables suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to