Commit Graph

49 Commits

Author SHA1 Message Date
Logan oos Even
70912300ca
updated CMakeLists.txt
disabled / undeffed global HAVE_PTHREAD due to #758 / #759
2021-08-30 12:46:07 +05:45
Logan oos Even
a1594bc976
Revert "Update CMakeLists.txt (#759)" (#760)
This reverts commit 921eb27482.
2021-08-30 12:43:09 +05:45
skyformat99
921eb27482
Update CMakeLists.txt (#759) 2021-08-30 11:24:10 +05:45
fengdaolong
04f0bd88e6
do not link if libpthread is not found (#757) 2021-08-29 13:27:17 +05:45
Logan oos Even
b0de090de4
Revert "correct wrong pthread lib switch logic (#755)" (#756)
This reverts commit 8e3fa33863.
2021-08-29 12:38:09 +05:45
fengdaolong
8e3fa33863
correct wrong pthread lib switch logic (#755) 2021-08-29 12:32:28 +05:45
fengdaolong
ae041c2133
CMakeLists.txt add link pthread library (#754) 2021-08-29 01:53:44 +05:45
Logan oos Even
7e0cbb10dc
updated CMakeLists.txt (#700) 2021-06-04 03:33:28 +05:45
fengdaolong
3a480a4a21
solved the problem that Windows cannot multicast (#576)
* Solve the problem that Windows cannot multicast.

* Better git judgment logic.
2021-01-12 14:26:40 +05:45
skyformat99
348d2baaf2
Update CMakeLists.txt (#510)
1)  add openssl version check
2) add  build option for  pcap lib : N2N_OPTION_USE_PCAPLIB
3) add build option for  libzstd  : N2N_OPTION_USE_ZSTD
2020-11-19 09:31:49 +01:00
skyformat99
11661a1cbf
Update CMakeLists.txt (#507)
* Update CMakeLists.txt

fix  #490 :
CMakeLists.txt error : made openssl & zstd support optional #490

* Update CMakeLists.txt

update message
2020-11-17 10:39:41 +01:00
joshuafc
b3f564e58c
Traffic Restrictions, Pass Build on CircleCI and local Windows 10 VS2019 (#499)
* Add new file 'network_traffic_filter.c/.h"

* Add feature to drop or accept specific packet transmit over edge network interface by rules.

* fix CMakeLists.txt typo

* Update Rule String Format

* replace -F (filter) with -R (rule) for traffic restrictions.

* Update edge help (-h)  message. Update documents.

* Pass Build on CircleCI and local Windows 10 VS2019

* Fix cmake build failed because of sn_selection

* fix operate void* cause vs2016 build failed

* Fix typo to pass build on windows.

* add inttypes.h for n2n_typedefs.h to pass windows build

* modify headers to pass build on windows.
2020-11-16 21:27:42 +01:00
vtcpip
a45676e131
Fixed edge linking error under mingw (#492) 2020-11-10 16:35:48 +01:00
joshuafc
a840aebb83
Add feature to drop or accept specific packet transmit over edge network interface by rules. (#489)
* Add new file 'network_traffic_filter.c/.h"

* Add feature to drop or accept specific packet transmit over edge network interface by rules.

* fix CMakeLists.txt typo

* Update Rule String Format

* replace -F (filter) with -R (rule) for traffic restrictions.

* Update edge help (-h)  message. Update documents.
2020-11-10 16:35:05 +01:00
fei4xu
a2db28275c
fix yocto cross build error: 'string.h ' not found (#487)
Co-authored-by: uib51588 <fei.4.xu@continental.com>
2020-11-05 18:03:50 +01:00
BetaBeauty
57f742fe42
Extra Device Description in P2P Connection and Register to Super Node (#475)
* add cmake export commands

* add extra edge description (hint) field

* add peer2peer description registry

* fixed bug: peer2peer not pass the dev_desc filed

* update -I option in the helper text

Co-authored-by: Longtao Wang <longtao.wang@cortexlabs.ai>
2020-10-26 21:13:56 +01:00
南浦月
e4637cd48b
fix(cmake): install path of man pages 2020-09-07 14:32:35 +08:00
Logan oos Even
90a071a1d3
Merge branch 'dev' into revCc20 2020-09-01 20:16:32 +05:45
Logan007
e087124dd9 reworked cc20 2020-09-01 16:17:52 +05:45
fengdaolong
f560e8f753 Fix the version number displayed after building by Cmake. 2020-08-29 00:49:54 +08:00
Luca Deri
31a05e18d1
Merge pull request #389 from Logan007/revTf
reworked twofish implementation and replaced it by a faster version
2020-08-28 13:01:19 +02:00
Logan007
d5c1295bec replaced twofish implementation by a faster version 2020-08-26 18:07:05 +05:45
Logan007
6d05d48878 changed aes transform to cipher text stealing mode 2020-08-23 20:02:19 +05:45
Logan007
b5b18443af added regular expression checking 2020-08-04 18:49:12 +05:45
fengdaolong
51c889ddea Fix read tap device failed when OS wake up from sleep.
Adjust the structure of the source file to the header file.
2020-07-06 13:17:01 +08:00
fengdaolong
1ada1dc7ed CMakeLists.txt automatically judges git commands and OpenSSL libraries.
1. Automatically determines whether the git command exists to generate a revision number.
2. When OpenSSL is not found, AES is automatically disabled.
2020-07-02 11:54:22 +08:00
fengdaolong
f5accc8221 Fix cmake compilation errors.
1. CMakeLists.txt added to automatically obtain the revised version number from the git repository.
2. Adjusted some header files to fix Windows platform compilation errors.
3. Eliminate some compilation warnings.
2020-07-01 18:35:22 +08:00
Logan007
43feafa1b6 prepared header encryption 2020-06-17 11:51:05 +05:45
Logan007
67a1cb1792 polished speck 2020-06-17 11:30:48 +05:45
Logan007
9d9695ebdb added XORSHIFT128+ random number generator 2020-06-08 16:10:25 +05:45
emanuele-f
3d9d3a13f7 Windows cmake fix
Fixes #248
2020-05-27 10:54:12 +02:00
emanuele-f
5044fcde26 Add linux capabilities dependency to cmake 2020-05-24 11:36:56 +02:00
Luca Deri
54ad44749b
Merge pull request #223 from cnanakos/osx_catalina_compile_failure
Fix OSX Catalina compilation failure
2020-04-24 00:38:14 +02:00
Chrysostomos Nanakos
e68a344ff8 Fix OSX Catalina compilation failure
Include openssl library path for n2n-benchmark compilation

Fixes https://github.com/ntop/n2n/issues/222

Signed-off-by: Chrysostomos Nanakos <chris@include.gr>
2020-04-10 22:55:32 +03:00
Felix Pojtinger
2058ab93c8 Add more embedding examples and initally decomposed sn_utils 2020-03-16 15:03:03 +01:00
emanuele-f
252ee3e82f Call pcap_set_immediate_mode if available 2019-09-21 17:02:24 +02:00
emanuele-f
9d64ca0088 Fix install targets 2019-09-21 16:26:18 +02:00
emanuele-f
60a4ba90ce Add tools subdirectory 2019-09-21 16:13:52 +02:00
emanuele-f
cb43d0cf64 Unify n2n version 2019-07-06 13:52:17 +02:00
emanuele-f
4ca0ae34a4 Remove keyfile leftover 2019-06-17 09:54:53 +02:00
emanuele-f
a89e6b913d Fix cmake build and add n2n 32bit DLL 2019-06-08 13:14:16 +02:00
Chris Sheely
ba0ecabbf6 Submit minor changes to enable Windows CMake builds w/o further mods. 2019-02-11 16:49:37 -05:00
Luca Deri
1888a0c55a Merge of https://github.com/ntop/n2n/pull/26 2018-08-17 14:27:11 +02:00
Luca Deri
fcd5dc86a5 Fixed #32
Minor help fixes
2018-08-08 17:46:39 +02:00
Luca Deri
6c611ea306 Fixed cmake
Minor code cleanup
2018-06-14 11:44:10 +02:00
Luca Deri
73cd299275 Moved to 2.3.x release 2018-06-08 08:21:27 +02:00
Luca Deri
27c10a1fb8 Fix for #6 2018-06-08 00:22:36 +02:00
Dushara Jayasinghe
368cee035c Fix Segmentation fault on Linux amd64
The version defines which were passed to version.c were incorrectly
constructed in the CMakeLists.txt file causing a seg fault when
invoking edge -h
2017-08-29 09:45:19 +10:00
Luca Deri
b1e9ce6d2a Initial SVN import of n2n v2 2016-10-23 10:46:15 +02:00