BSD Ports

net/ocserv 1.3.0_4 FreeBSD

Server implementing the AnyConnect SSL VPN protocol

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
GPLv2+
Categories
net, net-vpn, security
Package size
452.8 KiB, 1828.6 KiB installed

Description

OpenConnect server (ocserv) is an SSL VPN server. Its purpose is to be a secure, small, fast and configurable VPN server. It implements the OpenConnect SSL VPN protocol, and has also (currently experimental) compatibility with clients using the AnyConnect SSL VPN protocol. The OpenConnect protocol provides a dual TCP/UDP VPN channel, and uses the standard IETF security protocols to secure it. Both IPv4 and IPv6 are supported.

Ocserv's main features are security through privilege separation and sandboxing, accounting, and resilience due to a combined use of TCP and UDP. Authentication occurs in an isolated security module process, and each user is assigned an unprivileged worker process, and a networking (tun) device. That not only eases the control of the resources of each user or group of users, but also prevents data leak (e.g., heartbleed-style attacks), and privilege escalation due to any bug on the VPN handling (worker) process. A management interface allows for viewing and querying logged-in users.

In the other systems

SystemPortVersion
FreeBSDnet/ocserv1.3.0_4
OpenBSDnet/ocserv1.4.0p0
DragonFlynet/ocserv1.3.0_2

Install

Binary package:

pkg install ocserv

From the ports tree:

cd /usr/ports/net/ocserv/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	ocserv>0:net/ocserv

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.0_41.3.0_4-1.3.0_31.3.0_4
FreeBSD:14:quarterly1.3.0_41.3.0_4n/a1.3.0_31.3.0_4
FreeBSD:15:latest1.3.0_41.3.0_4n/a1.3.0_31.3.0_3
FreeBSD:15:quarterly1.3.0_41.3.0_4n/an/an/a
FreeBSD:16:latest1.3.0_41.3.0_4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Library 10

The full lists below include those, and their dependencies in turn.

Build dependencies 51
Run dependencies 38

No port depends on this one.

Configuration

Options name: net_ocserv

OptionDefaultDescription
DOCSoffBuild and/or install documentation
EXAMPLESoffBuild and/or install examples
GSSAPIoffGSSAPI Security API support
MAXMINDoffUse Maxmind GeoIP library
RADIUSoffRADIUS protocol support
USES
autoreconf cpe gettext-tools gperf libtool localbase ncurses pathfix pkgconfig readline tar:xz
Service scripts
ocserv

Message after installing

SECURITY NOTE: ocserv cannot isolate workers processes on FreeBSD,
it only supports Linux's seccomp, but not FreeBSD's capsicum.

Files

Manual pages 3
  • occtl(8)
  • ocpasswd(8)
  • ocserv(8)
pkg-plist 10
  • bin/occtl
  • bin/ocpasswd
  • libexec/ocserv-fw
  • share/man/man8/occtl.8.gz
  • share/man/man8/ocpasswd.8.gz
  • share/man/man8/ocserv.8.gz
  • @sample etc/ocserv/ocserv.conf.sample
  • sbin/ocserv
  • sbin/ocserv-worker
  • @dir(,,750) /var/run/ocserv
distinfo 1
FileSizeSHA256
ocserv-1.3.0.tar.xz7705965c562c3ea1032065ef43d6075e5722f94ce6a7a780d6a2b4c6d54c1ce3921965
Master sites 1
  • https://www.infradead.org/ocserv/download/

Commit history 0

No commits in the history this site was built from.