ports/116949: security/vpnc: Some Cisco Concentrators refuse Connection (ISAKMP_N_INVALID_PAYLOAD_TYPE(1))

Raffaele De Lorenzo raffaele.delorenzo at libero.it
Fri Oct 5 12:40:08 UTC 2007


The following reply was made to PR ports/116949; it has been noted by GNATS.

From: Raffaele De Lorenzo <raffaele.delorenzo at libero.it>
To: bug-followup at FreeBSD.org,  raffaele.delorenzo at libero.it
Cc:  
Subject: Re: ports/116949: security/vpnc: Some Cisco Concentrators refuse
 Connection (ISAKMP_N_INVALID_PAYLOAD_TYPE(1))
Date: Fri, 05 Oct 2007 14:03:27 +0200

 This is a multi-part message in MIME format.
 --------------030402080009070507090806
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi,
 this is the file patched to the existing port.
 
 Raffaele
 
 --------------030402080009070507090806
 Content-Type: text/x-patch;
  name="config.c.patch"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="config.c.patch"
 
 --- config.c.orig	Fri Oct  5 13:56:54 2007
 +++ config.c	Fri Oct  5 13:59:51 2007
 @@ -15,7 +15,7 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  
 -   $Id: config.c 133 2007-02-16 17:22:06Z Maurice Massar $
 +   $Id: config.c 133 2007-10-05 13:22:06Z Raffaele De Lorenzo $
  */
  
  #define _GNU_SOURCE
 @@ -238,15 +238,14 @@
  {
  	return "10000";
  }
 +
  static const char *config_def_app_version(void)
  {
 -        struct utsname uts;
          char *version;
 -
 -        uname(&uts);
 -        asprintf(&version, "Cisco Systems VPN Client %s:%s", VERSION, uts.sysname);
 +	asprintf(&version, "Cisco Systems VPN Client %s:%s", "4.8.00 (0490)", "Linux");
          return version;
  }
 +
  static const char *config_def_script(void)
  {
  	return "/usr/local/sbin/vpnc-script";
 
 --------------030402080009070507090806--



More information about the freebsd-ports-bugs mailing list