Re: Re: Wackamole and ProFTPd on FreeBSD

"Eric L. Anderson" <[email protected]> Thu, 8 Sep 2005 13:17:51 -0500
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
On Thu, Sep 08, 2005 at 01:54:37PM -0400, Theo Schlossnagle wrote:
> 
> After running wackamole, run ifconfig -a and send the output here.  And
> include your wackamole.conf.  It is most likely a wackamole
> misconfiguration or bug.

ifconfig -a
++++++++++++++++

bge0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        options=1a<TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
        inet 192.168.0.134 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::20d:56ff:fe6f:61a0%bge0 prefixlen 64 scopeid 0x1
        inet 192.168.0.151 netmask 0xffffffff broadcast 192.168.0.151
        inet 192.168.0.140 netmask 0xffffffff broadcast 192.168.0.140
        inet 192.168.0.152 netmask 0xffffffff broadcast 192.168.0.152
        inet 192.168.0.153 netmask 0xffffffff broadcast 192.168.0.153
        inet 192.168.0.144 netmask 0xffffffff broadcast 192.168.0.144
        ether 00:0d:56:6f:61:a0
        media: Ethernet 100baseTX <full-duplex>
        status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3
++++++++++++++++

wackamole.conf:
++++++++++++++++
# The Spread daemon we are going to connect to.  It should be on the
# local box
Spread = 4803
SpreadRetryInterval = 5s
# The group name
Group = wack1
# Named socket for online control
Control = /var/run/wack.it

# In most cases, I just don't care.  Let wackamole decide.
Prefer None

# List all the virtual interfaces (ALL of them)
VirtualInterfaces {
        bge0:192.168.0.140/32
        bge0:192.168.0.144/32
        bge0:192.168.0.152/32
        bge0:192.168.0.153/32
}

# Collect and broadcast the IPs in our ARP table every so often
Arp-Cache = 90s

Notify {
        # Let's notify our router:
        bge0:192.168.0.254/32

        arp-cache
}
balance {
        # This field is the maximum number of IP addresses that will
        # move
        # from one wackamole to another during a round of balancing.
        AcquisitionsPerRound = all
        # Time interval in each balancing round.
        interval = 4s
}
# How long it takes us to mature
mature = 5s
++++++++++++++++

Note that 192.168.0.151 is an IP not managed by wackamole.

-- 
Eric L. Anderson
[email protected]