Package: iptables
Version: 1.4.3.2-2
Severity: important

I'm using iptables-save and iptables-restore to play around with my
iptables rules. I accidently added the following line to the file
containing my rules:

[0:0] -A INPUT -i eth0 -p tco -m tcp --dport 19000:19010 -j ACCEPT

Now iptables-restore < myrules segfaults. gdb produces the following
backtrace:

(gdb) backtrace
#0  0xb7e55c5a in strcmp () from /lib/i686/cmov/libc.so.6
#1  0xb7f6971d in xtables_parse_protocol () from /lib/libxtables.so.2
#2  0x0804c0b8 in do_command ()
#3  0x0804a215 in main ()

iptables-restore should output a error message in that case.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (650, 'testing'), (600, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
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.9-4      GNU C Library: Shared libraries

iptables recommends no packages.

iptables suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to