130 Commits

Author SHA1 Message Date
Yanase Yuki b0d8a3d384 treewide: cleanup URLs
This commit converts plain HTTP URLs to HTTPS, and updates
old or outdated URLs.

Signed-off-by: Yanase Yuki <dev@zpc.st>
2026-05-08 22:28:27 +02:00
Paul Donald e8cdb4bde3 ocserv: bump to v1.4.1
* Version 1.4.1 (released 2026-02-28)
- [SECURITY] Fixed authentication bypass (medium severity) when using
  certificate authentication with cert-user-oid set to SAN(rfc822name):
  a client presenting a valid CA-signed certificate without the expected
  RFC822 SAN field could authenticate using password credentials alone,
  bypassing the intended certificate-to-username binding. Requires the
  attacker to possess both a valid CA-signed certificate and valid user
  credentials (694)
- The bundled inih was updated to r62.
- The bundled protobuf-c was updated to 1.5.2.
- Fixed a bug where session timeout could be bypassed by reconnecting
  (e.g., closing/opening laptop lid) (599)
- occtl: 'show user' command now includes a 'Session started at:' field,
  indicating when the VPN session was established
- occtl: Fix column misalignment in ban command outputs
- occtl: Fix 'show ip bans' may produce invalid JSON (683)
- Handle dotted client hostnames (e.g., .local) by stripping the domain suffix
- Renamed `min-reauth-time` configuration option to `ban-time` to better reflect
  its purpose (676). This option defines the duration (in seconds) for which
  an IP address is banned after exceeding the maximum allowed `max-ban-score`.
  Default is 300 seconds (5 minutes).
- Fixed ocserv-worker process title
- Fixed ignored udp-port in vhost (612)

* Version 1.4.0 (released 2026-01-04)
- The bundled llhtp was updated to 9.3.0.
- The bundled protobuf-c was updated to 1.5.1.
- Fixed issues with PAM authentication when combined with pam_sssd (618)
- Enhanced the seccomp filters to address issue in testing (627)
- Fixed "unexpected URL" errors for Cisco AnyConnect clients
- Fixed the 'ping-leases' option, which was broken since version 1.1.1
- Fixed maximum MTU tracking in server statistics
- Fixed 'iroute' option processing to handle multiple routes (625)
- Fixed session accounting for roaming users (674)
- occtl: fix invalid JSON output in `occtl -j show iroutes` (661)
- occtl: fix regression with trailing commas in `occtl -j show sessions` (669)
- occtl: fix missing column headers in 'show ip bans' output (677)
- occtl: 'show ip bans' no longer shows expired bans (675)
- Fixed DTLS not working with systemd socket activation (647)
- Fixed a bug in the ban timer logic that could prevent IP addresses
  from being banned or cause premature unbans (678)
- Session statistics are now reported at consistent intervals
  for RADIUS compatibility (630)
- Single form to enter username and password (551)

Signed-off-by: Paul Donald <newtwen+github@gmail.com>
2026-05-06 21:02:11 +03:00
Konstantin Demin 874c65e7ef ocserv: adjust with glibc and libcrypt-compat
glibc 2.39 has removed libcrypt completely.
solution: link against libxcrypt built with glibc compatibility.

Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
2025-07-14 10:40:15 +02:00
Ryan Keane 19d40c8d7a ocserv: Use default value for log-level in conf
This commit comments out the `log-level` line in the template
config file to use default value from upstream, default should be 2.

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
2024-11-14 13:33:30 +01:00
Nikos Mavrogiannopoulos bd1464db95 ocserv: use a more neutral character for sed
This resolves a startup issue.

Resolves: #24203

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-05-27 07:42:59 +02:00
Nikos Mavrogiannopoulos f92bfbddb9 ocserv: set ipcalc explicitly
This is a mandatory tool for the test suite, but we do not run it.
Fixes compilation.

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-05-06 21:52:30 +02:00
Nikos Mavrogiannopoulos a02a8280c8 ocserv: updated to 1.3.0
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-05-06 08:30:19 +02:00
Nikos Mavrogiannopoulos 6818154a61 ocserv: updated config
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-02-19 16:36:55 +01:00
Nikos Mavrogiannopoulos 246f678c69 ocserv: use better separator for sed
This prevents clashes with network addresses that
contain '/'.

