1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-07-07 08:14:58 +03:00
Commit Graph

1738 Commits

Author SHA1 Message Date
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
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
6115a2f6b7 Add LSB header 2016-06-10 14:32:37 +09:00
5ffb983a85 Support Debian package build on ARMv7l architecture 2016-05-12 17:02:30 +03:00
03ffd7535a merge upstream v4.21-9613-beta 2016-05-04 12:27:52 +03:00
698babf408 merge upstream v4.20-9608-rtm 2016-05-04 11:53:35 +03:00
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
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
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
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
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
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
1e17c9bcfd v4.21-9613-beta 2016-04-24 23:49:31 +09:00
a9b9afc806 Merge remote-tracking branch 'upstream/master' 2016-04-18 11:59:58 -07:00
c0c1b914db v4.20-9608-rtm 2016-04-18 01:52:49 +09:00
4a3f08e5b8 merge upstream v4.19-9605-beta 2016-03-08 21:32:14 +02:00
17e624ac26 v4.19-9605-beta 2016-03-06 23:16:01 +09:00
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
af8d24cc22 Merge remote-tracking branch 'origin/rpmspec_update' into rpmspec_update
* origin/rpmspec_update:
  Fix typo in specfile
2016-01-05 10:52:29 -05:00
b72392117b Merge remote-tracking branch 'SoftEtherVPN/master' into rpmspec_update
* SoftEtherVPN/master:
  v4.19-9599-beta
2016-01-05 10:52:25 -05:00
311ab9efab Correctly save and apply the DisableSslVersions config 2015-12-09 14:06:13 +08:00
c34b751db0 Adding Radius AVP Called-Station-Id 2015-11-26 11:24:04 -02:00
04b72873c7 Fix the problem of the DisableSslVersions patch. 2015-11-23 16:15:10 +08:00
8b1b67faed Introduce DisableSslVersions.
The SSL Versions specified will be disabled on server context.
2015-11-10 00:55:24 +08:00
0c13f72003 Merge remote-tracking branch 'origin/master' 2015-10-25 22:58:11 -07:00
3228b114a4 merge upstream v4.19-9599-beta 2015-10-19 22:42:18 +03:00
d3a1b26413 v4.19-9599-beta 2015-10-19 21:30:51 +09:00
e07f40f4a2 Fixed typo 2015-10-16 14:33:22 -04:00
7aaf3d8fd3 merge upstream v4.19-9582-beta 2015-10-13 23:13:25 +03:00
8f596cd3c9 Fix typo in specfile 2015-10-07 13:06:16 -04:00
5f0f05aa76 Merge branch 'master' into rpmspec_update
* master:
  v4.19-9582-beta
2015-10-07 11:45:14 -04:00
01af586d4a bump version to 4.19.9582-beta 2015-10-07 11:44:08 -04:00
4e862a7e40 v4.19-9582-beta 2015-10-06 20:18:00 +09:00
3858927dc0 Update CentOS makefiles and spec file 2015-09-30 11:52:20 -04:00
525348b6d1 Systemd service configuration files for SoftEther 2015-09-22 02:22:05 -07:00
74c641c13e Fix set initialization, set.OnlyCapsuleModeIsInvalid could be garbage 2015-09-18 14:39:08 -03:00
3c8abd60ed v4.19-9578-beta 2015-09-15 16:19:45 +09:00
9a82b3c65c v4.19-9577-beta 2015-09-15 14:22:53 +09:00
1cf9df5539 merge upstream v4.18-9570-rtm 2015-07-26 23:10:21 +03:00
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
4b65e251f2 v4.18-9570-rtm 2015-07-26 19:39:40 +09:00
ea17418df8 Merge remote-tracking branch 'upstream/master' 2015-07-20 19:22:56 -07:00
7e00268084 merge with vendor v4.17-9566-beta 2015-07-21 01:15:44 +03:00
860f743dd7 v4.17-9566-beta 2015-07-17 00:31:57 +09:00
1a9fe52991 merge with vendor 2015-07-15 19:28:20 +03:00
29d330522d Fixed OSX CPU utilization by replacing broken kevent() with select() 2015-07-09 01:11:40 +03:00
bccc18b825 Granting CAP_SETUID as it seems to be needed 2015-06-22 11:39:12 -07:00
04cfcd47ab Granting CAP_SYS_ADMIN capability 2015-06-22 11:27:25 -07:00
73112980b3 Added hardening to confine its system capability to what SoftEther requires 2015-06-22 10:59:34 -07:00
74795cd42d Omitting an extra (unneeded) argument 2015-06-04 21:15:34 -07:00