Mailing List Archive

SP_error: (-11) Illegal session was supplied
hi,

im trying to get spread and wackamole running to build a simple
cluster of vpnservers. the cluster should consist of two nodes
which are both online and get one out of two vips assigned.
one of the vips are told to the clients resolving vpn.dom.com.
i use simple dns roundrobin.
when one of the machines gets a problem the othermachine detects it -
shoots the machine in the head and gets the other vip assigned.

i just cant get wackamole running.

here is the output when running "wackamole -d -c /etc/wackamole.conf"

connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
No such interface
Dequeued arp spoof notifier.
No such interface
Spread connect failed [-9].
Sending 3 local arp entries
SP_error: (-11) Illegal session was supplied

connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
No such interface
Dequeued arp spoof notifier.
No such interface
Spread connect failed [-9].
connecting to 4803
...and-so-on



i played around with wackamole.conf,spread.conf and spread.access_ip
but nothing seems to change the behavior :(

i included those configs below. anyone got a clue what i have done wrong =
?
for completeness: i use linux-2.4.21, on debian woody, wackamole-2.0.0
and spread-3.17.1.


thanx in advance
gerald


-begin configs-

..i added some #comments

#[wackamole.conf]
Spread =3D 4803
SpreadRetryInterval =3D 5s
Group =3D my-vpn
Control =3D /var/run/my-vpn.it
Prefer eth0:192.168.1.98/24 #node1 real ipadress node2=3D192.168.1.99
VirtualInterfaces {
{ eth0:192.168.1.50/24 } #vip one
{ eth0:192.168.1.51/24 } #vip two
}
Arp-Cache =3D 90s
Notify {
eth0:192.168.1.1/24 #the router
arp-cache
}
balance {
AcquisitionsPerRound =3D all
interval =3D 4s
}
mature =3D 5s
#[wackamole.conf]


#[spread.conf]
Spread_Segment 127.0.0.255:4803 {
localhost 127.0.0.1
}
=
=20
Spread_Segment 192.168.1.255:4803 {
vpn-uno 192.168.1.98
vpn-due 192.168.1.99
}
DebugFlags =3D { PRINT EXIT }
EventLogFile =3D /var/log/spread.log
EventTimeStamp =3D "[%a %d %b %Y %H:%M:%S]"
AllowedAuthMethods =3D "IP"
#[spread.conf]


#[spread.access_ip]
unix
local
192.168.1.0/24
#[spread.access_ip]
SP_error: (-11) Illegal session was supplied [ In reply to ]
This is a multi-part message in MIME format.

------_=_NextPart_001_01C34D28.3C69C0A0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

ok, fixed it, it had something to do with authentification.
now i set it to NULL (spread.conf) and everything works fine.
only thing i see is when i add the -d flag to wackamole on
startup it segfaults.

thanx
gerald


-----Original Message-----
From: Gerald Leier
Sent: Fri 18.07.2003 11:56 AM
To: wackamole-users@lists.backhand.org
Cc:=09
Subject: [Wackamole-users] SP_error: (-11) Illegal session was supplied
hi,

im trying to get spread and wackamole running to build a simple
cluster of vpnservers. the cluster should consist of two nodes
which are both online and get one out of two vips assigned.
one of the vips are told to the clients resolving vpn.dom.com.
i use simple dns roundrobin.
when one of the machines gets a problem the othermachine detects it -
shoots the machine in the head and gets the other vip assigned.

i just cant get wackamole running.

here is the output when running "wackamole -d -c /etc/wackamole.conf"

connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
No such interface
Dequeued arp spoof notifier.
No such interface
Spread connect failed [-9].
Sending 3 local arp entries
SP_error: (-11) Illegal session was supplied

connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
No such interface
Dequeued arp spoof notifier.
No such interface
Spread connect failed [-9].
connecting to 4803
...and-so-on



i played around with wackamole.conf,spread.conf and spread.access_ip
but nothing seems to change the behavior :(

i included those configs below. anyone got a clue what i have done wrong =
?
for completeness: i use linux-2.4.21, on debian woody, wackamole-2.0.0
and spread-3.17.1.


thanx in advance
gerald


-begin configs-

..i added some #comments

#[wackamole.conf]
Spread =3D 4803
SpreadRetryInterval =3D 5s
Group =3D my-vpn
Control =3D /var/run/my-vpn.it
Prefer eth0:192.168.1.98/24 #node1 real ipadress node2=3D192.168.1.99
VirtualInterfaces {
{ eth0:192.168.1.50/24 } #vip one
{ eth0:192.168.1.51/24 } #vip two
}
Arp-Cache =3D 90s
Notify {
eth0:192.168.1.1/24 #the router
arp-cache
}
balance {
AcquisitionsPerRound =3D all
interval =3D 4s
}
mature =3D 5s
#[wackamole.conf]


#[spread.conf]
Spread_Segment 127.0.0.255:4803 {
localhost 127.0.0.1
}
=
=20
Spread_Segment 192.168.1.255:4803 {
vpn-uno 192.168.1.98
vpn-due 192.168.1.99
}
DebugFlags =3D { PRINT EXIT }
EventLogFile =3D /var/log/spread.log
EventTimeStamp =3D "[%a %d %b %Y %H:%M:%S]"
AllowedAuthMethods =3D "IP"
#[spread.conf]


#[spread.access_ip]
unix
local
192.168.1.0/24
#[spread.access_ip]


_______________________________________________
wackamole-users mailing list
wackamole-users@lists.backhand.org
http://lists.backhand.org/mailman/listinfo/wackamole-users





------_=_NextPart_001_01C34D28.3C69C0A0
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: base64

eJ8+Ih8MAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQ2ABAACAAAAAgACAAEEgAEAQwAAAFJFOiBbV2Fja2Ftb2xlLXVz
ZXJzXSBTUF9lcnJvcjogKC0xMSkgSWxsZWdhbCBzZXNzaW9uIHdhcyBzdXBwbGllZAARFwEFgAMA
DgAAANMHBwASAA4AHQAeAAUAQQEBIIADAA4AAADTBwcAEgAOAB0AHgAFAEEBAQmAAQAhAAAAN0M5
MUYxRTU3MDM4NDE0RUIwNUE5NTUxQTQ1OEM5RTMAFwcBA5AGABQPAAA3AAAAAwAmAAAAAAADADYA
AAAAAEAAOQCgwGk8KE3DAR4APQABAAAABQAAAFJFOiAAAAAAAgFHAAEAAAA4AAAAYz11czthPSA7
cD1NY01hcmtldGluZztsPUVYQ0hBTkdFMDEtMDMwNzE4MTIyOTMwWi00MTU4MAAeAEkAAQAAAD8A
AABbV2Fja2Ftb2xlLXVzZXJzXSBTUF9lcnJvcjogKC0xMSkgSWxsZWdhbCBzZXNzaW9uIHdhcyBz
dXBwbGllZAAAQABOAIDxDt0STcMBHgBaAAEAAAANAAAAR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QAAAFN5c3RlbSBBZG1pbmlzdHJhdG9yAAAAAAIB+z8BAAAAHgAAAAAAAADcp0DI
wEIQGrS5CAArL+GCAQAAAAAAAAAuAAAAAwD9P+QEAAADABlAAAAAAAMAGkAAAAAAAwAdQAAAAAAD
AB5AAAAAAB4AMEABAAAABwAAAEdMRUlFUgAAHgAxQAEAAAAHAAAAR0xFSUVSAAAeADJAAQAAAAcA
AABHTEVJRVIAAB4AM0ABAAAABwAAAEdMRUlFUgAAHgA4QAEAAAAHAAAAR0xFSUVSAAAeADlAAQAA
AAIAAAAuAAAACwApAAAAAAALACMAAAAAAAMABhDBJshKAwAHEC4IAAADABAQAAAAAAMAERAAAAAA
HgAIEAEAAABlAAAAT0ssRklYRURJVCxJVEhBRFNPTUVUSElOR1RPRE9XSVRIQVVUSEVOVElGSUNB
VElPTk5PV0lTRVRJVFRPTlVMTChTUFJFQURDT05GKUFOREVWRVJZVEhJTkdXT1JLU0ZJTkVPTgAA
AAACAX8AAQAAAEMAAAA8NUFBMzI1REY4MjNFMEI0MkFCODQ5NUU3N0I2QzdEMkExNTlFRDNAZXhj
aGFuZ2UwMS5tY21hcmtldGluZy5hdD4AAO5R

------_=_NextPart_001_01C34D28.3C69C0A0--
SP_error: (-11) Illegal session was supplied [ In reply to ]
On Friday, Jul 18, 2003, at 08:29 US/Eastern, Gerald Leier wrote:

> ok, fixed it, it had something to do with authentification.
> now i set it to NULL (spread.conf) and everything works fine.
> only thing i see is when i add the -d flag to wackamole on
> startup it segfaults.

Can you provide a full back trace of the segfault? Compile wackamole
with -g (might be default). Run (as root):

gdb ./wackamole
r -d

then when it segfaults type: "bt full" and mail back the output.

BTW, your prefer line looks suspect. You should remove it completely.
Wackamole isn't managing your "real" ip addresses, so it doesn't care
about them. And you preferred an entire subnet... I think you
configuration will accomplish what you want without a Prefer directive
at all.

Thanks!


--
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