Resolves: #18589

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-02-19 16:36:39 +01:00
Nikos Mavrogiannopoulos 48a7b8a57e ocserv: updated source URL to https
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-01-24 10:31:21 +01:00
Nikos Mavrogiannopoulos bfc991d329 ocserv: updated to 1.2.4
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2024-01-24 09:23:23 +01:00
Nikos Mavrogiannopoulos 1b31efc2b2 ocserv: updated to 1.2.0
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-07-11 19:09:59 +02:00
Thlv Alivs 8dd2a6edf2 ocserv: add otp config option
and also fix build error:
Package ocserv is missing dependencies for the following libraries:
liboath.so.0

Signed-off-by: Thlv Alivs <zgmzzzz18@gmail.com>
2023-05-21 19:42:53 +08:00
Nikos Mavrogiannopoulos 8e498b214d ocserv: updated to 1.1.7
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2023-05-09 06:20:05 +02:00
Andre Heider 565866a472 treewide: refactor to use PKG_BUILD_FLAGS:=no-mips16
See commit 5c545bdb "treewide: replace PKG_USE_MIPS16:=0 with
PKG_BUILD_FLAGS:=no-mips16" on the main repository.

Signed-off-by: Andre Heider <a.heider@gmail.com>
2023-04-08 08:38:54 +02:00
Hannu Nyman 508c4548dc ocserv: disable libmaxminddb detection
Disable libmaxminddb detection to fix a build error
due to missing dependency.
(the libmaxminddb library is now detected, but is unncessary.)

Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
2023-01-10 12:21:05 +02:00
Nikos Mavrogiannopoulos 465ddb4dd1 ocserv: updated to 1.1.6
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2022-02-25 23:33:45 +01:00
Nikos Mavrogiannopoulos 0101370e1d ocserv: updated to 1.1.4
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2021-11-13 09:28:17 +01:00
Nikos Mavrogiannopoulos e6a43a6e79 ocserv: updated to 1.1.3
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2021-06-02 08:45:36 +02:00
Eneas U de Queiroz ee1a3654dc ocserv: don't build with libseccomp on ARC
libseccomp can't be built on ARC, so we must disable the option here as
well.  A different fix was first proposed by @zxlhhyccc in #15377.

Fixes: #15313

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-04-14 22:52:42 -03:00
Nikos Mavrogiannopoulos 4c045a0260 ocserv: updated to 1.1.2
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-12-06 14:28:13 +01:00
Nikos Mavrogiannopoulos 48e0e7ac9b ocserv: include ocserv-worker
Resolves: #13465

Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-09-22 21:25:27 +02:00
Nikos Mavrogiannopoulos 7cadde8755 ocserv: updated to 1.1.1 2020-09-21 23:10:43 +02:00
Nikos Mavrogiannopoulos 997723342b ocserv: updated to 1.0.1
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-05-01 19:18:37 +02:00
Nikos Mavrogiannopoulos d96f1cf10c ocserv: updated to 1.0.0
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-03-20 14:31:38 +01:00
Nikos Mavrogiannopoulos f61be91299 ocserv: updated to 0.12.6
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2020-02-26 05:58:54 +01:00
Sven Eckelmann bbb1ea7345 treewide: Change .*GPL.*+ licenses to SPDX compatible identifier
The CONTRIBUTING.md requests an (or multiple) SPDX identifier for GPL
licenses. But a lot of packages did use a different, non-SPDX style with a
"+" at the end instead of "-or-later".

