Commit Graph
52 Commits
Author SHA1 Message Date
Davide Beatrici 097369849b Unix.c: don't use hardcoded path to call "ethtool" 2018-07-30 06:35:02 +02:00
Davide Beatrici c1a6bdb51e Merge PR #588: BUILD_WINDOWS.md: add more info regarding the software and provide download links 2018-07-29 06:12:10 +02:00
Davide Beatrici f0d0b5a89c BUILD_WINDOWS.md: convert CRLF to LF 2018-07-29 05:46:26 +02:00
Davide Beatrici 61a164d25c Merge PR #585: README.md: add Coverity Scan badge 2018-07-28 02:27:16 +02:00
Davide Beatrici 110f2291a2 Merge PR #582: Encrypt.c: check whether OpenSSL compression and FIPS features are available 2018-07-27 08:40:15 +02:00
Davide Beatrici 14eb17e6ad Merge PR #581: src: split CMakeLists.txt for each subdirectory 2018-07-27 04:47:26 +02:00
Davide Beatrici be0e3cfb61 Merge PR #438: Solaris: use DLPI style 1 attachment and check for /dev/net used by Illumos and Solaris 10+. 2018-07-26 09:06:54 +02:00
Davide Beatrici 8f3a4cc3b3 Merge PR #481: Encrypt: set default RSA key size to 1024 everywhere, using the RSA_KEY_SIZE macro 2018-07-26 07:29:28 +02:00
Davide Beatrici 0a839bcc0b Merge PR #559: Windows: suppress detailed build output 2018-07-26 06:51:10 +02:00
Davide Beatrici 07ed7e1626 src: split CMakeLists.txt for each subdirectory 2018-07-26 06:44:19 +02:00
Davide Beatrici 16291e22c9 Merge PR #578: Git: ensure that line endings are normalized 2018-07-26 05:28:55 +02:00
Davide Beatrici b42d099109 Merge PR #580: BUILD_UNIX.md: improve documentation as discussed in #558 2018-07-25 23:35:53 +02:00
Davide Beatrici 19f08ae96e Merge PR #579: debian: resolve "nonexistent" path in packaging 2018-07-25 23:32:16 +02:00
Davide Beatrici 949c5670d1 Merge PR #577: CMake: fix pthread detection 2018-07-25 13:08:11 +02:00
Davide Beatrici 879dc8f6b8 Mayaqua.c: fix code style broken by #560 2018-07-21 10:27:21 +02:00
Davide Beatrici 412a5aea71 Merge PR #485: Encrypt: use OpenSSL's EVP interface, which supports AES-NI without the need of another library 2018-07-21 05:31:09 +02:00
Davide Beatrici 23fd1fc94e Merge PR #473: IPC: use hostname as client identifier, if available 2018-07-21 05:19:14 +02:00
Davide Beatrici 360273b912 Merge PR #472: OpenVPN: hostname support 2018-07-21 05:15:14 +02:00
Davide Beatrici 6313c4a747 Merge PR #567: changelog was not correct from Launchpad point of view 2018-07-21 05:11:29 +02:00
Davide Beatrici 4b58f3f2e4 Merge PR #566: HubName has to be set after Copy 2018-07-21 05:11:05 +02:00
Davide Beatrici 749cf3d9f0 Merge PR #354: Using client parameter in function CtConnect 2018-07-21 05:10:03 +02:00
Davide Beatrici 9950574852 Merge PR #555: src/Mayaqua/Network: remove unused functions 2018-07-21 04:44:00 +02:00
Davide Beatrici 84eb2dc423 README.md: add myself to the list of members 2018-07-21 04:40:25 +02:00
Davide Beatrici 4029f3ae8d Rename IsIntelAesNiSupported() to IsAesNiSupported() 2018-06-09 20:31:27 +02:00
Davide Beatrici 420e575ab1 Remove Intel AES-NI library 2018-06-09 19:57:45 +02:00
Davide Beatrici a7be140f85 Encrypt: use OpenSSL's EVP interface, which supports AES-NI without the need of another library 2018-06-09 19:57:45 +02:00
Davide Beatrici 2da755135a Encrypt: improve FreeOpenSSLThreadState() and FreeCryptLibrary(), in order to clean up the library correctly
https://wiki.openssl.org/index.php/Library_Initialization#Cleanup
2018-06-09 19:57:18 +02:00
Davide Beatrici 1fad008e1a Encrypt: set default RSA key size to 1024 everywhere, using the RSA_KEY_SIZE macro
This commit also fixes the problem described in #31, which was caused by the test key generated in RsaCheck() being too small for newer OpenSSL versions.
2018-06-09 19:56:51 +02:00
Davide Beatrici ba75a32a9f IPC: use hostname as client identifier, if available
This allows a DHCP server to use the client ID as unique identifier, in order to correctly assign a static lease.

Previously this wasn't possible, as the client identifier was set to its MAC address, which is randomly generated.
2018-06-09 19:56:16 +02:00
Davide Beatrici a5bd4b33da Hamcore: add "push-peer-info" and "UV_HOSTNAME" to the OpenVPN sample configuration 2018-06-09 19:55:03 +02:00
Davide Beatrici 970e217380 OpenVPN: merge OvsParseOptions() and OvsParsePeerInfo() into a single function 2018-06-09 19:55:03 +02:00
Davide Beatrici 86c82b8ccf OpenVPN: rename generic functions 2018-06-09 19:55:03 +02:00
Davide Beatrici 3ceee41d33 OpenVPN: hostname support
OpenVPN sends the default gateway's MAC address, if the option --push-peer-info is enabled.
It also sends the client's environment variables whose names start with "UV_".

