1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2024-11-24 02:19:52 +03:00
Commit Graph

1045 Commits

Author SHA1 Message Date
Daiyuu Nobori
5cae447c79 Merge pull request #229 from chipitsine/master
cppcheck issues
2016-11-27 17:25:03 +09:00
Luiz Eduardo Gava
ced0856ab1 HTTPS /wiki redir to 443 (test) 2016-11-08 14:44:35 -02:00
Luiz Eduardo Gava
8520502707 Merge remote-tracking branch 'upstream/master' 2016-11-08 09:23:52 -02:00
Michael Clausen
462840cf6e Using client parameter in function CtConnect
Using the global client variable might lead to strange behavoir if multiple clients are allocated and to crashes in the case the client was not initialized with CtStartClient()
2016-10-03 13:31:03 +02:00
ajeecai
9bc67cc293 Fix that ParseTcpOption doesn't work correctly
Suppose there is a TCP SYN or SYN-ACK packet taking options as:
    02 04 05 b4 01 01 04 02 01 03 03 04 
which is 
Options: (12 bytes)
    >Maximum segment size: 1460 bytes
    >No-Operation (NOP)
    >No-Operation (NOP)
    >TCP SACK Permitted Option: True
    >No-Operation (NOP)
    >Window scale: 4 (multiply by 16)

Then the original parse function only returns MSS 1460 while WSS is 0.
2016-08-04 17:33:18 +08:00
Mykhaylo Yehorov
03ffd7535a merge upstream v4.21-9613-beta 2016-05-04 12:27:52 +03:00
Mykhaylo Yehorov
698babf408 merge upstream v4.20-9608-rtm 2016-05-04 11:53:35 +03:00
Ilya Shipitsin
d1ea47eb66 cppcheck issues:
[src/Cedar/Client.c:2184] -> [src/Cedar/Client.c:2187]: (warning) Either the condition 'rpc==0' is redundant or there is possible null pointer dereference: rpc.
[src/Cedar/Client.c:6032] -> [src/Cedar/Client.c:6035]: (warning) Either the condition 'ret!=0' is redundant or there is possible null pointer dereference: ret.
2016-04-30 00:26:58 +05:00
Ilya Shipitsin
29f93371c3 cppcheck issue:
[src/Cedar/Connection.c:1041] -> [src/Cedar/Connection.c:1043]: (warning) Either the condition 's!=0' is redundant or there is possible null pointer dereference: s.
2016-04-30 00:22:05 +05:00
Ilya Shipitsin
01edd34bbe cppcheck issues:
[src/Cedar/SM.c:875] -> [src/Cedar/SM.c:882]: (warning) Either the condition 'd==0' is redundant or there is possible null pointer dereference: d.
[src/Cedar/UdpAccel.c:119] -> [src/Cedar/UdpAccel.c:123]: (warning) Either the condition 'a==0' is redundant or there is possible null pointer dereference: a.
2016-04-30 00:16:15 +05:00
Ilya Shipitsin
556ea647e3 cppcheck issues:
[src/Cedar/Virtual.c:2389] -> [src/Cedar/Virtual.c:2398]: (warning) Either the condition 'a==0' is redundant or there is possible null pointer dereference: a.
[src/Cedar/Virtual.c:4000] -> [src/Cedar/Virtual.c:4004]: (warning) Either the condition 'n==0' is redundant or there is possible null pointer dereference: n.
[src/Cedar/Virtual.c:4203] -> [src/Cedar/Virtual.c:4207]: (warning) Either the condition 'n==0' is redundant or there is possible null pointer dereference: n.
2016-04-30 00:03:35 +05:00
Ilya Shipitsin
84f95447a3 cppcheck issues:
[src/Cedar/WebUI.c:1728] -> [src/Cedar/WebUI.c:1730]: (warning) Either the condition 'buf==0' is redundant or there is possible null pointer dereference: buf.
[src/Mayaqua/FileIO.c:383] -> [src/Mayaqua/FileIO.c:386]: (warning) Either the condition 'p==0' is redundant or there is possible null pointer dereference: p.
[src/Mayaqua/TcpIp.c:1837] -> [src/Mayaqua/TcpIp.c:1839]: (warning) Either the condition 'tcp!=0' is redundant or there is possible null pointer dereference: tcp.
2016-04-29 23:59:35 +05:00
Ilya Shipitsin
2f52dac9c4 cppcheck issues:
[src/Cedar/Admin.c:11843] -> [src/Cedar/Admin.c:11845]: (warning) Either the condition 't==0' is redundant or there is possible null pointer dereference: t.
[src/Cedar/Admin.c:12316] -> [src/Cedar/Admin.c:12318]: (warning) Either the condition 'a==0' is redundant or there is possible null pointer dereference: a.
[src/Cedar/Admin.c:12576] -> [src/Cedar/Admin.c:12578]: (warning) Either the condition 't==0' is redundant or there is possible null pointer dereference: t.
[src/Cedar/Admin.c:12790] -> [src/Cedar/Admin.c:12792]: (warning) Either the condition 't==0' is redundant or there is possible null pointer dereference: t.
2016-04-29 23:50:58 +05:00
dnobori
1e17c9bcfd v4.21-9613-beta 2016-04-24 23:49:31 +09:00
dnobori
c0c1b914db v4.20-9608-rtm 2016-04-18 01:52:49 +09:00
Mykhaylo Yehorov
4a3f08e5b8 merge upstream v4.19-9605-beta 2016-03-08 21:32:14 +02:00
dnobori
17e624ac26 v4.19-9605-beta 2016-03-06 23:16:01 +09:00
Matt Lewandowsky
15876de6fb Default to TLS connections only
Due to DROWN (CVE-2016-0800), SSLv2 must be disabled by default. This is the most straight-forward way to ensure new installations are not vulnerable. The upgrade use case is not addressed by this PR, though I posted information to the forum: http://www.vpnusers.com/viewtopic.php?f=7&t=5596

