Changeset 197

Show
Ignore:
Timestamp:
02/08/07 10:39:59 (2 years ago)
Author:
ccase
Message:

merged with upstream 2007-02-08

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • upstream/ipsec-tools/ChangeLog

    r179 r197  
     12007-02-02  Yvan Vanhullebus  <vanhu@netasq.com> 
     2        * src/racoon/cfparse.y: Fixed a check of NAT-T support in libipsec.  
     3 
     42007-02-01  Yvan Vanhullebus  <vanhu@netasq.com> 
     5        * src/racoon/isakmp_inf.c: When receiving an Isakmp DELETE_SA, 
     6          gets the cookie of the SA to be deleted from payload instead of 
     7          just deleting the Isakmp SA used to protect the informational. 
     8          Problem reported by "unclepedro" on Sourceforge's bugtracker. 
     9 
    1102006-12-18  Yvan Vanhullebus  <vanhu@netasq.com> 
    211        From Joy Latten <latten@austin.ibm.com> 
  • upstream/ipsec-tools/src/racoon/cfparse.y

    r179 r197  
    1 /*      $NetBSD: cfparse.y,v 1.18 2006/12/10 18:46:39 manu Exp $      */ 
     1/*      $NetBSD: cfparse.y,v 1.19 2007/02/02 13:42:28 vanhu Exp $     */ 
    22 
    33/* Id: cfparse.y,v 1.66 2006/08/22 18:17:17 manubsd Exp */ 
     
    18491849                { 
    18501850#ifdef ENABLE_NATT 
    1851                         if (libipsec_opt & LIBIPSEC_OPT_FRAG
     1851                        if (libipsec_opt & LIBIPSEC_OPT_NATT
    18521852                                cur_rmconf->nat_traversal = $2; 
    18531853                        else 
  • upstream/ipsec-tools/src/racoon/isakmp_inf.c

    r179 r197  
    1 /*      $NetBSD: isakmp_inf.c,v 1.14 2006/12/09 05:52:57 manu Exp $   */ 
     1/*      $NetBSD: isakmp_inf.c,v 1.15 2007/02/01 08:48:32 vanhu Exp $  */ 
    22 
    33/* Id: isakmp_inf.c,v 1.44 2006/05/06 20:45:52 manubsd Exp */ 
     
    463463        vchar_t *pbuf; 
    464464        int protected = 0; 
     465        struct ph1handle *del_ph1; 
    465466        struct ph2handle *iph2; 
    466467        union { 
     
    515516                        return 0; 
    516517                } 
    517                 EVT_PUSH(iph1->local, iph1->remote, 
    518                         EVTT_PEERPH1_NOPROP, NULL); 
    519                 if (iph1->scr) 
    520                         SCHED_KILL(iph1->scr); 
    521  
    522                 purge_remote(iph1); 
     518 
     519                del_ph1=getph1byindex((isakmp_index *)(delete + 1)); 
     520                if(del_ph1 != NULL){ 
     521 
     522                        EVT_PUSH(del_ph1->local, del_ph1->remote, 
     523                                         EVTT_PEERPH1_NOPROP, NULL); 
     524                        if (del_ph1->scr) 
     525                                SCHED_KILL(del_ph1->scr); 
     526 
     527                        purge_remote(del_ph1); 
     528                } 
    523529                break; 
    524530