2f90e9ecb8
Mayaqua: move HTTP functions from "Network" to "HTTP"
2019-10-20 04:15:12 +02:00
c3d6ffc533
Move GetMimeTypeFromFileName() and related structure to Mayaqua
...
The structure (containing all mimetypes) occupies almost 700 lines, which are a lot.
This is just the beginning of the refactor plan.
2019-10-20 04:15:12 +02:00
04ecbf843a
Mayaqua.h: include <stdio.h> for "FILE"
2019-10-20 04:15:12 +02:00
6b41b19327
Mayaqua.h: include <stddef.h>, for "wchar_t"
2019-10-20 04:15:12 +02:00
5fed2b8903
Bump mixin-deep in /src/bin/hamcore/wwwroot/admin/default
...
Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/jonschlinkert/mixin-deep/releases )
- [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2 )
Signed-off-by: dependabot[bot] <support@github.com >
2019-10-19 22:39:12 +00:00
2aeec323f9
Merge PR #1008 : Adding RADIUS and L3 MAC address fixing function, with small bug-fixes
2019-10-19 19:37:21 +02:00
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
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
c8a0a5648b
Merge PR #970 : Fix buffer overflow during NETBIOS name resolution
2019-09-30 06:59:04 +02:00
e03db7ee60
Merge pull request #966 from Flucons/patch-1
...
Merge pull request #966 : Create strtable_pt_br.stb
2019-09-21 17:33:12 +00:00
93183f7b3f
Merge pull request #967 from Flucons/patch-2
...
Merge pull request #967 : Update SEVPN.sln
2019-09-21 17:32:03 +00:00
50960dbe16
Update strtable_cn.stb
...
Improve some translation.
2019-09-17 17:51:03 +08:00
21e3ce104b
Avoid using hardcoded paths in log file enumeration
...
Hardcoded paths are used in log file enumeration such as LogFileList
command or GenerateEraseFileList function to delete old log files when
disk free space is lacking.
Fixes : SoftEtherVPN/SoftEtherVPN#972
2019-09-13 10:38:09 +09:00
850a5faa0d
Fix buffer overflow during NETBIOS name resolution
...
If SecureNAT is enabled and the hostname of the server
is longer than 16characters, every NETBIOS name resolution
query triggers the buffer overflow. If the server was built
with stack protection, the process will be killed.
2019-09-04 14:32:19 +02:00
1144d6c430
Update SEVPN.sln
...
Add pt-br
2019-08-15 13:03:14 -03:00
926b99047a
Create strtable_pt_br.stb
...
Start pt-br translation
2019-08-15 00:46:58 -03:00
d10f83417f
Merge PR #962 : Fix several compile warnings on MS VC++ 2008.
2019-08-04 04:03:14 +02:00
82b84a9436
Merge PR #961 : Enable crash minidump for Win32 vpntest
2019-08-04 03:51:00 +02:00
bf4667cfce
Fix several compile warnings on MS VC++ 2008.
2019-08-04 10:35:16 +09:00
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
9f19efb7af
OpenVPN: use new protocol interface
2019-07-26 08:37:00 +02:00
7d58e6bf60
Add interface for easy protocol implementation
...
This commit adds a protocol interface to the server, its purpose is to manage TCP connections and the various third-party protocols.
More specifically, ProtoHandleConnection() takes care of exchanging the packets between the local and remote endpoint; the protocol implementation only has to parse them and act accordingly.
The interface knows which protocol is the connection for by calling IsPacketForMe(), a function implemented for each protocol.
2019-07-26 08:36:54 +02:00
d57fc3524c
Fix LibreSSL support
...
My previous patch used a wrong if directive, which disabled removed
(de)initialization and threading for LibreSSL. This most likely causes
issues at runtime.
2019-07-22 11:35:19 -07:00
a9f707c813
Switch to OpenSSL THREADID API
...
The old threading API was deprecated in OpenSSL 1.0.
2019-07-22 11:28:12 -07:00
d6cf1b85a9
Virtual: fix race condition in DHCP server which resulted in multiple clients receiving the same IP
...
A race condition in the DHCP server caused it to offer the same IP address to multiple clients when they connected at the same time, because an offered IP address was considered free until the final step (DHCP_ACK).
This commit introduces a list to keep track of the pending leases created during DHCP_OFFER, so that an IP address is guaranteed to be offered to a single client.
2019-07-13 23:29:16 +02:00
1bd39485cf
Mayaqua: Fix compilation without deprecated OpenSSL APIs
...
Initialization and deinitialization are deprecated.
Missing headers were added.
Explicit threading is also deprecated.
2019-07-11 12:42:26 -07:00
a4ed656001
Mayaqua: Replace GNU specific sys/poll.h header with POSIX poll.h
...
Fixes warning from the musl libc:
warning redirecting incorrect #include <sys/poll.h> to <poll.h>
2019-07-10 17:01:01 -07:00
13dbf83e95
release 5.01.9671
2019-07-10 12:45:14 +05:00
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
47ad2328c0
src/Cedar/Admin.c: remove redundant check
...
found by Coverity
*** CID 341551: Incorrect expression (NO_EFFECT)
/src/Cedar/Admin.c: 414 in AdminWebHandleFileRequest()
408 // Handle the file request
409 bool AdminWebHandleFileRequest(ADMIN *a, CONNECTION *c, SOCK *s, HTTP_HEADER *h, char *url_src, char *query_string, char *virtual_root_dir, char *physical_root_dir)
410 {
411 bool ret = false;
412 char url[MAX_PATH];
413 UINT i, len;
>>> CID 341551: Incorrect expression (NO_EFFECT)
>>> Comparing an array to null is not useful: "url == NULL", since the test will always evaluate as true.
414 if (a == NULL || c == NULL || s == NULL || h == NULL || url == NULL || query_string == NULL ||
415 virtual_root_dir == NULL || physical_root_dir == NULL)
416 {
417 return false;
418 }
419
2019-07-06 10:22:44 +05:00
2592525b64
Merge pull request #931 from dnobori/190630_update_see_ndis5_driver
...
Update the driver binary for https://github.com/SoftEtherVPN/SoftEtherVPN/pull/929
2019-06-30 02:24:32 +09:00
896ac8e285
Merge pull request #930 from dnobori/190630_kb3033929_message
...
Add the warning message if KB3033929 is not installed in Windows 7 / Server 2008 R2.
2019-06-30 02:24:24 +09:00
6e78068a65
Update the driver binary for https://github.com/SoftEtherVPN/SoftEtherVPN/pull/929
2019-06-30 01:22:04 +09:00
9c227f3480
Add the warning message if KB3033929 is not installed in Windows 7 / Server 2008 R2.
2019-06-30 01:20:52 +09:00
9c6c88a1a8
Merge pull request #927 from dnobori/190629_fix_url
...
Fix incorrect URLs in text files
2019-06-30 01:17:38 +09:00
919f6c825f
Merge PR #929 : Added ProbeForWrite() buffer writable check routine for Irp->UserBuffer in the NDIX 5.x See driver.
2019-06-29 17:02:57 +02:00
7ef7c36c83
OpenVPN X.509 certificate authentication will be used only when no username / password is specified
2019-06-29 21:30:58 +09:00
9cba49b89a
Fix incorrect URLs in text files
2019-06-29 21:16:27 +09:00
afc6a706e5
Adding wwwroot/admin/README.md
2019-05-29 20:17:43 +09:00
b1d2dd8d87
Updating README
2019-05-29 19:37:29 +09:00
39b80e04c5
Add initial wwwroot/admin/default/ HTML5 admin pages
2019-05-29 19:17:50 +09:00
529d8f593c
Update developer tools for JSON-RPC
2019-05-29 18:23:33 +09:00
458906b151
Added JSON-RPC error message
2019-05-28 22:48:26 +09:00
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
03841e4181
Initial vpnserver-jsonrpc-clients
2019-05-28 11:48:16 +09:00
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
854814475c
release 5.01.9670
2019-04-07 19:11:27 +00:00
6dbcda6026
Set unbuffered mode for *nix systems stdout, allowing interactive use within spawned processes. Fixes issue #898
2019-04-07 19:13:18 +01:00
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
372e8aa031
Fixed memory leak in OpenSSL deinitialization function
2019-02-27 21:41:20 +01:00