Subject: Re: VPN client
To: None <netbsd-users@netbsd.org>
From: Jukka Salmi <j+nbsd@2005.salmi.ch>
List: netbsd-users
Date: 12/29/2005 18:23:47
--neYutvxvOLaeuPCA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Richard Pennington --> netbsd-users (2005-12-29 09:06:11 -0600):
> I've been using the package
> vpnc-0.3.2 Client for Cisco3000 VPN Concentrator
> to login to my company's network. This works pretty well for me.
I use vpnc as well, but I was having problems with 0.3.2 built from
pkgsrc: file transfers suddenly stalled, and syslogd received `tun0:
len=1516!' and `vpnc[pid]: truncated in: 1516 -> -1'. This seems to
be fixed by now: vpnc from the svn trunk works without any problems
for me (on -current NetBSD/i386 systems). The attached patch was needed
to build it.
Cheers, Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~
--neYutvxvOLaeuPCA
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="vpnc.nbsd.patch"
Index: sysdep-bsd.c
===================================================================
--- sysdep-bsd.c (revision 64)
+++ sysdep-bsd.c (working copy)
@@ -122,12 +122,12 @@
#else
-int tun_write(int fd, char *buf, int len)
+int tun_write(int fd, unsigned char *buf, int len)
{
return write(fd, buf, len);
}
-int tun_read(int fd, char *buf, int len)
+int tun_read(int fd, unsigned char *buf, int len)
{
return read(fd, buf, len);
}
Index: enum2debug.pl
===================================================================
--- enum2debug.pl (revision 64)
+++ enum2debug.pl (working copy)
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -w
+#!/usr/pkg/bin/perl -w
# Usage: ./enum2debug.pl isakmp.h >vpnc-debug.c 2>vpnc-debug.h
--neYutvxvOLaeuPCA--