This patch is made available under Contribution Option 1, to allow PacketiX to be fixed the same way.
2016-03-02 08:02:07 -08:00
Raymond Tau
311ab9efab Correctly save and apply the DisableSslVersions config 2015-12-09 14:06:13 +08:00
Luiz Eduardo Gava
c34b751db0 Adding Radius AVP Called-Station-Id 2015-11-26 11:24:04 -02:00
Raymond Tau
04b72873c7 Fix the problem of the DisableSslVersions patch. 2015-11-23 16:15:10 +08:00
Raymond Tau
8b1b67faed Introduce DisableSslVersions.
The SSL Versions specified will be disabled on server context.
2015-11-10 00:55:24 +08:00
Mykhaylo Yehorov
3228b114a4 merge upstream v4.19-9599-beta 2015-10-19 22:42:18 +03:00
dnobori
d3a1b26413 v4.19-9599-beta 2015-10-19 21:30:51 +09:00
Mykhaylo Yehorov
7aaf3d8fd3 merge upstream v4.19-9582-beta 2015-10-13 23:13:25 +03:00
dnobori
4e862a7e40 v4.19-9582-beta 2015-10-06 20:18:00 +09:00
Victor Salgado
74c641c13e Fix set initialization, set.OnlyCapsuleModeIsInvalid could be garbage 2015-09-18 14:39:08 -03:00
dnobori
3c8abd60ed v4.19-9578-beta 2015-09-15 16:19:45 +09:00
dnobori
9a82b3c65c v4.19-9577-beta 2015-09-15 14:22:53 +09:00
Mykhaylo Yehorov
1cf9df5539 merge upstream v4.18-9570-rtm 2015-07-26 23:10:21 +03:00
Mykhaylo Yehorov
7772ee119e Add the possibility to send the Virtual Hub Name to a RADIUS server as NAS-Identifier 2015-07-26 22:46:00 +03:00
dnobori
4b65e251f2 v4.18-9570-rtm 2015-07-26 19:39:40 +09:00
Mykhaylo Yehorov
7e00268084 merge with vendor v4.17-9566-beta 2015-07-21 01:15:44 +03:00
dnobori
860f743dd7 v4.17-9566-beta 2015-07-17 00:31:57 +09:00
Mykhaylo Yehorov
1a9fe52991 merge with vendor 2015-07-15 19:28:20 +03:00
Mike Selivanov
29d330522d Fixed OSX CPU utilization by replacing broken kevent() with select() 2015-07-09 01:11:40 +03:00
dnobori
ff49706373 v4.17-9562-beta 2015-05-31 19:02:35 +09:00
Jioh L. Jung
3b5b31c0b1 Revised error on strtable_ko.stb
Fixed error parts from translation.
2015-05-29 10:57:26 +09:00
Jioh L. Jung
0248bcaf56 Add Korean resources
- Translated by google machine translation
- Fix bug and revised by hands.
2015-05-29 07:37:28 +09:00
holoreimu
b68ddee128 Add Traditional Chinese language
Add Traditional Chinese language
2015-05-20 00:19:22 +08:00
holoreimu
4af19c46ff Revert "Add Traditional Chinese language"
This reverts commit 450d073213.
2015-05-20 00:09:51 +08:00
holoreimu
450d073213 Add Traditional Chinese language
Add Traditional Chinese language
2015-05-20 00:02:52 +08:00
dnobori
7785c41f38 v4.15-9546-beta 2015-04-05 03:39:48 +09:00
dnobori
983c19c043 v4.15-9539-beta 2015-04-04 05:58:09 +09:00
dnobori
18b120e5f7 v4.15-9538-beta 2015-03-27 20:52:15 +09:00
dnobori
1f645c9816 v4.15-9537-beta 2015-03-26 18:01:02 +09:00
Mykhaylo Yehorov
ffddfe1ad3 Add the possibility to send the Virtual Hub Name to an external DHCP server 2015-02-09 23:47:35 +02:00
dnobori
64fd19e6f8 v4.14-9529-beta 2015-02-02 18:54:00 +09:00
dnobori
67fbd56574 v4.14-9529-beta 2015-02-02 18:54:00 +09:00
dnobori
3305046721 v4.13-9525-beta 2015-02-02 12:33:23 +09:00
dnobori
5efab0381c v4.13-9525-beta 2015-02-02 12:33:23 +09:00
dnobori
ef4c0d5866 v4.13-9524-beta 2015-01-31 03:28:09 +09:00
dnobori
96da053c84 v4.13-9524-beta 2015-01-31 03:28:09 +09:00
dnobori
06a72040a3 v4.13-9522-beta 2015-01-30 22:30:34 +09:00
NV
ad58da4179 Add DhParamBits configuration to set Diffie-Hellman parameters 2015-01-27 03:32:29 +09:00
Dmitry Glushenok
8ffb223377 Take gateways into account while pushing routes 2015-01-22 23:11:51 +03:00
NoNameA 774
a737ec5d20 fix LogFileGet won't save to SAVEPATH
ref http://www.vpnusers.com/viewtopic.php?t=2750
2015-01-22 07:59:40 +09:00
dnobori
75f9836ce5 v4.12-9514-beta 2014-11-18 12:05:48 +09:00
dnobori
2b3a4d0b75 v4.11-9506-beta 2014-10-23 01:00:30 +09:00
dnobori
10d4b2c43d v4.10-9505-beta 2014-10-04 00:09:23 +09:00
Sacha J Bernstein
9f83dc0ba2 Cleanup check of blank realm name
Store realm name in hub struct using a preallocated string instead of a pointer
2014-07-25 14:06:51 -04:00
Sacha J Bernstein
e29a83ea61 Change from simply using the hub name as the radius realm to allowing the realm name to be configured 2014-07-25 13:53:55 -04:00
root
9e55db0623 Fix some errors that shouldn't have existed to start with... 2014-07-25 13:42:22 -04:00
Sacha J Bernstein
2e231be197 Add configuration option and code to implement using the Hub name as the Radius realm 2014-07-25 11:21:28 -04:00
dnobori
16b713b98d v4.10-9473-beta 2014-07-12 03:00:27 +09:00
dnobori
9f7d8578a7 v4.10-9472-beta 2014-07-12 02:06:20 +09:00
dnobori
f75a2c2a12 v4.09-9451-beta 2014-06-09 11:57:10 +09:00
dnobori
ea38eef377 v4.08-9449-rtm 2014-06-08 16:40:44 +09:00
dnobori
719ee999d6 v4.07-9448-rtm 2014-06-06 06:53:20 +09:00
dnobori
7839d2939e v4.06-9437-beta 2014-04-09 11:30:07 +09:00
dnobori
a3a4ad0b0a v4.06-9436-beta 2014-04-09 09:35:00 +09:00
dnobori
16d73ccb57 v4.06-9435-beta 2014-03-26 12:38:30 +09:00
dnobori
e61fca4d9d v4.06-9433-beta 2014-03-21 14:07:45 +09:00
dnobori
dc5d3ee2ae v4.06-9432-beta 2014-03-20 17:05:40 +09:00
dnobori
cf2a6a42bc v4.06-9430-beta 2014-03-20 05:45:05 +09:00
Daiyuu Nobori
dcd9b94381 Merge pull request #34 from nattoheaven/osxtune
Several Fixes for OS X
2014-03-19 20:30:42 +09:00
nattoheaven
4c48388b12 Several Tunings for OS X 2014-03-12 08:06:21 +09:00
YF
923c97a946 Update strtable_cn.stb
update and fixes the translation.
2014-02-21 06:22:55 +08:00
dnobori
496167ee81 v4.05-9423-beta 2014-02-18 20:09:33 +09:00
dnobori
e8ce5fa014 v4.05-9422-beta 2014-02-17 03:16:50 +09:00
ELIN
9a574f5300 /hostname and /password 2014-02-08 06:33:39 +00:00
ELIN
6f031a61fb Merge branch 'master' into autoconnect 2014-02-08 06:06:19 +00:00
dnobori
d2be460d7c v4.05-9418-beta 2014-02-06 13:20:11 +09:00
dnobori
bb853cc18b v4.05-9416-beta 2014-02-06 01:36:42 +09:00
Daiyuu Nobori
8920d01a37 Merge pull request #21 from renaudallard/master
Enable compilation on OpenBSD
2014-02-06 01:35:49 +09:00
Daiyuu Nobori
ef054055b0 Merge pull request #14 from el1n/adminipcidr
adminip.txt CIDR Support
2014-02-06 01:35:38 +09:00
Daiyuu Nobori
cdd4540baa Merge pull request #10 from nattoheaven/tuntaposx
Supporting VLAN for Mac OS X using TunTapOSX
2014-02-06 01:35:26 +09:00
Renaud Allard
02ddb08236 Enable compilation on OpenBSD 2014-02-05 11:28:28 +01:00
ELIN
504c2eb483 possible to provide hostname with an argument 2014-01-28 05:30:57 +00:00
ELIN
d38762941f adminip.txt CIDR Support 2014-01-26 02:51:34 +00:00
dnobori
001fd910fe v4.04-9412-rtm 2014-01-15 18:01:42 +09:00
nattoheaven
8779e59295 Supporting VLAN for Mac OS X using TunTapOSX 2014-01-14 23:19:52 +09:00
Melvyn
a24f914b08 Update Unix.c
fixed a typo visible in the server info ("Liunx" => "Linux")
2014-01-07 11:58:30 +01:00
dnobori
d1bc9c57c5 v4.03-9411-rtm 2014-01-07 05:40:52 +09:00
dnobori
749497dde0 v4.03-9408-rtm 2014-01-04 22:00:08 +09:00