[Bug 197835] vpnc-0.5.3_10 cannot sendto() esp packets on 11-CURRENT

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 19 22:00:52 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=197835

            Bug ID: 197835
           Summary: vpnc-0.5.3_10 cannot sendto() esp packets on
                    11-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: markiyan.kushnir at gmail.com

Created attachment 153197
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=153197&action=edit
a patch to the patch

Once vpnc set up a tunnel and went into the main loop, no esp could be sent,
with the following error message:

vpnc[2405]: esp sendto: Invalid argument

A strange thing is that vpnc seems to work OK on a bhyve guest built around the
same time, as my host system:

$ uname -a
FreeBSD mkushnir.mooo.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r278973: Thu Feb
19 05:56:13 EET 2015    
root at vm0.mkushnir.mooo.com:/work/obj/work/src.svn/sys/MAREK  amd64

After some digging, I could fix it by defining NEED_IPLEN_FIX in the port patch
file. I'm attaching my version of patch-sysdep.h below.

I found it quite a while ago (a couple of months), but only got to it now.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list