Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 2004 16:05:00 -0700 (PDT)
From:      duane wessels <365d@packet-pushers.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/65793: SEGV in isakmpd, esp when associating with W2K ipsec client
Message-ID:  <200404192305.i3JN50m2091166@www.freebsd.org>
Resent-Message-ID: <200404192310.i3JNA9Zi092531@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         65793
>Category:       ports
>Synopsis:       SEGV in isakmpd, esp when associating with W2K ipsec client
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Apr 19 16:10:09 PDT 2004
>Closed-Date:
>Last-Modified:
>Originator:     duane wessels
>Release:        4.9-STABLE
>Organization:
>Environment:
FreeBSD ipsec-server 4.9-STABLE FreeBSD 4.9-STABLE #0: Thu Jan  8 22:36:17 GMT 2004     wessels@tmp:/usr/src/sys/compile/IPSEC  i386
>Description:
The isakmpd port experiences a SEGV due to a Null pointer
reference.  This happens quite frequently when talking to
the native Windows 2000 IPsec client.  A stack trace:

Core was generated by `isakmpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libipsec.so.1...done.
Reading symbols from /usr/lib/libcrypto.so.3...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0  0x0 in ?? ()
(gdb) where
#0  0x0 in ?? ()
#1  0x804fbf8 in exchange_establish (name=0x811c860 "IPsec-phase2-w2k", finalize=0, arg=0x0) at exchange.c:1829
#2  0x8061746 in sa_soft_expire (v_sa=0x811e000) at sa.c:977
#3  0x8061dca in timer_handle_expirations () at timer.c:79
#4  0x8059771 in main (argc=5, argv=0xbfbffbc8) at isakmpd.c:516
(gdb) up
#1  0x804fbf8 in exchange_establish (name=0x811c860 "IPsec-phase2-w2k", finalize=0, arg=0x0) at exchange.c:1829
1829                finalize (0, arg, 1); /* Indicate failure */
(gdb) p finalize
$1 = (void (*)()) 0
(gdb) up
#2  0x8061746 in sa_soft_expire (v_sa=0x811e000) at sa.c:977
977         exchange_establish (sa->name, 0, 0);
(gdb) 
>How-To-Repeat:
Set up a security association with a W2K box.  FWIW, this was with
pre-shared keys.
>Fix:
      
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200404192305.i3JN50m2091166>