Daiyuu Nobori
a207260e38
Found the bad remove for lock files.
2020-11-30 18:15:37 +09:00
Daiyuu Nobori and Davide Beatrici
588d7539f4
vpntest.c: add "setupapi" command to test SetupAPI (Windows only)
...
Co-authored-by: Davide Beatrici <git@davidebeatrici.dev >
2020-07-27 05:31:02 +02:00
Daiyuu Nobori and Takuho NAKANO
844dcdb0af
Remove all references to strtok() and wcstok(), implement and use alternatives
...
strtok() and wcstok() are considered unsafe functions.
A segmentation fault caused by the use of strtok() was recently reported.
Co-authored-by: Takuho NAKANO <takotakot@users.noreply.github.com >
2020-07-20 17:57:58 +02:00
Daiyuu Nobori
033647c8ac
Fix security issue: Fix the security of JSON-API. If the administrator password of the Virtual Hub is empty, JSON-API (which was added in 4.30 Build 9696 Beta) will not be able to access to the virtual hub with a empty password since this release. Because there are relatively many cases in which administrator password is empty for a virtual hub, being able to manage a virtual hub without a password using JSON-API was a security problem. In this release, this behavior has been changed so that JSON-API cannot be accessed in the Virtual Hub management mode until it is configured with non-empty password.
2020-04-06 00:44:14 +09:00
Daiyuu Nobori
a49219db83
Merge branch 'master' of github.com:SoftEtherVPN/SoftEtherVPN into 200101_fix_securenat_ecn
2020-01-01 19:59:42 +09:00
Daiyuu Nobori
a4f87565ae
Bugfix: Fix the SecureNAT connection problem with ignoring TCP ECN bit enabled packets
2020-01-01 17:51:38 +09:00
Daiyuu Nobori
70564a8f52
Bugfix: Imperfect Virtual Hub FDB lock may cause process crush.
2020-01-01 15:52:47 +09:00
Daiyuu Nobori
17e7d65839
Improvement: Add a space character between URL and other tokens in the packet log format.
2020-01-01 11:00:51 +09:00
Daiyuu Nobori
e5d691977d
Bugfix: OpenVPN Certificate Authentication may cause process crush.
2020-01-01 10:59:24 +09:00
Daiyuu Nobori
f083c59905
Bugfix: Imperfect Virtual Hub FDB lock may cause process crush.
2020-01-01 10:57:51 +09:00
Daiyuu Nobori
4d42f450b2
Addressing the UDP reflection amplification attack: https://github.com/SoftEtherVPN/SoftEtherVPN/issues/1001
2019-10-22 11:14:05 +09:00
Daiyuu Nobori
f0357d4000
- Fixed the problem occurs when RPC messages between Cluster Members exceed 64Kbytes.
...
- Fixed the RADIUS PEAP client to use the standard TLS versioning.
- Implementation of a function to fix the MAC address of L3 VPN protocol by entering e.g. "MAC: 112233445566" in the "Notes" field of the user information.
- Implementation of a function to fix the virtual MAC address to be assigned to the L3 VPN client as a string attribute from RADIUS server when authentication.
2019-10-19 17:34:12 +09:00
Daiyuu Nobori
7413fec646
Updating built-in Win32 libraries
...
- OpenSSL 1.1.1 -> 1.1.1d
- zlib 1.2.3 -> 1.2.11
2019-10-19 16:59:13 +09:00
Daiyuu Nobori
bf4667cfce
Fix several compile warnings on MS VC++ 2008.
2019-08-04 10:35:16 +09:00
Daiyuu Nobori
c6068d23c7
Enables crash minidump for Win32 vpntest. Minidump files will be saved to the 'C:\Users\<username>\AppData\Local\Temp\vpn_debug' (for normal user) or 'src\bin\vpn_debug\' (for administrator user).
2019-08-04 10:26:41 +09:00
Daiyuu Nobori
a9f31d7df9
Fixing the typo "descrption" of the JSON-RPC document. Thanks to https://github.com/SoftEtherVPN/SoftEtherVPN/issues/938
2019-07-10 14:37:30 +09:00
Daiyuu Nobori
6e78068a65
Update the driver binary for https://github.com/SoftEtherVPN/SoftEtherVPN/pull/929
2019-06-30 01:22:04 +09:00
Daiyuu Nobori
9c227f3480
Add the warning message if KB3033929 is not installed in Windows 7 / Server 2008 R2.
2019-06-30 01:20:52 +09:00
Daiyuu Nobori
7ef7c36c83
OpenVPN X.509 certificate authentication will be used only when no username / password is specified
2019-06-29 21:30:58 +09:00
Daiyuu Nobori
9cba49b89a
Fix incorrect URLs in text files
2019-06-29 21:16:27 +09:00
Daiyuu Nobori
afc6a706e5
Adding wwwroot/admin/README.md
2019-05-29 20:17:43 +09:00
Daiyuu Nobori
b1d2dd8d87
Updating README
2019-05-29 19:37:29 +09:00
Daiyuu Nobori
39b80e04c5
Add initial wwwroot/admin/default/ HTML5 admin pages
2019-05-29 19:17:50 +09:00
Daiyuu Nobori
529d8f593c
Update developer tools for JSON-RPC
2019-05-29 18:23:33 +09:00
Daiyuu Nobori
458906b151
Added JSON-RPC error message
2019-05-28 22:48:26 +09:00
Daiyuu Nobori
98b08c2ad1
Implementation of the JSON-RPC API and the Web Admin interface. (dnobori's internal note: 7579 - 7682)
2019-05-28 12:51:51 +09:00
Daiyuu Nobori
03841e4181
Initial vpnserver-jsonrpc-clients
2019-05-28 11:48:16 +09:00
Daiyuu Nobori
d63f637253
JSON-RPC CodeGen Developer Tool
2019-05-28 11:42:12 +09:00
Daiyuu Nobori
18cfe18950
Added ProbeForWrite() buffer writable check routine for Irp->UserBuffer in the See driver. The See driver is a legacy driver for packet capturing with NDIS 5.x (Windows 2000 or XP). It is based on the source code of WinPcap.
2019-05-28 10:36:31 +09:00
Daiyuu Nobori
98443715d9
Fixed the vulnerability that a malformed packet will cause the buffer overflow at the receive path. This vulnerability may occur abnormal process exit with the buffer security check mechanism built-in with SoftEther VPN binary. Although this buffer overflow can theoretically bypass the security check in theory, in the actual binary it is detected by the buffer security check inserted by the C compiler and the process is forcibly terminated. Therefore, as a result, it can be abused by a DoS attacker. Acknowledgments: The last problems is discovered and reported by Fabrizio Steiner.
2019-02-28 20:40:23 +09:00
Daiyuu Nobori
dbfda5bad4
Date change of Declaration_Switch_License_from_GPL_to_Apache.pdf
2019-01-21 09:34:14 +09:00
Daiyuu Nobori
ca1ccc204f
Update CMakeLists.txt for Apache License 2.0
2019-01-14 12:42:15 +09:00
Daiyuu Nobori
575ebc1fd4
Update Declaration_Switch_License_from_GPL_to_Apache.pdf. The date will be 2019/01/19.
2019-01-14 12:31:24 +09:00
Daiyuu Nobori
881f34ac56
Compacting headers, updating trivial texts to fit to the license change from GPLv2 to Apache License 2.0.
2019-01-14 12:25:53 +09:00
Daiyuu Nobori
9c0eee0aad
Merge branch 'master' of github.com:SoftEtherVPN/SoftEtherVPN into 181202_switch_to_apache_license
2018-12-14 10:58:58 +09:00
Daiyuu Nobori
fa2ab80723
Edit README.md
2018-12-02 16:02:02 +09:00
Daiyuu Nobori
456efa7f87
Modification the header comments for some definitions in TunTap.h.
2018-12-02 16:00:45 +09:00
Daiyuu Nobori
eb40a80bac
Edit PULL_REQUEST_TEMPLATE.md.
2018-12-02 15:58:24 +09:00
Daiyuu Nobori
f7e9510472
Add Declaration_Switch_License_from_GPL_to_Apache.pdf
2018-12-02 15:58:23 +09:00
Daiyuu Nobori
337aaa0dfa
Modification the header comments for some definitions in TunTap.h.
2018-12-02 15:58:23 +09:00
Daiyuu Nobori
c407f35322
SHA-0 Implementation replacement from GPLv3 to Apache License
2018-12-02 10:30:22 +09:00
Daiyuu Nobori
16ed2f3e0c
Documents: Switching license from GPLv2 to Apache License 2.0.
2018-12-02 09:37:24 +09:00
Daiyuu Nobori
58e2f74f7f
Added the "OpenVPNPushDummyIPv4AddressOnL2Mode" option for the OpenVPN L2 mode.
...
To fix the bug of OpenVPN 2.4.6 and particular version of kernel mode TAP driver on Linux, the TAP device must be up after the OpenVPN client is connected. However there is no direct push instruction to do so to OpenVPN client. Therefore we push the dummy IPv4 address (RFC7600) to the OpenVPN client to enforce the TAP driver UP state.
2018-12-01 16:20:30 +09:00
Daiyuu Nobori
0e4f2a3864
Add .suo (Visual Studio user setting) file to the .gitignore file.
2018-10-29 14:49:09 +09:00
Daiyuu Nobori
4e4db36c11
Fix a single memory leak in loading the string table.
2018-10-29 14:48:15 +09:00
Daiyuu Nobori
2748ac6df5
Added OpenSSL and zlib .pdb files for .lib for Windows.
2018-10-10 08:10:39 +09:00
Daiyuu Nobori
36ac327d7b
Fix VS2017 x64 debug OpenSSL libraries name. For backward compatibility, libcrypto.lib is stored as libeay32.lib, and libssl.lib is stored as ssleay32.lib.
2018-10-10 07:25:48 +09:00
Daiyuu Nobori
c000c2f1e0
vpntest improvement: add Server Manager UI and Client Manager UI test
2018-10-09 21:34:54 +09:00
Daiyuu Nobori
a77a98dc41
Added OpenSSL 1.1.1 and zlib's .lib files for Visual Studio 2017.
2018-10-09 21:20:09 +09:00
Daiyuu Nobori
0beacd7680
Improve .gitignore
2018-10-09 21:19:33 +09:00
Daiyuu Nobori
6e5ac2843d
Add Visual Studio automatically generated files to .gitignore
2018-10-09 21:11:54 +09:00
Daiyuu Nobori
58e659f33f
Add automatically generated files to .gitignore
2018-10-09 21:10:29 +09:00
Daiyuu Nobori
8df347c093
Added OpenSSL 1.1.1 .lib files for Visual Studio 2008.
2018-10-09 20:30:03 +09:00
Daiyuu Nobori
baff1b349c
Win32 OpenSSL Header File: Ver 1.0.2j -> Ver 1.1.1
2018-10-09 19:29:11 +09:00
Daiyuu Nobori
ff85841dab
Fix MSBuild error.
2018-10-08 13:16:52 +09:00
Daiyuu Nobori
8abcf3d0a9
Debug flag and test mode improvements
...
1. ifdef DEBUG -> defined(_DEBUG) || defined(DEBUG)
In VC++ compilers, the macro is "_DEBUG", not "DEBUG".
2. If set memcheck = true, the program will be vitally slow since it will log all malloc() / realloc() / free() calls to find the cause of memory leak.
For normal debug we set memcheck = false.
Please set memcheck = true if you want to test the cause of memory leaks.
2018-10-08 04:50:46 +02:00
Daiyuu Nobori
ee208dd6f0
Finally, the implementation of test code is completed! Ha ha ha
2018-10-08 11:50:11 +09:00
Daiyuu Nobori
2d76507561
Next, change the project name "Ham" to "vpntest" so every programmer will recognize easily it is a test program.
2018-10-08 11:19:39 +09:00
Daiyuu Nobori
0ce8ad7a2b
At first, restore "Ham" project. This reverts commit 24d23feacf.
2018-10-08 11:13:48 +09:00
Daiyuu Nobori
ee9990317b
Fix bugs reported by Coverity Scan.
2018-09-28 22:39:38 +09:00