Commit Graph

287 Commits

Author SHA1 Message Date
Emanuele Faranda
2a28bd1952
New routing instructions 2020-05-23 15:35:51 +00:00
emanuele-f
0e48e2f24c Add support for linux capabilities to proper routes cleanup 2020-05-23 17:17:32 +02:00
emanuele-f
62b9530425 Add missing ifdef 2020-05-23 16:44:47 +02:00
emanuele-f
928fc9f22e Add ability to insert linux routes in n2n
The new -n option can now be used to setup routes directly from the edge command line.
It supports both network routes and default gateway routes. Here is an example:

  - "-n 192.168.100.0/24:192.168.99.1" routes the 192.168.100.0/24 network traffic via 192.168.99.1
  - "-n 0.0.0.0/0:192.168.99.1" routes all the host traffic via 192.168.99.1
2020-05-23 16:21:45 +02:00
Luca Deri
7d5aa1f752
Merge pull request #239 from Logan007/flexIv
allowed flexibe iv seed size (AES)
2020-05-09 00:24:31 +02:00
Luca Deri
dccbc4961a
Merge pull request #237 from Logan007/lzo
added optional payload compression (lzo) for all transforms
2020-05-09 00:23:29 +02:00
Luca Deri
80bd0a41f4
Merge pull request #236 from Logan007/staticErrOut
transform_aes.c -- make openssl_err_as_string() static
2020-05-09 00:22:05 +02:00
Luca Deri
b2f09a2d0c
Merge pull request #233 from Logan007/typo
Typo
2020-05-06 00:46:08 +02:00
Logan007
aa3b2b17a5 allowed flexibe iv seed size 2020-05-05 22:22:01 +02:00
Logan007
9076ed1bab added optional payload compression (lzo) for all transforms 2020-05-03 18:48:59 +02:00
Logan007
0ff7eac6fc made openssl_err_as_string static to avoid conflicts with other ciphers that would also use their own function - those can't rely on the AES module being there 2020-04-26 20:41:28 +02:00
Logan007
453489b1e8 fixed typo 2020-04-25 23:55:14 +02:00
Logan007
20847c0063 fixed typo 2020-04-25 23:46:50 +02:00
lucaderi
fb0a6e8abc OpenSSL 1.0 fix 2020-04-24 12:35:51 +02:00
Luca Deri
8b8e3ed3ee Updated OpenSSL checks 2020-04-24 08:45:33 +02:00
Luca Deri
1cc4996ef3 Added comparibility with OpenSSL 1.0 2020-04-24 08:21:12 +02:00
Luca Deri
803155f244
Merge pull request #224 from Logan007/snLstCmmnts
added list of currently managed communities to supernode's management port output
2020-04-24 00:38:48 +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
Luca Deri
a94679e664 Merge branch 'dev' of https://github.com/ntop/n2n into dev 2020-04-24 00:37:22 +02:00
Luca Deri
97c8948113 MacOS fixes 2020-04-24 00:36:32 +02:00
Luca Deri
10245f5ef1 Warning fix 2020-04-24 00:01:50 +02:00
Luca Deri
3c8837cfa3
Merge pull request #213 from Logan007/evp
AES -- (better) hardware acceleration using openssl's evp interface
2020-04-23 23:56:03 +02:00
Luca Deri
2636c65999 Waarning fix 2020-04-23 23:55:16 +02:00
Luca Deri
a13247f6c0
Merge pull request #209 from pojntfx/dev
Enable embedding the supernode, add more embedding examples (clean)
2020-04-23 23:51:02 +02:00
Logan007
353a82c017 added list of currently managed communities to supernode's management port output 2020-04-14 19:54:43 +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
Logan007
a9e48bb353 sync 'upstream/dev' into dev 2020-04-02 14:05:02 +02:00
Logan007
fb1dfdbdf2 reused evp context 2020-03-30 11:48:48 +02:00
Felix Pojtinger
8d64ed3ff8
Standardize documentation (#211)
* Use Markdown for Android build docs, fix typos

* Format and correct syntax errors/irregularities in existing Markdown documents

* Convert `txt`-based docs to Markdown, update macOS instructions

* Use GitHub conventions for README, fix typos, add link to `gon2n`

* Fix case sensitivity issues
2020-03-28 19:24:34 +00:00
Sharuzzaman Ahmat Raslan
317a425904
typo fix for README.md (#215)
several typo fixes for README.md
2020-03-28 18:23:39 +00:00
Logan oos Even
e60c10ebb1
Enable compiler optimizations (#218) 2020-03-28 18:22:55 +00:00
Logan007
7712279a8a fixed one more typo 2020-03-26 10:12:30 +01:00
Logan007
e0741a5912 added additional length check after evp-en/decryption 2020-03-26 09:44:03 +01:00
Luca Deri
b73f146d9b Fixed warnings
Moved to 2.7
2020-03-24 10:09:39 +01:00
Logan007
8649de7a16 made use of openssl's evp interface to achieve better hardware acceleration for AESed payload 2020-03-20 16:24:51 +01:00
Logan007
01f7825fd7 merge remote-tracking branch 'upstream/dev' into dev 2020-03-16 18:26:00 +01:00
Felix Pojtinger
62815e61f8 Don't use implicit extern keyword and use static 2020-03-16 15:23:02 +01:00
Felix Pojtinger
fd902173ff Remove duplicate definitions 2020-03-16 15:07:11 +01:00
Felix Pojtinger
2058ab93c8 Add more embedding examples and initally decomposed sn_utils 2020-03-16 15:03:03 +01:00
Emanuele Faranda
d8871c2a60
Merge pull request #199 from Marviel/patch-1
Update tuntap_osx.c error message.
2020-02-04 09:49:33 +00:00
Luke Bechtel
3629d4770a
Update tuntap_osx.c 2020-02-03 17:14:01 -05:00
Luke Bechtel
b31839631a
Update tuntap_osx.c
Add clearer explanation of tuntap failure.
2020-02-03 17:09:54 -05:00
emanuele-f
46aaa86629 Fix multicast dropped when routing is disabled 2019-12-26 22:13:49 +01:00
emanuele-f
f9ade32788 Move -L flag doc to manpage 2019-11-13 21:57:18 +01:00
realjiangms
9601e82daf More reliable punching:
1. Some nat router blocks the port if incoming traffic arrives before outcoming traffic being sent. Give edge ability to set proper TTL so that the registration packet is dropped before it arrives peer.
2. Support Symmetric NAT by predicting 15 more ports when sending registration packet
3. Purge pending mac also on P2P normal packet. This is actually more usual condition.
4. Add doc for new flag.
2019-11-08 09:21:10 +08:00
emanuele-f
7e7782f965 Possibly fix mingw compilation 2019-11-03 15:54:34 +01:00
Alfredo Cardigliano
5889b2c4a0 rpm-sign fix for centos8 2019-10-21 09:37:28 +02:00
emanuele-f
1b49b37a75 Disable PMTU options on apple to fix compilation issues 2019-09-24 09:50:29 +02:00
emanuele-f
8f3009c448 Fix occasional connection issues on startup due to bad MAC address read 2019-09-22 20:16:01 +02:00
emanuele-f
6868ed9ccd Ensure that the TAP interface is up and running 2019-09-22 19:45:51 +02:00