OpenConnect

Security & Privacy

Open client for Cisco AnyConnect, Pulse, GlobalProtect and other SSL VPNs.

Latest v9.21 · by OpenConnectWebsiteRSS

Release activity

Release activity — 2 releases across 2 days in the last year. Each cell is one day; darker means more releases that day. Older weeks are hidden at this screen width.
AugSepOctNov
SundayNo releases on Aug 2, 2026No releases on Aug 9, 2026No releases on Aug 16, 2026No releases on Aug 23, 2026No releases on Aug 30, 2026No releases on Sep 6, 2026No releases on Sep 13, 2026No releases on Sep 20, 2026No releases on Sep 27, 2026No releases on Oct 4, 2026No releases on Oct 11, 2026No releases on Oct 18, 2026No releases on Oct 25, 2026No releases on Nov 1, 2026No releases on Nov 8, 2026No releases on Nov 15, 2026
MondayNo releases on Aug 3, 2026No releases on Aug 10, 2026No releases on Aug 17, 2026No releases on Aug 24, 2026No releases on Aug 31, 2026No releases on Sep 7, 2026No releases on Sep 14, 2026No releases on Sep 21, 2026No releases on Sep 28, 2026No releases on Oct 5, 2026No releases on Oct 12, 2026No releases on Oct 19, 2026No releases on Oct 26, 2026No releases on Nov 2, 2026No releases on Nov 9, 2026
TuesdayNo releases on Aug 4, 2026No releases on Aug 11, 2026No releases on Aug 18, 2026No releases on Aug 25, 2026No releases on Sep 1, 2026No releases on Sep 8, 2026No releases on Sep 15, 2026No releases on Sep 22, 2026No releases on Sep 29, 2026No releases on Oct 6, 2026No releases on Oct 13, 2026No releases on Oct 20, 2026No releases on Oct 27, 2026No releases on Nov 3, 2026No releases on Nov 10, 2026
WednesdayNo releases on Aug 5, 2026No releases on Aug 12, 2026No releases on Aug 19, 2026No releases on Aug 26, 2026No releases on Sep 2, 2026No releases on Sep 9, 2026No releases on Sep 16, 2026No releases on Sep 23, 2026No releases on Sep 30, 2026No releases on Oct 7, 2026No releases on Oct 14, 2026No releases on Oct 21, 2026No releases on Oct 28, 2026No releases on Nov 4, 2026No releases on Nov 11, 2026
ThursdayNo releases on Aug 6, 2026No releases on Aug 13, 2026No releases on Aug 20, 2026No releases on Aug 27, 2026No releases on Sep 3, 2026No releases on Sep 10, 2026No releases on Sep 17, 2026No releases on Sep 24, 2026No releases on Oct 1, 2026No releases on Oct 8, 2026No releases on Oct 15, 2026No releases on Oct 22, 2026No releases on Oct 29, 2026No releases on Nov 5, 2026No releases on Nov 12, 2026
FridayNo releases on Aug 7, 2026No releases on Aug 14, 2026No releases on Aug 21, 2026No releases on Aug 28, 2026No releases on Sep 4, 2026No releases on Sep 11, 2026No releases on Sep 18, 2026No releases on Sep 25, 2026No releases on Oct 2, 2026No releases on Oct 9, 2026No releases on Oct 16, 2026No releases on Oct 23, 2026No releases on Oct 30, 2026No releases on Nov 6, 2026No releases on Nov 13, 2026
SaturdayNo releases on Aug 8, 2026No releases on Aug 15, 2026No releases on Aug 22, 2026No releases on Aug 29, 2026No releases on Sep 5, 2026No releases on Sep 12, 2026No releases on Sep 19, 2026No releases on Sep 26, 2026No releases on Oct 3, 2026No releases on Oct 10, 2026No releases on Oct 17, 2026No releases on Oct 24, 2026No releases on Oct 31, 2026No releases on Nov 7, 2026No releases on Nov 14, 2026

2 releases in the last year

Changelog

What changed from 8 to 9
v9.21Latest

OpenConnect v9.21

Changed 2
  • Support both old and new pyOpenSSL API in test infrastructure
  • Update CI for Fedora 44
Fixed 6
  • Fix infinite loop in buf_append() when output exactly fills available buffer space, which caused high CPU usage when building environment variables for the vpnc-script
  • Accept base32 token secrets without trailing '=' padding
  • Fix crash on NULL passphrase from TPM2 auth dialog
  • Fix use of free_pass() on binary oath_secret
  • Fix COPR builds for Amazon Linux 2023, EPEL 7/10, and MinGW
  • Fix compiler warnings in fortinet.c, tun-win32.c, and compat.c

From OpenConnect

Mihai Donțu reported v9.20 eating CPU attempting to append to a buffer for creating environment variables for the vpnc-script (#851).

The bug had actually been there for 12 years, but it gets a whole lot easier to hit it now that we're using the oc_text_buf for building environment variables too, as we do in v9.20.

Apologies, the Reported-by: tag in the fix commit is complete nonsense; I was keeping the AI under close scrutiny when it came to the actual code and the Fixes: tag, but the complete hallucination of a Reported-by: name completely escaped my attention.

Download: https://www.infradead.org/openconnect/download/openconnect-9.21.tar.gz (PGP signature)

Changes since v9.20
  • Fix infinite loop in buf_append() when output exactly fills available buffer space (#851).
  • Accept base32 token secrets without trailing = padding (#771).
  • Fix crash on NULL passphrase from TPM2 auth dialog (#842).
  • Fix use of free_pass() on binary oath_secret.
  • Fix COPR builds for Amazon Linux 2023, EPEL 7/10, and MinGW.
  • Fix compiler warnings in fortinet.c, tun-win32.c, and compat.c.
  • Support both old and new pyOpenSSL API in test infrastructure.
  • Update CI for Fedora 44.
Shortlog
Ben Walsh (1):
      pulse: Test "short reads from ssl_nonblock_read"

David Woodhouse (13):
      tests: Support both old and new pyOpenSSL API in fake-cisco-server.py
      Fix use of free_pass() on binary oath_secret
      Merge branch 'mr/610'
      spec: Fix COPR builds for Amazon Linux 2023, EPEL 7/10, and MinGW
      Merge branch 'bw-pulse-test-short-read' into 'master'
      gnutls_tpm2_esys: Handle NULL passphrase in install_tpm_passphrase()
      compat: Add default: to switch to silence uninitialized warning
      Fix compiler warnings in fortinet.c and tun-win32.c
      Merge branch 'typos' into 'master'
      oath: Accept base32 token secrets without trailing padding
      textbuf: Fix infinite loop in buf_append() at chunk boundary
      Resync translations with sources
      Tag version 9.21

Dimitri Papadopoulos Orfanos (3):
      Fedora 39 → 44
      Update Python fake server scripts for Fedora 44
      Fix typos
View originalPermalink
How v9.21 went

v9.20

Added 4
  • Support JavaScript redirects from Fortinet 7.4.x
  • Support otpauth:// URI format for HOTP/TOTP token secrets
  • Honour non-default TOTP periods from PSKC or otpauth:// token data
  • Support --external-browser flag on Windows
Changed 3
  • Change default user-agent string to be compatible with newer Cisco servers
  • Handle Pulse configuration packets up to 1 MiB
  • Handle additional oNCP framing variations
Fixed 6
  • Fix Cisco AnyConnect STRAP channel bindings with TLSv1.3
  • Fix GlobalProtect config-parsing bug that misidentified IPv6 split-include routes as split-exclude
  • Fix short reads during Pulse packet reassembly
  • Fix Cisco DTLS MTU detection
  • Fix Windows/Wintun adapter name handling
  • Fix Windows/Wintun memory leaks
View originalRead the notes
How v9.20 went

v9.12

Added 2
  • Add tests for library API symbol versions, as promised with the v9.01 release
  • Provide a symbols file to help Debian-style packages get their dependencies right, and use it in the OBS autobuilds
Changed 4
  • Increase the maximum size of data read from stdin to 4KiB
  • Clean up ifreq_set_ifname() and use it from bsd_open_tun() as well
  • Optimize PNG compression
  • Move JSON_CFLAGS before LIBPROXY_CFLAGS in the build configuration
Fixed 11
  • Fix the MacOS and FreeBSD builds
  • Do not attempt to configure a WINS server address of 0.0.0.0
  • Move openconnect_set_sni() from the @OPENCONNECT_5_8 symbol version to @OPENCONNECT_5_9, since it was added in v9.10 and should not have been retrospectively added to 5_8
  • Fix time_t handling when parsing the F5 session timeout
  • Disable explicit setting of IP_PMTUDISC_DO on MacOS
  • Fix unaligned memory accesses in ESP checksum calculation
View originalRead the notes
How v9.12 went

v9.11

Added 2
  • Attempt to spawn a browser on Windows to support external browser authentication
  • Add manpage documentation for the --external-browser option
Changed 1
  • Document that OpenConnect calculates TOTP/HOTP codes on its own
Fixed 3
  • Fix broken ESP configuration parsing for GlobalProtect
  • Check headers case insensitively for GlobalProtect to handle new server behaviour
  • Fix stray (null) in URL path after Pulse authentication when using openconnect --authenticate with a non-empty path
Security 1
  • Extend the CA certificate used by the test suite to 2050 after it expired, causing all tests to fail
View originalRead the notes
How v9.11 went

v9.10

Added 7
  • Add MacOS support to the hipreport
  • Add --sni option to the CLI for domain fronting
  • Add FTM-push token mode for Fortinet
  • Allow --form-entry to override hidden form fields' values or mark them as text fields
  • Basic 2FA token handling for F5
  • Parse JSON login forms for F5
  • Add anchors to the HTML manual so any option can be linked to
Changed 20
  • Improve Pulse compatibility as servers have changed
  • Clean up SSO support, especially external browser handling for Cisco AnyConnect
  • Update the Wintun driver on Windows and make it the default instead of the OpenVPN tap-windows driver
  • Increase the default queue length to 32, which enables vhost support by default
  • Use the timeout command in csd-wrapper.sh
  • If --sni is specified, expect the peer certificate to match the value sent in SNI rather than the hostname
Fixed 4
  • Prevent crash on unexpected response for GlobalProtect portal prelogin XML
  • Fix logging of ESP-magic gateway address in GlobalProtect config parsing
  • Ensure that even hidden form fields have labels
  • Add missing goto bad_config in the Pulse error path
Removed 1
  • Remove TAP-Windows driver from the installer
View originalRead the notes
How v9.10 went

v9.00

Added 10
  • SAML/SSO support for AnyConnect and GlobalProtect
  • Multiple certificate authentication support for AnyConnect
  • openconnect_set_useragent function to set the user agent
  • openconnect_set_mca_cert and openconnect_set_mca_key_password in the public API
  • setMCACert and setMCAKeyPassword in the Java API
  • --mca-certificate, --mca-key, and --mca-key-password command-line options, documented in the manual
Changed 8
  • openconnect no longer attempts to set the MTU on the tunnel interface itself
  • GlobalProtect login and configuration requests now include the internal=no flag
  • Only abort on certificate failure for CERT2_REQUESTED
  • Translations updated from GNOME and resynchronized with sources
  • Windows gai_strerror replaced with WSAGetLastError for error reporting
  • Fortinet-related logging verbosity level adjusted
  • Vhost support extended beyond x86_64
  • Alignment of openconnect --help output
Fixed 9
  • RSA SecurID token decryption and PIN entry forms
  • Initial client request XML structure when announcing multicert capability
  • Windows tun setup crash
  • Socket closed on error in ESP
  • EPOLLERR now handled as readable in epoll
  • Fixed potential leak of cookie_buf on an error path
View originalRead the notes
How v9.00 went

v9.01

Fixed 1
  • Library version bumped to libopenconnect.so.5.8, which should have been done in the 9.00 release
View originalRead the notes
How v9.01 went

v8.20

Added 7
  • Support for the Fortinet VPN protocol
  • Support for the F5 BigIP VPN protocol
  • Support for the Array Networks VPN protocol
  • Built-in userspace implementation of PPP, independent of pppd, to support PPP-based VPN protocols
  • IPv6 support for the GlobalProtect protocol
  • Support for the Wintun driver in the Windows command-line application
  • Option --allow-insecure-crypto to explicitly enable 3DES, RC4, and SHA1
Changed 4
  • Performance improvements on Linux using vhost-net and epoll
  • Improved compatibility with newer servers for the Pulse, AnyConnect, and GlobalProtect protocols
  • Extensive improvements to the routing and DNS configuration scripts, particularly for IPv6 and for *BSD and macOS
  • Clearer error and logging messages and improved documentation
Fixed 6
  • Important bugfixes for the Juniper and Pulse protocols
  • Juniper support for password and 2FA fields in the same form
  • GlobalProtect 0.0.0.0/0 split-include route handling by swapping the split route with the default netmask
  • vpnc-script receives TUNDEV even without the -i option
  • Windows tuntap driver accepts modified ComponentId
  • csd-wrapper works again when binaries are compressed
View originalRead the notes
How v8.20 went

v8.10

Changed 7
  • Disabled cURL's use of HTTP/1.1 expect logic
  • Removed a number of unnecessary casts
  • Installed the bash completion script as /usr/share/bash-completion/completions/openconnect
  • Installed tncc-emulate.py
  • Updated Android build dependencies
  • Bumped the Android API level to 23 to allow it to run on Android 10
  • Updated translations from GNOME
Fixed 6
  • Fixed a wrong string in an error message
  • Stopped asking users to report unexpected GlobalProtect login argument arg[19]="4"
  • Stopped stripping newlines from the CSD response, which some ASAs require
  • Juniper frmNextToken now recognizes secidactionEnter as a submit button
  • Stopped asking users to report unexpected GlobalProtect login argument arg[20]="unknown"
  • Corrected the path to the openconnect executable in the bash completion script
Security 1
  • Fixed a buffer overflow when obtaining a pretty name to describe local certificates when built against GnuTLS (CVE-2020-12823)
View originalRead the notes
How v8.10 went
View all

Discussion