net/radcli: Update to 1.5.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/radcli/radcli/releases9cde0cef1a
Port details
net/ocserv 1.3.0_4
Server implementing the AnyConnect SSL VPN protocol
Port info
- Maintainer
- otis@FreeBSD.org
- Packages
- latest: 1.3.0_4
- Upstream
- Higher version available: 1.6.0
- Last update
- to 1.3.0_4 · 9cde0cef1a
- Quarterly
- 2026Q4: 1.3.0_4
- WWW
- https://ocserv.gitlab.io/www/index.html
- Links
- cgit · VuXML
Install
- Package
# pkg install ocservinstalls 1.3.0_4 fromlatest; fromquarterly(2026Q4) 1.3.0_4- Port
# cd /usr/ports/net/ocserv && make install clean# make -C /usr/ports/net/ocserv config # change options first
- Size
- 454 KiB download · 1.8 MiB installed
- Depends on
- archivers/liblz4 1.10.0_2,1, converters/libiconv 1.18_1, devel/libev 4.33_1,1, devel/pcl 1.6_2, devel/protobuf-c 1.5.2, devel/readline 8.3.6, devel/talloc 2.4.1_1, security/gnutls 3.8.13, security/libtasn1 4.21.0, security/nettle 3.10.2, security/oath-toolkit 2.6.14
- License
- GPLv2+
- Creates
- user
_ocserv, group_ocserv - Options
- 2 of 5 on in the package: DOCS EXAMPLES
Show the 3 options that are off
GSSAPI MAXMIND RADIUS - pkg-message
Shown always
SECURITY NOTE: ocserv cannot isolate workers processes on FreeBSD, it only supports Linux's seccomp, but not FreeBSD's capsicum.
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 1.3.0_4 | 1.3.0_4 | – |
| FreeBSD 15 | 1.3.0_4 | 1.3.0_4 | – |
| FreeBSD 14 | 1.3.0_4 | 1.3.0_4 | 1.3.0_4 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 1.3.0_4 | 1.3.0_4 | – |
| FreeBSD 14 | 1.3.0_4 | 1.3.0_4 | 1.3.0_4 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 1.3.0_4.Fixed (0)
No VuXML entries for this package.
Problem reports (0) · open in Bugzilla, most recently changed first
None.
Commits (61)
*/*: 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.>f0ba732a81
net/ocserv: Do not check for Linux-style /proc filesystem Otherwise it may fail to run when linprocfs is mounted on /proc. Reported by: Ivan Brawley <ivan@brawley.id.au>e52c0c3ca5
net/radcli: Update to 1.4.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://github.com/radcli/radcli/releases1b4f1734a0
net/ocserv: Update to 1.3.0 Release notes: https://gitlab.com/openconnect/ocserv/-/releases/1.3.05d933f61d0
net/ocserv: Update to 1.2.4b749a84a63
net/ocserv: Sanitize MANPREFIX Approved by: portmgr (blanket)f2c82ce01a
net/ocserv: Update to 1.2.3 Release notes: https://gitlab.com/openconnect/ocserv/-/releases/1.2.37f0a801fe7
net/ocserv: Fix build and wrong PLIST Do not include now-non-existing file in plist. Reported by: Trond Endrestøl <Trond.Endrestol@ximalas.info> PR: 2749832c356d6bfc
net/ocserv: Update to 1.2.2 Release notes: https://gitlab.com/openconnect/ocserv/-/releases/1.2.2 Reported by: portscoute4894bfa1d
net/ocserv: Update to 1.2.1 Release notes: https://gitlab.com/openconnect/ocserv/-/releases/1.2.11f51b2bcea
net/ocserv: Update to 1.2.0 - Update to 1.2.0 - Adjust dependencies - Make DTLS work - Regen patches Co-authored-by: Eugene Mitrofanov <emitrofanov@gmail.com>944e00e9f4
net/ocserv: Update to 1.1.7 - Update to 1.1.7 - Regen patches39beea1060
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
net/ocserv: Update to 1.1.6 - Update to 1.1.6 - Switch download from ftp to https91e924bb10
net/ocserv: Update to 1.1.3cd0a1795e0
devel/protobuf-c: Bump PORTREVISION of dependent ports Bump the PORTREVISION of ports that use protobuf-c and bake in the value of PROTOBUF_C_VERSION*. Sponsored by: Farsight Security, Inc.0926031bce
all: Remove all other $FreeBSD keywords.135fdeebb9
Remove # $FreeBSD$ from Makefiles.305f148f48
net/ocserv: Update to 1.1.2 - Update to 1.1.2 - Reformat Makefile according to portclippy/portfmt - Install sample config with PREFIX-ized values where apropriate. - Take MAINTAINERship Reviewed by: osa (mentor) Approved by: osa (mentor) MFH: 2021Q1 Differential Revision: https://reviews.freebsd.org/D283469ea5b89401
Bump PORTREVISION for net/radcli shlib change8f367b5a06
net/ocserv: update 1.0.1 -> 1.1.1 - Fixed compatibility with OpenBSD that lacks procfs - Improved rate-limit-ms and made it dependent on secmod backlog. This makes the server more resilient (and prevents connection failures) on multiple concurrent connections - Added namespace support for listen address by introducing the listen-netns option - Disable TLS1.3 when cisco client compatibility is enabled. New anyconnect clients seem to supporting TLS1.3 but are unable to handle a client with an RSA key - Enable a race free user disconnection via occtl - Added the config option of a pre-login-banner - Ocserv siwtched to using multiple ocserv-sm processes to improve scale, with the number of ocserv-sm process dependent on maximum clients and number of CPUs. Configuration option sec-mod-scale can be used to override the heuristics. - Fixed issue with group selection on radius servers sending multiple group class attribute. PR: 250225 Submitted by: Juraj Lutter <juraj@lutter.sk> Relnotes: https://gitlab.com/openconnect/ocserv/-/releases/1.1.1e6d58352b0
Return cpm@'s ports to the pool after safekeeping his commit bit. With hat: portmgr-secretary4c4c6d7c27
Bump PORTREVISION for security/nettle shlib change7f5cbfeed4
net/ocserv: Update to 1.0.1 Changelog: https://gitlab.com/openconnect/ocserv/-/blob/1.0.1/NEWS#L1 This commit makes the following additional changes from Juraj's submission: - fix LIB_DEPENDS to libpc.so:devel/pcl (not devel/libpcl) - replace LOCALBASE by PREFIX throughout, as these are internal references - remove the src/config.c patch, it makes no sense to first statically patch and then run REINPLACE_CMD for DEFAULT_CFG_FILE - remove doc/sample.config from another REINPLACE_CMD - remove @ - it makes no sense to hide running commands - patch example configuration to avoid isolate-workers = true, which currently only works on Linux's seccomp. - in the same vein, put up a warning pkg-message that there is no worker process isolation - install the @sample file as ocserv.conf.sample, not conf.sample, so it matches the default configuration file path Things that could be done but are not: - rcfile option to configure a separate config file PR: 245521 Submitted by: Juraj Lutter <juraj@lutter.sk> Approved by: cpm@ (maintainer timeout, 15 d)804b0f94b7
net/ocserv: fix tun handoff between parent and worker process ocserv hands off a tun fd to a worker process, but the worker process never claims the tun with TUNSIFPID. The parent then closes the tunnel and leaves it in a nasty state. Bump PORTREVISION, as this is runtime breakage. PR: 238500 Approved by: bapt (ports), cpm (maintainer, e-mail) MFH: 2019Q4 (blanket, runtime fix)ec2c2c0cd4
Implement new virtual category: net-vpn for VPN related ports based on discussion at ports@ [1]. As VPN softwares are put in different physical category net and security. This is a little bit confusing. Let's give them new virtual category net-vpn. [1] https://lists.freebsd.org/pipermail/freebsd-ports/2019-April/115915.html PR: 239395 Submitted by: myself Approved by: portmgr (mat) Differential Revision: https://reviews.freebsd.org/D21174222e095f2a
net/ocserv: Fix typos in pkg-descr PR: 239577 Submitted by: Mikael Urankar <mikael.urankar@gmail.com>eba97ed57a
Update security/nettle to 3.5.1 - Bump PORTREVISION of dependent ports for shlib change - Fix build of devel/pijul [1] Changes: https://git.lysator.liu.se/nettle/nettle/blob/master/NEWS PR: 238991 Exp-run by: antoine Thanks to: tobik [1]d99d942bb0
net/ocserv: Update to 0.12.4 Noteworthy changes in 0.12.4 - Added support for radius access-challenge (multifactor) authentication. - Fixed race condition when connect-script and disconnect-script are set, which could potentially cause a crash (#208). - Perform quicker cleanup of sessions which their user explicitly disconnected (#210). MFH: 2019Q332d14a12ed
net/ocserv: fix build with base GCC -Wno-implicit-fallthrough is not supported by GCC 4.2 PR: 237558 Approved by: tcberner (mentor), cpm (maintainer) Differential Revision: https://reviews.freebsd.org/D20075d1ad9160c7
Update devel/readline to 8.0 - Bump PORTREVISION of dependent ports for shlib change Changes: https://tiswww.case.edu/php/chet/readline/CHANGES PR: 236156 Exp-run by: antoine40c9c7f7eb
net/ocserv: Update to 0.12.3 - Remove LOCAL MASTER_SITES Noteworthy changes in 0.12.3 - Fixed crash when no DTLS ciphersuite is negotiated. - Fixed crash happening arbitrarily depending on handled string sizes (#197). - Fixed compatibility issue with GnuTLS 3.3.x (#201). - occtl: print the TLS session information, even if the DTLS channel is not established. MFH: 2019Q190e00ee74c
net/ocserv: update to 0.12.2 Noteworthy changes in 0.12.2 - Added support for AES256-SHA legacy cipher. This allows the anyconnect clients to use AES256. - Added support for the DTLS1.2 protocol hack used by new anyconnect client. While I'm here pet portlint. MFH: 2019Q18d1ec2c96e
net/ocserv: Use devel/libpcl as a dependency PR: 232771 Approved by: Carlos J. Puga Medina <cpm@freebsd.org> (maintainer)91402cf2a4
net/ocserv: update to 0.12.1 Changelog: https://gitlab.com/ocserv/ocserv/blob/master/NEWS Tested by: Jov <amutu@amutu.com>b81c8a1450
net/ocserv: Update to 0.11.11 Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2018-March/004766.html8ab18103fd
net/ocserv: Update to 0.11.10 - Pet portlint, the port doesn't install any shared libraries, so there is no point in USE_LDCONFIG Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2018-January/004655.html62ed8cc16d
- Update to 0.11.9 - Update WWW in pkg-descr Noteworthy changes in 0.11.9 - Fixed bug which caused the acceptable of invalid IPv4 address as valid. - Fixed compatibility with gnutls 3.3.8 by avoiding the use of the 'VERS-ALL' priority string which was introduced in 3.3.24. - Fixed null pointer dereference when parsing locked accounts in plain password authentication. - Add support for RSA-PSS and Ed25519 private keys when used with GnuTLS 3.6.0. - ocpasswd: when locking an account multiple times, add the '!' character only once. Based on patch by Frank Huang. Changes: http://lists.infradead.org/pipermail/openconnect-devel/2017-October/004529.html MFH: 2017Q49f4aa322fb
Update devel/readline to 7.0 patch 3 - Bump PORTREVISION for shlib change Changes: https://cnswww.cns.cwru.edu/php/chet/readline/CHANGES https://lists.gnu.org/archive/html/bug-bash/2016-09/msg00107.html https://lists.gnu.org/archive/html/bug-readline/2017-01/msg00002.html Differential Revision: https://reviews.freebsd.org/D11172 PR: 219947 Exp-run by: antoinecb037d3c98
- Make RADIUS auth backend optional - Bump PORTREVISION PR: 219393 Submitted by: Jov <amutu@amutu.com>931e3cd582
- Add security/oath-toolkit to LIB_DEPENDS - Sort BUILD_DEPENDS and LIB_DEPENDS - Enable radius support - Bump PORTREVISIONb388e90063
net/ocserv: update to 0.11.8 - Update to 0.11.8 - Add my LOCAL to MASTER_SITES Changes: http://lists.infradead.org/pipermail/openconnect-devel/2017-May/004293.html382f2cc336
- Fix ownership and permissions in /var/run/ocserv - Bump PORTREVISION PR: 219054 Reported by: Joy <amutu@amutu.com>44dbc20d62
net/ocserv: update to 0.11.7 - Update PORTVERSION and distinfo checksum (0.11.7) - Regenerate some patches to apply cleanly - Remove MAKE_JOBS_UNSAFE=yes Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2017-February/004204.htmlb3f1c8d0fa
net/ocserv: Update to 0.11.6 - Update PORTVERSION and distinfo checksum (0.11.6) - Add LICENSE_FILE - Cosmetic fixes - Remove STRIP_CMD target since all binaries are installed with --strip (-s) option by default - Silence two explicitly called commands Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2016-November/004066.html Reviewed by: amdmi3 (mentor) Approved by: amdmi3 (mentor) Differential Revision: D85380c283421d8
- Update ocserv to 0.11.5 release Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2016-September/003972.html Reviewed by: pi, feld (mentor) Approved by: feld (mentor) Differential Revision: D8024661d755217
Let USES=localbase add -L${LOCALBASE}/lib to LIBS instead of LDFLAGS. USES=localbase:ldflags can be used to set LDFLAGS. Normally LDFLAGS appears too early on the command line causing some ports to link with their own libraries in LOCALBASE (if installed) instead of WRKSRC.
Also make use of _USES_POST so -L${LOCALBASE}/lib is added as late as
possible after anything a port Makefile might set. Use _USES_POST
instead of .include in libedit.mk and libarchive.mk so things like
'USES=libedit localbase:ldflags' work correctly.
Fix some issues with LIBS in some ports.
Switch ports that don't support LIBS to localbase:ldflags.
PR: 212987
Exp-run by: antoine
Approved by: portmgr (antoine)1ee4da6dd1- Update to 0.11.4 Changelog: http://lists.infradead.org/pipermail/openconnect-devel/2016-August/003817.html Reviewed by: junovitch (mentor) Approved by: junovitch (mentor) Differential Revision: D7441bbf73240fb