notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine

Bot filter coming soon

To deter bots pegging the database CPU to 100%, a bot testing filter to be added to the website. This should not affect newsfeeds etc. Anubis seems light-weight - it is already in use within the FreeBSD Project. This notice is just a heads up in case you see something odd. This notice will be updated after Anubis is installed.

Port details on branch 2025Q3
ocserv Server implementing the AnyConnect SSL VPN protocol
1.3.0_3 net on this many watch lists=0 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.3.0_3Version of this port present on the latest quarterly branch.
Maintainer: otis@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2025-07-09 10:54:09
Last Update: 2025-07-09 10:50:07
Commit Hash: 71cd095
Also Listed In: net-vpn security
License: GPLv2+
WWW:
https://ocserv.gitlab.io/www/index.html
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
pkg-plist: as obtained via: make generate-plist
Expand this list (16 items)
Collapse this list.
  1. /usr/local/share/licenses/ocserv-1.3.0_3/catalog.mk
  2. /usr/local/share/licenses/ocserv-1.3.0_3/LICENSE
  3. /usr/local/share/licenses/ocserv-1.3.0_3/GPLv2+
  4. bin/occtl
  5. bin/ocpasswd
  6. libexec/ocserv-fw
  7. share/man/man8/occtl.8.gz
  8. share/man/man8/ocpasswd.8.gz
  9. share/man/man8/ocserv.8.gz
  10. @sample etc/ocserv/ocserv.conf.sample
  11. sbin/ocserv
  12. sbin/ocserv-worker
  13. @dir(_ocserv,_ocserv,750) /var/run/ocserv
  14. @owner
  15. @group
  16. @mode
Collapse this list.
Dependency lines:
  • ocserv>0:net/ocserv
To install the port:
cd /usr/ports/net/ocserv/ && make install clean
To add the package, run one of these commands:
  • pkg install net/ocserv
  • pkg install ocserv
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: ocserv
Flavors: there is no flavor information for this port.
distinfo:
TIMESTAMP = 1716360083 SHA256 (ocserv-1.3.0.tar.xz) = 5c562c3ea1032065ef43d6075e5722f94ce6a7a780d6a2b4c6d54c1ce3921965 SIZE (ocserv-1.3.0.tar.xz) = 770596

No package information for this port in our database
Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link: pkg-fallout
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. bash : shells/bash
  2. gsed : textproc/gsed
  3. ipcalc : net-mgmt/ipcalc
  4. msgfmt : devel/gettext-tools
  5. gperf : devel/gperf
  6. pkgconf>=1.3.0_1 : devel/pkgconf
  7. autoconf>=2.72 : devel/autoconf
  8. automake>=1.17 : devel/automake
  9. libtoolize : devel/libtool
Library dependencies:
  1. libev.so : devel/libev
  2. libgnutls.so : security/gnutls
  3. libiconv.so : converters/libiconv
  4. liblz4.so : archivers/liblz4
  5. libnettle.so : security/nettle
  6. liboath.so : security/oath-toolkit
  7. libpcl.so : devel/pcl
  8. libprotobuf-c.so : devel/protobuf-c
  9. libtalloc.so : devel/talloc
  10. libtasn1.so : security/libtasn1
  11. libreadline.so.8 : devel/readline
There are no ports dependent upon this port

Configuration Options:
===> The following configuration options are available for ocserv-1.3.0_3: DOCS=on: Build and/or install documentation EXAMPLES=on: Build and/or install examples GSSAPI=off: GSSAPI Security API support MAXMIND=off: Use Maxmind GeoIP library RADIUS=off: RADIUS protocol support ===> Use 'make config' to modify these settings
Options name:
net_ocserv
USES:
autoreconf cpe gettext-tools gperf libtool localbase ncurses pathfix pkgconfig readline tar:xz
pkg-message:
SECURITY NOTE: ocserv cannot isolate workers processes on FreeBSD, it only supports Linux's seccomp, but not FreeBSD's capsicum.
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://www.infradead.org/ocserv/download/
Collapse this list.

Number of commits found: 1

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.3.0_3
09 Jul 2025 10:50:07
commit hash: 71cd095745ec97ac0167033665062407fd7b154fcommit hash: 71cd095745ec97ac0167033665062407fd7b154fcommit hash: 71cd095745ec97ac0167033665062407fd7b154fcommit hash: 71cd095745ec97ac0167033665062407fd7b154f files touched by this commit
Don Lewis (truckman) search for other commits by this committer
*/*: Bump PORTREVISION for devel/protobuf-c update

libprotobuf-c.so once again has version info.  Force a rebuild of
its consumers.

PR:		282060
MFH:		2025Q3
Sponsored by:	<If the change was sponsored by an organization.>

(cherry picked from commit f0ba732a818fd9e7d0fbcb2c9be128163a3c3b9a)

Number of commits found: 1