Skip to contentSkip to conversation

CLUSTERIP error "iptables: Invalid argument"

DISCUSSION [email protected] 2 participants 2 messages Mar 2, 2005 – Mar 3, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I tried the new Netfilter target CLUSTERIP using kernel-2.6.10. I discovered that there is still no userspace support in iptables-1.3.0. So I added "CLUSTERIP" in iptables-1.3.0/extenstions/Makefile and rebuilt iptables-1.3.0 with CLUSTERIP-support.
Nevertheless it seems that shared library and kernel-object doesn't fit thogehter. When I try to input a CLUSTERIP rule like:

iptables -A INPUT -j CLUSTERIP --new --hashmode sourceip --clustermac 01:ab:cd:ef:ab:cd --total-nodes 2 --local-node 1

there is the following error:

iptables: Invalid argument

Did I use wrong parameters?

Signature · 2 lines
Lassen Sie Ihren Gedanken freien Lauf... z.B. per FreeSMS
GMX bietet bis zu 100 FreeSMS/Monat: http://www.gmx.net/de/go/mail
#1 lore raw
Quoted 4 lines · [email protected] wrote:

I tried the new Netfilter target CLUSTERIP using kernel-2.6.10. I discovered that there is still no userspace support in iptables-1.3.0. So I added "CLUSTERIP" in iptables-1.3.0/extenstions/Makefile and rebuilt iptables-1.3.0 with CLUSTERIP-support.

legba:/home/pablo/iptables-1.3.0/extensions# ls -la libipt_CLUSTERIP.so
-rwxr-xr-x  1 pablo pablo 6385 2005-03-03 09:44 libipt_CLUSTERIP.so

Really? It seems to compile just fine here

Quoted 5 lines

Nevertheless it seems that shared library and kernel-object doesn't fit thogehter. When I try to input a CLUSTERIP rule like:

iptables -A INPUT -j CLUSTERIP --new --hashmode sourceip --clustermac 01:ab:cd:ef:ab:cd --total-nodes 2 --local-node 1

you forgot to add the interface and the IP, eg: -i eth0 -d 1.1.1.1

CLUSTERIP is still marked as experimental, so maybe you could find any bugs.

--
Pablo