Mailing List Archive

Possible bug in wackamole 2.0.0
In my environment wackamole runs on two hosts. However there are two
features which are strange (Ann.: my spread runs on port 4805)
When I start wackamole on the primary host it writes the following lines
into my syslog:

Jan 22 11:14:28 node1 wackamole[25506]: connecting to 4805
Jan 22 11:14:28 node1 wackamole[25506]: Dequeued arp spoof notifier.
Jan 22 11:14:28 node1 wackamole[25506]: No such interface

What does that mean "No such interface?". The return code of wackamole
is 1, indicating a startup failure. However all virtual interfaces
configured in /etc/wackamole.conf are taken over properly.

The second problem, when I run 'spuser -s 4805' and than join into the
group wack1 and leave the group wack1, sometime wackamole dies.

You may reproduce it like this:
Spread is running on both hosts and is able to communicate.
Run wackamole on the primary, assure that all virtual interfaces have
been taken over.
Run wackamole on the secondary.
Run spuser -s <your_spread_port> on the secondary.
Join the group wack1 (or whatever you configured in /etc/wackamole.conf
as Group)
Wait for a few seconds
Leave the group wack1

Sometime wackamole dies on the primary giving up all the virtual,
sometimes only the virtual interfaces are given up.
This bug can not be reproduced always, but quite often.

Jacob
Possible bug in wackamole 2.0.0 [ In reply to ]
Jacob Rief wrote:
> In my environment wackamole runs on two hosts. However there are two
> features which are strange (Ann.: my spread runs on port 4805)
> When I start wackamole on the primary host it writes the following lines
> into my syslog:
> Jan 22 11:14:28 node1 wackamole[25506]: connecting to 4805
> Jan 22 11:14:28 node1 wackamole[25506]: Dequeued arp spoof notifier.
> Jan 22 11:14:28 node1 wackamole[25506]: No such interface

What OS? Wackamole is pretty different on each supported OS.

> What does that mean "No such interface?". The return code of wackamole
> is 1, indicating a startup failure. However all virtual interfaces
> configured in /etc/wackamole.conf are taken over properly.

It means that when wackamole iteterated through the interfaces on the machine,
it didn't find it.

> The second problem, when I run 'spuser -s 4805' and than join into the
> group wack1 and leave the group wack1, sometime wackamole dies.

That is not supported. wackamole doesn't support byzantine wackamole
instances and it considers you a byzantine instance. I would suggest packet
filtering the spread configurations on production machines -- we do this and
have never had anyone break it.

>
> Sometime wackamole dies on the primary giving up all the virtual,
> sometimes only the virtual interfaces are given up.
> This bug can not be reproduced always, but quite often.
>

I dont' understand the question/problem here. If wackamole dies on the
primary it is supposed to give up its virtual interfaces. It is well within
wackamole's jurisdiction to give up its virtual interfaces to another machine
with it is still running. It would do this, for example, if there was a
networking problem or if you ran wackatrl -f. It shouldn't do this spontaneously.



--
Theo Schlossnagle
Principal Consultant
OmniTI Computer Consulting, Inc. -- http://www.omniti.com/
Phone: +1 410 872 4910 x201 Fax: +1 410 872 4911
1024D/82844984/95FD 30F1 489E 4613 F22E 491A 7E88 364C 8284 4984
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7