* ipset issue
@ 2004-12-06 21:27 Mark Moseley
2004-12-07 7:22 ` Jozsef Kadlecsik
0 siblings, 1 reply; 2+ messages in thread
From: Mark Moseley @ 2004-12-06 21:27 UTC (permalink / raw)
To: netfilter@lists.netfilter.org
I decided to play with ipset (2.0), but I seem to be running into an
issue with creating rules. I wonder if I'm missing something silly or
not.
When I issue the command:
ipset -N foo iphash --resize 0 (straight from the Tips page)
I get the error:
ipset v2.0: Error from kernel: Protocol not available
I get this on a box running a 2.6.10-rc3 kernel and the kernel has
most definitely been patched with the POM with the set stuff in it, as
well as the iptables 1.3.0 (POM and iptables source were downloaded
from the ipset page,
http://people.netfilter.org/kadlec/ipset/install.html). The kernel was
compiled with gcc 3.2.2 (RH9 rpm).
Here's a snippet from the end of strace. Let me know if more
strace'ing would be helpful. This is the last chunk, running strace
with -f and -s:
socket(PF_INET, SOCK_RAW, IPPROTO_RAW) = 3
setsockopt(3, SOL_IP, 0x53 /* IP_??? */,
"\1\0\0\0\2\0\0\0foo\0T\277\4@Xn\4@8\344\3@\350u\1@\4\0\0\0\264x\1@\224\207\4\10iphash\0\10\270i\1@\264m\1@\0\0\0\0\200\364\377\277\\~\0@<\364\377\277\0\4\0\0\10\0\0\0\377\377\377\377",
84) = -1 ENOPROTOOPT (Protocol not available)
write(2, "ipset v2.0: ", 12ipset v2.0: ) = 12
write(2, "Error from kernel: Protocol not available", 41Error from
kernel: Protocol not available) = 41
write(2, "\n", 1) = 1
exit_group(1)
I imagine I'm missing something when I configure the kernel but I'm
not sure what. Anybody know what botched? Thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: ipset issue
2004-12-06 21:27 ipset issue Mark Moseley
@ 2004-12-07 7:22 ` Jozsef Kadlecsik
0 siblings, 0 replies; 2+ messages in thread
From: Jozsef Kadlecsik @ 2004-12-07 7:22 UTC (permalink / raw)
To: Mark Moseley; +Cc: netfilter@lists.netfilter.org
On Mon, 6 Dec 2004, Mark Moseley wrote:
> I decided to play with ipset (2.0), but I seem to be running into an
> issue with creating rules. I wonder if I'm missing something silly or
> not.
>
> When I issue the command:
>
> ipset -N foo iphash --resize 0 (straight from the Tips page)
>
> I get the error:
>
> ipset v2.0: Error from kernel: Protocol not available
You have to load in at least the ip_set kernel module.
Best regards,
Jozsef
-
E-mail : kadlec@blackhole.kfki.hu, kadlec@sunserv.kfki.hu
PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
Address : KFKI Research Institute for Particle and Nuclear Physics
H-1525 Budapest 114, POB. 49, Hungary
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-12-07 7:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-06 21:27 ipset issue Mark Moseley
2004-12-07 7:22 ` Jozsef Kadlecsik
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.