RE: SP_error: (-11) Illegal session was supplied - backtrace

"Gerald Leier" <[email protected]> Mon, 21 Jul 2003 11:17:47 +0200
Newsgroups gmane.comp.apache.mod-wackamole.general
Message-ID <[email protected]>
-----Original Message-----
From:	Theo Schlossnagle [mailto:[email protected]]
Sent:	Fri 18.07.2003 3:05 PM
To:	[email protected]
Cc:	Theo Schlossnagle
Subject:	Re: [Wackamole-users] SP_error: (-11) Illegal session was supplied
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.
http://lists.backhand.org/mailman/listinfo/wackamole-users

jepp, my config was a little screwed up, but now i fixed that. thanks.


here is the wackamole -d gdb output:

connecting to 4803
Clean_up called
Dequeued arp spoof notifier.
No such interface
Dequeued arp spoof notifier.
No such interface
No such interface
SP_connect: connected with private group(21 bytes): #wack5512#vpn-ato-uno

Sending 3 local arp entries
Sending 3 local arp entries
Adding 192.168.1.98 to the shared arp cache
Adding 192.168.1.100 to the shared arp cache
Adding 192.168.1.20 to the shared arp cache
Adding 192.168.1.98 to the shared arp cache
Adding 192.168.1.100 to the shared arp cache
Adding 192.168.1.20 to the shared arp cache
ioctl error setting IP address
Dequeued arp spoof notifier.
Queued arp spoof notifier for virtual entry.
ioctl error setting IP address
ioctl error setting IP address
Dequeued arp spoof notifier.
Queued arp spoof notifier for virtual entry.
Count: -1
Count: 1
Finished arp spoof notification for virtual entry.
Count: -1
Count: 1
Count: 1
Count: 1
Re-queued arp spoof notifier for virtual entry.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 5512)]
0x0804bfc5 in main ()
(gdb) bt full
#0  0x0804bfc5 in main ()
No symbol table info available.
#1  0x40044e47 in E_handle_events () at events.c:607
        Round_robin = 0
        long_timeout = {sec = 10000, usec = 0}
        zero_sec = {sec = 0, usec = 0}
        num_set = 0
        treated = 1
        fd = 0
        fd_type = 0
        i = 0
        j = 2
        timeout = {sec = 10000, usec = 0}
        wait_timeout = {sec = 0, usec = 0}
        current_mask = {{__fds_bits = {512, 0 <repeats 31 times>}}, {
    __fds_bits = {0 <repeats 32 times>}}, {__fds_bits = {
      0 <repeats 32 times>}}}
        temp_ptr = (time_event *) 0x0
        first = 0
#2  0x0804abfe in main ()
No symbol table info available.
#3  0x400a614f in __libc_start_main () from /lib/libc.so.6
No symbol table info available.


gerald
winmail.dat (application/ms-tnef, 4.1 KB) - not displayed