From: Lindsay Haisley <fmouse-netfilter@fmp.com>
To: netfilter@lists.netfilter.org
Subject: iptables: Unknown error 4294967295
Date: Mon, 25 Sep 2006 19:03:01 -0500 [thread overview]
Message-ID: <20060926000301.GC10112@fmp.com> (raw)
When I execute the following:
iptables -t nat -I PREROUTING -s 10.8.0.1 -i tap0 -j SNAT --to-source 216.110.12.105
... I'm getting the error:
iptables: Unknown error 4294967295
(4294967295 = an unsigned representation of a signed long int of -1)
Running this under strace shows the following:
mmap2(NULL, 7648, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0xb7fbb000
mmap2(0xb7fbc000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0) = 0xb7fbc000
close(3) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
getsockopt(3, SOL_IP, 0x40 /* IP_??? */, "nat\0\1\0\0\0\335g\21\300\0\0\0\0\224\313F\300\1\0\0\0"..., [84]) = 0
getsockopt(3, SOL_IP, 0x41 /* IP_??? */, "nat\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., [656]) = 0
setsockopt(3, SOL_IP, 0x40 /* IP_??? */, "nat\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 876) = -1 EINVAL (Invalid argument)
write(2, "iptables: Unknown error 42949672"..., 35iptables: Unknown error 4294967295
) = 35
exit_group(1) = ?
Process 10231 detached
Apprently the error is originating in a malformed socket option call. What's
happening here, and how can I fix it? I'm running kernel 2.6.17-gentoo-r4,
iptables v1.3.5.
I have about every possible kernel netfilter capability compiled as a module,
or built into the kernel.
--
Lindsay Haisley | "Fighting against human | PGP public key
FMP Computer Services | creativity is like | available at
512-259-1190 | trying to eradicate | <http://pubkeys.fmp.com>
http://www.fmp.com | dandelions" |
| (Pamela Jones) |
next reply other threads:[~2006-09-26 0:03 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-26 0:03 Lindsay Haisley [this message]
2006-09-26 0:37 ` iptables: Unknown error 4294967295 Daniel De Graaf
2006-09-26 0:55 ` Lindsay Haisley
2006-09-26 0:41 ` Yasuyuki KOZAKAI
2006-10-31 22:38 ` Alan Ezust
-- strict thread matches above, loose matches on Subject: below --
2007-08-30 16:49 KARIM SATTAR
2007-08-30 16:59 ` Rob Sterenborg
2007-08-30 9:42 KARIM SATTAR
2007-08-30 10:58 ` Leonardo Rodrigues Magalhães
2006-05-15 5:21 azeredo
2006-03-31 4:23 Samuel Díaz García
2006-04-01 6:21 ` Samuel Díaz García
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060926000301.GC10112@fmp.com \
--to=fmouse-netfilter@fmp.com \
--cc=fmouse-m14acd@fmp.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox