[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#401719: marked as done (netfilter: libipt_multiport: getsockopt failed strangely invalid argument)



Your message dated Sun, 24 Jun 2007 23:18:32 +0200
with message-id <20070624211832.GJ4869@stro.at>
and subject line Bug#401719: netfilter: libipt_multiport: getsockopt failed strangely invalid argument
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: linux-2.6
Version: 2.6.18-6
Severity: important
Tags: patch

Hello,

When I  try to use the '-m  multiport' argument of iptables,  I have the
following error message:

# /sbin/iptables -A INPUT -p tcp -m multiport --sports \
                 ssh,www,imap2,pop3,domain,https,smtp,auth -m state \
                  --state NEW,ESTABLISHED,RELATED -j ACCEPT
getsockopt failed strangely: Invalid argument

According to Patrick McHardy[0], this  error appears because "the 32 bit
compat code  doesn't implement the  SO_GET_REVISION_MATCH/TARGET options
and returned an error" in kernel  version > 2.6.16 and < 2.6.19, a patch
is  available[1]. I built  the kernel  image using  this patch  and this
error doesn't appear anymore.

Regards,
Arnaud Fontaine 

[0] https://lists.netfilter.org/pipermail/netfilter-devel/2006-December/026262.html
[1] https://lists.netfilter.org/pipermail/netfilter-devel/2006-December/026266.html

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: sparc (sparc64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-sparc64-smp
Locale: LANG=fr_FR@euro, LC_CTYPE=fr_FR@euro (charmap=ISO-8859-15)


--- End Message ---
--- Begin Message ---
Version: 2.6.20-1

On Tue, 05 Dec 2006, Arnaud Fontaine wrote:

> Hello,
> 
> When I  try to use the '-m  multiport' argument of iptables,  I have the
> following error message:
> 
> # /sbin/iptables -A INPUT -p tcp -m multiport --sports \
>                  ssh,www,imap2,pop3,domain,https,smtp,auth -m state \
>                   --state NEW,ESTABLISHED,RELATED -j ACCEPT
> getsockopt failed strangely: Invalid argument
> 
> According to Patrick McHardy[0], this  error appears because "the 32 bit
> compat code  doesn't implement the  SO_GET_REVISION_MATCH/TARGET options
> and returned an error" in kernel  version > 2.6.16 and < 2.6.19, a patch
> is  available[1]. I built  the kernel  image using  this patch  and this
> error doesn't appear anymore.
> 
> Regards,
> Arnaud Fontaine 
> 
> [0] https://lists.netfilter.org/pipermail/netfilter-devel/2006-December/026262.html
> [1] https://lists.netfilter.org/pipermail/netfilter-devel/2006-December/026266.html

patch merged upstream thus closing, maybe backport candidate.

regards

--
maks

--- End Message ---

Reply to: