1
0
Fork 0
mirror of https://github.com/OpenVPN/openvpn.git synced 2026-07-27 16:12:53 +02:00
OpenVPN is an open source VPN daemon
  • C 94.5%
  • Shell 2.1%
  • M4 1.2%
  • CMake 1.1%
  • Makefile 0.8%
  • Other 0.3%
Find a file
Frank Lichtenheld 74c2a965d3 socket: Never use negative buf->len in link_socket_read*
We really don't want to use negative buf lengths in
our code. So remove some places where we did so before.

Change-Id: Iabe1992b2608661b862a81363574e957d18395f0
Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com>
Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1554
Message-Id: <20260708152847.60245-1-frank@lichtenheld.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg37536.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
2026-07-27 12:32:15 +02:00
.github AWS-LC: Add casts and openssl_opt_t typdef to allow AWS-LC with -Werror 2026-06-12 10:34:00 +02:00
contrib Fix pkgcs11 vcpkg port installing debug files on release builds 2026-04-28 15:54:16 +02:00
debug
dev-tools dev-tools: Fix run-cppcheck to cover more code 2026-06-09 09:09:04 +02:00
distro dns-scripts: Fix dnssec values in comments and Copyright statement format 2026-04-30 15:19:34 +02:00
doc options: make 'tun' the default for '--dev' 2026-07-24 18:38:50 +02:00
include win: Fix nrpt_dnssec flag handling 2026-04-05 16:28:20 +02:00
m4
sample options: make 'tun' the default for '--dev' 2026-07-24 18:38:50 +02:00
src socket: Never use negative buf->len in link_socket_read* 2026-07-27 12:32:15 +02:00
tests Make --x509-username-field work with Mbed TLS 2026-07-22 17:59:23 +02:00
.clang-format ssl_openssl: Fix some CRL mixups 2026-04-17 11:30:24 +02:00
.git-blame-ignore-revs
.gitattributes
.gitignore
.mailmap
.pre-commit-config.yaml Update the clang-format reference version to 21.1.8 2026-02-10 16:29:04 +01:00
.svncommitters
AUTHORS
ChangeLog start release/2.8 development cycle 2026-02-13 13:11:33 +01:00
Changes.rst Try to emphasise the transition from old ovpn-dco to new ovpn module 2026-04-11 16:38:41 +02:00
CMakeLists.txt Replace strtok with strtok_r 2026-07-15 19:35:31 +02:00
CMakePresets.json
compat.m4
config.h.cmake.in Fix building wolfSSL with CMake 2026-06-28 22:30:58 +02:00
configure.ac Replace strtok with strtok_r 2026-07-15 19:35:31 +02:00
CONTRIBUTING.rst
COPYING Update Copyright statements to 2026 2026-01-08 10:59:57 +01:00
COPYRIGHT.GPL
forked-test-driver
INSTALL
ltrc.inc
Makefile.am dev-tools: Add script to run cppcheck against the code-base 2026-04-22 09:44:22 +02:00
NEWS
PORTS Update Copyright statements to 2026 2026-01-08 10:59:57 +01:00
README Fix copyright line in README 2026-04-21 08:17:48 +02:00
README.awslc
README.cmake.md
README.dco.md
README.ec
README.mbedtls Add support for Mbed TLS 4 2026-01-24 18:49:44 +01:00
README.wolfssl
renovate.json renovate: Fix typo in regex manager 2026-06-10 19:08:52 +02:00
version.m4 start release/2.8 development cycle 2026-02-13 13:11:33 +01:00

OpenVPN -- A Secure tunneling daemon

Copyright (C) 2002-2026 OpenVPN Inc. This program is free software;
you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2
as published by the Free Software Foundation.

*************************************************************************

To get the latest release of OpenVPN, go to:

	https://openvpn.net/community-downloads/

To Build and Install,

	tar -zxf openvpn-<version>.tar.gz
	cd openvpn-<version>
	./configure
	make
	make install

or see the file INSTALL for more info.

For information on how to build OpenVPN on/for Windows with MinGW
or MSVC see README.cmake.md.

*************************************************************************

For detailed information on OpenVPN, including examples, see the man page
  http://openvpn.net/man.html

For a sample VPN configuration, see
  http://openvpn.net/howto.html

To report an issue, see
  https://github.com/OpenVPN/openvpn/issues/new

For a description of OpenVPN's underlying protocol,
  see the file ssl.h included in the source distribution.

*************************************************************************

Other Files & Directories:

* configure.ac -- script to rebuild our configure
  script and makefile.

* sample/sample-scripts/verify-cn

  A sample perl script which can be used with OpenVPN's
  --tls-verify option to provide a customized authentication
  test on embedded X509 certificate fields.

* sample/sample-keys/

  Sample RSA keys and certificates.  DON'T USE THESE FILES
  FOR ANYTHING OTHER THAN TESTING BECAUSE THEY ARE TOTALLY INSECURE.

* sample/sample-config-files/

  A collection of OpenVPN config files and scripts from
  the HOWTO at http://openvpn.net/howto.html

*************************************************************************

Note that easy-rsa and tap-windows are now maintained in their own subprojects.
Their source code is available here:

  https://github.com/OpenVPN/easy-rsa
  https://github.com/OpenVPN/tap-windows6

Community-provided Windows installers (MSI) and Debian packages are built from

  https://github.com/OpenVPN/openvpn-build

See the INSTALL file for usage information.