This commit adds some lines of code in OvsBeginIPCAsyncConnectionIfEmpty(), in order to set the hostname to "UV_HOSTNAME"'s value, which is defined by the user on their device.
In case "UV_HOSTNAME" is not available, "IV_HWADDR"'s value (the default gateway's MAC address) is used instead.

OvsParseOptions() has been adapted into a new function called OvsParsePeerInfo(), in order to parse the peer info string.
2018-06-09 19:55:03 +02:00
Davide Beatrici 6ffb9db01b Server.c: remove deactivated for() loop used to add test users to the default hub (#479)
Server.c: remove dead for() loop used to add test users to the default hub
2018-05-24 23:03:24 +02:00
Davide Beatrici f65ae2bf7d Replace hand-written Makefiles with CMake (#518)
* src: remove makefiles

* .gitignore: remove CMakeLists.txt

* README.md: add CMake to the required packages

* debian: add CMake to the dependencies

* Travis CI: specify Makefile directory

* Replace hand-written Makefiles with CMake
2018-05-22 22:20:41 +02:00
Davide Beatrici 661c747a51 BUILD_WINDOWS.md: Visual Studio Express 2008 is now supported, but Windows Driver Kit 7.1.0 is required (#504) 2018-05-03 17:21:21 +02:00
Davide Beatrici 59c817e0fc OpenVPN: don't generate dummy certificates (#521)
* Cedar: don't generate dummy certificate

* hamcore: comment out <cert> and <key> in openvpn_sample.ovpn
2018-05-03 13:44:51 +02:00
Davide Beatrici 7f499d0e5f Travis CI: add MacOS target and create scripts files (#523)
* makefiles: add /usr/local/opt/openssl/include and /usr/local/opt/openssl/lib as include paths on MacOS

* Travis CI: add MacOS target and create scripts files
2018-05-02 23:12:01 +02:00
Davide Beatrici dfbb04627f AppVeyor: increment build number with pull requests, in order to avoid conflicts (#503)
* AppVeyor: increment build number with pull requests, in order to avoid conflicts

* .appveyor.yml: consistent indentation
2018-04-28 23:11:03 +02:00
Davide Beatrici 4014bd2ff5 README.md: improve build status badges position and title (#514)
* README.md: move build status badges near each other and remove separator

* README.md: specify CI service in build status badges' title
2018-04-23 22:24:03 +02:00
Davide Beatrici 2ab85711fa README.md: add AppVeyor build status badge 2018-04-20 11:39:37 +02:00
Davide Beatrici f320908e9e AppVeyor: add configuration file 2018-04-20 11:38:26 +02:00
Davide Beatrici 7d17749bae BuildAll.cmd: correctly start BuildUtil.exe, check if required software exists and exit in case of error 2018-04-20 11:38:11 +02:00
Davide Beatrici 3a2144ce78 vpnweb: add atlthunk.lib to the dependencies
VpnWebControl.obj : error LNK2019: unresolved external symbol "void __stdcall ATL::__FreeStdCallThunk(void *)" (?__FreeStdCallThunk@ATL@@YGXPAX@Z) referenced in function "public: static void __cdecl ATL::_stdcallthunk::operator delete(void *)" (??3_stdcallthunk@ATL@@SAXPAX@Z)

VpnWebControl.obj : error LNK2019: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ) referenced in function "public: static void * __cdecl ATL::_stdcallthunk::operator new(unsigned int)" (??2_stdcallthunk@ATL@@SAPAXI@Z)
2018-04-20 11:38:03 +02:00
Davide Beatrici 66ca7d8fac Add Windows Driver Kit 7.1.0 directories to projects requiring ATL/MFC 2018-04-20 11:37:37 +02:00
Davide Beatrici b29ca0be8b README.md: add AppVeyor build status badge 2018-04-20 00:00:33 +02:00
Davide Beatrici d66f400708 AppVeyor: add configuration file 2018-04-20 00:00:33 +02:00
Davide Beatrici 015848e8e9 BuildAll.cmd: correctly start BuildUtil.exe, check if required software exists and exit in case of error 2018-04-20 00:00:33 +02:00
Davide Beatrici 6c894c11ae vpnweb: add atlthunk.lib to the dependencies
VpnWebControl.obj : error LNK2019: unresolved external symbol "void __stdcall ATL::__FreeStdCallThunk(void *)" (?__FreeStdCallThunk@ATL@@YGXPAX@Z) referenced in function "public: static void __cdecl ATL::_stdcallthunk::operator delete(void *)" (??3_stdcallthunk@ATL@@SAXPAX@Z)

VpnWebControl.obj : error LNK2019: unresolved external symbol "void * __stdcall ATL::__AllocStdCallThunk(void)" (?__AllocStdCallThunk@ATL@@YGPAXXZ) referenced in function "public: static void * __cdecl ATL::_stdcallthunk::operator new(unsigned int)" (??2_stdcallthunk@ATL@@SAPAXI@Z)
2018-04-20 00:00:33 +02:00
Davide Beatrici 4529f07bc4 Add Windows Driver Kit 7.1.0 directories to projects requiring ATL/MFC 2018-04-20 00:00:33 +02:00
Davide Beatrici 94e2e37cc1 debian: correct date in README.TXT (#494) 2018-04-18 23:19:39 +02:00
Davide Beatrici affcc39300 GitHub: improve issue template (#480) 2018-04-09 23:18:00 +02:00