Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Jun 2004 15:55:55 -0500
From:      "Justin Hendrickson" <justin@onyourmark.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Port: security/vpnc pkg-message question
Message-ID:  <200406041555550270.019B19EA@smtp.execpc.com>

next in thread | raw e-mail | index | archive | help
In the pkg-message file, it states:

If vpnc under FreeBSD 4 fails with

    socket(SOCK_RAW): Protocol not supported

check your kernel configuration. The ESP protocol may be only
enabled for FAST_IPSEC (this cannot be configured together with
IPSEC). See LINT for further details.

Under FreeBSD 5 vpnc should work without any IPSEC enabled.

This description seems to contradict LINT, which states:

# Experimental IPsec implementation that uses the kernel crypto
# framework.  This cannot be configured together with IPSEC and
# (currently) supports only IPv4.  To use this you must also
# configure the crypto device (see below).  Note that with this
# you get all the IPsec protocols (e.g. there is no FAST_IPSEC_ESP).
# IPSEC_DEBUG is used, as above, to configure debugging support
# within the IPsec protocols.

I've found this a bit confusing, as the port suggests that FAST_IPSEC and=
 IPSEC_ESP be enabled in the kernel config file, while LINT states that=
 IPSEC_ESP is basically part of FAST_IPSEC. When FAST_IPSEC and IPSEC_ESP=
 are both defined, compilation fails saying the IPSEC_ESP shouldn't be=
 enabled, so it would appear the LINT message is correct and thus the=
 information in the pkg-message file is totally useless because if you=
 follow it's instructions, you get an uncompilable kernel config and as a=
 result, I'm still stuck with this socket(SOCK_RAW) problem.
Justin Hendrickson             justin@onyourmark.com
----------------------------------------------------------------------------=

Web Development Specialist
Klein Internet Marketing Group
a division of Keith Klein & Associates, Inc.

www.kleininternet.com             Phone: 262-820-8201
22603 West Main Street               or: 800-747-3399
Sussex, WI 53089                    Fax: 262-820-8202



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