Signed-off-by: Sven Eckelmann <sven@narfation.org>
2019-09-10 07:45:15 +02:00
Nikos Mavrogiannopoulos cefb2f03e2 ocserv: updated to 0.12.4
Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
2019-07-03 21:32:35 +02:00
Nikos Mavrogiannopoulos 91a0a8abf8 ocserv: updated to 0.12.3
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-03-15 16:25:12 +01:00
Nikos Mavrogiannopoulos 8d814dec45 ocserv: updated to 0.12.2
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2019-01-10 21:30:50 +01:00
Nikos Mavrogiannopoulos 48d5f1a591 ocserv: updated to 0.12.1
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-05-12 08:24:07 +02:00
Nikos Mavrogiannopoulos 7b35b9838e ocserv: updated to 0.12.0
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-04-22 11:08:53 +02:00
Nikos Mavrogiannopoulos 1256498a3c ocserv: updated to 0.11.11
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-03-03 15:12:29 +01:00
Nikos Mavrogiannopoulos 7445108611 ocserv: updated to 0.11.10
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2018-01-07 16:38:43 +01:00
Nikos Mavrogiannopoulos 10473e43d2 ocserv: updated to 0.11.9
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-10-21 20:27:45 +02:00
Nikos Mavrogiannopoulos d92ea54c4f ocserv: updated to 0.11.8
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-05-08 05:46:48 +02:00
Qian 4227dad822 ocserv: split UDP and TCP port configs
Added a new config entry udp_port to split UDP port from TCP. This is
useful when particular port is blocked by the ISP.

udp_port falls back to port if not set to be compatible with current
config file.

Also fixed an ifname typo from the last commit.

Signed-off-by: Qian Sheng <billsq@billsq.me>
2017-04-27 17:55:11 -07:00
Qian 59abfdf843 Increase PKG_RELEASE version. 2017-04-26 16:25:20 -07:00
Qian 18313cbe6e Correctly get runtime LAN ifname and addresses
1. Correctly get LAN runtime ifname and addresses using network
functions
2. Do not store ip settings in config files as they may change next
time.
2017-04-25 17:02:53 -07:00
Nikos Mavrogiannopoulos 1c02217420 ocserv: updated to 0.11.7
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2017-02-12 10:28:08 +01:00
Angelo G. Del Regno 5f6e8651db ocserv: Add libev prefix to stop configure stage failure
This version of ocserv needs us to explicitly specify the prefix
for libev. Add a --with-libev-prefix parameter to make the
configure stage to get the right library.

Signed-off-by: Angelo G. Del Regno <kholk11@gmail.com>
2016-12-09 15:03:16 +01:00
Nikos Mavrogiannopoulos 75f2d6f71e ocserv: explicitly disable lz4 building
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-11-27 18:06:11 +01:00
Nikos Mavrogiannopoulos 3cb487bed5 ocserv: updated to 0.11.6
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-11-16 19:21:37 +01:00
Jo-Philipp Wich 22c35987c1 ocserv: avoid implicit dependencies
Explicitely disable liblz4 and external libtalloc support in order to avoid
implicit dependencies leading to the following error on build environments
that happen to provide liblz4 and libtalloc:

    Package ocserv is missing dependencies for the following libraries:
    liblz4.so.1
    libtalloc.so.2

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-10-07 19:21:29 +02:00
Nikos Mavrogiannopoulos 741e4481c8 ocserv: updated to 0.11.5
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-09-27 23:46:58 +02:00
Nikos Mavrogiannopoulos 5673710f1f ocserv: updated to 0.11.4
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-08-06 13:15:37 +02:00
Nikos Mavrogiannopoulos 6488dc8a70 ocserv: updated license
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-06-16 22:36:31 +02:00
Nikos Mavrogiannopoulos 7c2af4071f ocserv: updated to 0.11.3
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-06-16 22:20:43 +02:00
Nikos Mavrogiannopoulos dc5c9b3ee7 ocserv: updated to 0.11.2
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-04-25 23:12:32 +02:00
Nikos Mavrogiannopoulos 5e28a2e0d7 ocserv: updated to 0.11.1
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
2016-03-21 20:28:01 +01:00