Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2014 06:39:01 +0000 (UTC)
From:      Cy Schubert <cy@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r371377 - in head/security/racoon2: . files
Message-ID:  <201410230639.s9N6d1I5044962@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: cy
Date: Thu Oct 23 06:39:00 2014
New Revision: 371377
URL: https://svnweb.freebsd.org/changeset/ports/371377
QAT: https://qat.redports.org/buildarchive/r371377/

Log:
  Add hack to address wrong security index.
  
  Submitted by:	Denis Ahrens <denis@h3q.com>
  Obtained from:	http://www.racoon2.wide.ad.jp/ml/racoon2-users/201008/msg804.html

Added:
  head/security/racoon2/files/patch-iked__ikev2_child.c   (contents, props changed)
Modified:
  head/security/racoon2/Makefile

Modified: head/security/racoon2/Makefile
==============================================================================
--- head/security/racoon2/Makefile	Thu Oct 23 06:21:11 2014	(r371376)
+++ head/security/racoon2/Makefile	Thu Oct 23 06:39:00 2014	(r371377)
@@ -3,7 +3,7 @@
 
 PORTNAME=	racoon2
 PORTVERSION=	20100526a
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	security net ipv6
 MASTER_SITES=	ftp://ftp.racoon2.wide.ad.jp/pub/racoon2/
 

Added: head/security/racoon2/files/patch-iked__ikev2_child.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/racoon2/files/patch-iked__ikev2_child.c	Thu Oct 23 06:39:00 2014	(r371377)
@@ -0,0 +1,11 @@
+--- iked/ikev2_child.c.orig	2008-09-10 01:30:58.000000000 -0700
++++ iked/ikev2_child.c	2014-10-22 23:33:18.140601874 -0700
+@@ -1171,7 +1171,7 @@
+ 	 * used to do update or add.
+ 	 */
+ 	param->flags = 0;
+-	if (child_sa->is_initiator)
++	if (child_sa->is_initiator && child_sa->preceding_satype == 0)
+ 		param->flags |= PFK_FLAG_NOPORTS;
+ 
+ 	param->wsize = ikev2_ipsec_window_size;



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