Commit Graph

  • dd4292f79e reversed some changes concerning iv seed code Logan008 2019-06-09 23:00:30 +0200
  • f36814b152 Implement query peer to try p2p during send emanuele-f 2019-06-08 19:54:46 +0200
  • b36754eae0 Set last_p2p ib peer_set_p2p_confirmed emanuele-f 2019-06-08 20:44:07 +0200
  • 3db1cab276 Split broadcast stats from other supernode stats emanuele-f 2019-06-08 18:41:18 +0200
  • 0e6db6361e Fix connection stall when idle p2p refresh occurs emanuele-f 2019-06-08 17:50:48 +0200
  • f038f22a0b Fix too many registrations going on emanuele-f 2019-06-08 16:10:00 +0200
  • 623a9e480c Improve log messages emanuele-f 2019-06-08 15:32:47 +0200
  • a89e6b913d Fix cmake build and add n2n 32bit DLL emanuele-f 2019-06-08 13:14:16 +0200
  • 90bcee24e5
    Merge pull request #122 from fengdaolong/dev Emanuele Faranda 2019-06-03 16:50:19 +0000
  • 69e3b49bec eliminate compilation warnings fengdaolong 2019-06-04 00:09:15 +0800
  • d76cb64d0f Fix seed debug print emanuele-f 2019-06-03 10:16:42 +0200
  • 86870a781e Removed PRIx64, a C99 feature lucaderi 2019-06-03 07:43:49 +0200
  • f33907ebd8 Fix seed debug print on 32bit platforms emanuele-f 2019-06-03 00:40:35 +0200
  • ab5d64385d removed nonce Logan008 2019-05-31 21:09:22 +0200
  • df3ae56609 input key size dependant AES key hashes and sizes Logan008 2019-05-31 20:17:29 +0200
  • 41e9e04083 Fix invalid service enabled emanuele-f 2019-05-31 10:33:36 +0200
  • 61799a96ae
    Merge pull request #110 from realjiangms/fix_reliable_punch Emanuele Faranda 2019-05-23 14:25:20 +0000
  • f48c170c26 Fix supernode handling REGISTER message from edge and let edge ask supernode to forward REGISTER message in case of non-p2p-reflection. This is reliable way to PUNCH UDP HOLE (following STUN spec) yunbox 2019-05-23 19:21:21 +0800
  • ca407f42af Fix aarch64 deb package 2.4-stable emanuele-f 2019-05-23 01:05:13 +0200
  • 3aec02d3e6 Fix unidirectional P2P connection due to pending registration emanuele-f 2019-05-23 00:46:29 +0200
  • fb813e5438 Fix "invalid transop ID" when encryption is disabled emanuele-f 2019-05-22 23:30:05 +0200
  • 52d33ed880 Fix missing destination MAC in REGISTER preventing proper P2P emanuele-f 2019-05-22 23:04:27 +0200
  • 0edca7e16a Fix purge_expired_registrations to accept passed-in last_purge instead of static function var. Jiang Zihao 2019-05-18 02:06:14 +0800
  • 59011308b2 Ignore invalid community when not received from supernode emanuele-f 2019-05-22 22:40:42 +0200
  • b6d12c009c Lower registration timeout to 1 minute emanuele-f 2019-05-22 22:21:26 +0200
  • 381c795af5 Lower registration timeout to 1 minute emanuele-f 2019-05-22 22:21:26 +0200
  • 9b97684f0d
    Merge pull request #109 from realjiangms/fix_purge_expired_registrations_kickoff_2.4-stable Emanuele Faranda 2019-05-22 20:15:28 +0000
  • 9e22321c38 Fix purge_expired_registrations to accept passed-in last_purge instead of static function var. Jiang Zihao 2019-05-18 02:06:14 +0800
  • 04226c09c8 Fix compilation warnings and little leak emanuele-f 2019-05-21 22:53:55 +0200
  • bc904cfbcc Skip localhost received sockets emanuele-f 2019-05-06 00:40:26 +0200
  • e2861e5f71 Fix send error in peer registration refresh emanuele-f 2019-05-06 00:08:08 +0200
  • 49fd9fc5da Discard idle known_peers to avoid connection blocking on disconnection emanuele-f 2019-05-05 23:48:48 +0200
  • 824b45a808 Add linux termination handler and print stats on shutdown emanuele-f 2019-05-05 21:47:50 +0200
  • d5387945b4 Add the -i option to specify registration interval on edge nodes emanuele-f 2019-05-05 21:22:23 +0200
  • 856dbae44c Cosmetic changes to improve edge registration tracing emanuele-f 2019-05-05 19:09:51 +0200
  • fbc3754601 Compilation fix Luca Deri 2019-05-05 10:08:21 +0200
  • 87bf4ca298
    Merge pull request #100 from emanuele-f/transop-rework Emanuele Faranda 2019-05-04 19:14:01 +0000
  • 18388c8e05 Added service dependency Luca Deri 2019-05-02 09:22:33 +0200
  • 86374367ff add: strncpy null termination horseluke 2019-05-02 03:07:02 +0800
  • a5b54f34e0 Add: Enable param -d in edge node for selectable tap adapter in windows horseluke 2019-05-02 02:21:11 +0800
  • 18c9e84158 Fix: win32 build version.c missing bug horseluke 2019-05-01 23:41:34 +0800
  • c89ece71ca Code rework changes emanuele-f 2019-04-27 15:55:07 +0200
  • f577d997a7 Drop keyschedule support emanuele-f 2019-04-27 12:42:06 +0200
  • e757f94efa Initial code rework (wip) emanuele-f 2019-04-27 01:56:57 +0200
  • 08b992cbb7 Add more detailed error message when TAP open fails emanuele-f 2019-04-24 01:02:36 +0200
  • fc16352198 Add decryption test in benchmark emanuele-f 2019-04-22 01:39:09 +0200
  • c702ca8686 Move AES IV out of struct sa_aes emanuele-f 2019-04-22 01:24:58 +0200
  • 84593a2254 memcpy fix emanuele-f 2019-04-16 02:23:01 +0200
  • bb07f0426e Properly initialize AES IV and hash the AES key emanuele-f 2019-04-16 02:09:13 +0200
  • d689691599 n2n.h cleanup emanuele-f 2019-04-14 18:08:51 +0200
  • 3149a77753 Replace fprintf with traceEvent emanuele-f 2019-04-14 17:33:57 +0200
  • 49d5ecf2a8 Reduce duplicated code in quick_edge_init emanuele-f 2019-04-14 17:21:47 +0200
  • 50bc1492e2 Remove unnecessary structures in AES encryption emanuele-f 2019-04-12 00:23:20 +0200
  • e3951631b9 Improve benchmark emanuele-f 2019-04-11 00:46:34 +0200
  • d4205d36fd Additional fix for missing SO_REUSEPORT emanuele-f 2019-04-10 14:59:01 +0200
  • e989f475a1 Fix invalid initializations emanuele-f 2019-03-28 00:20:16 +0100
  • f5b2d00b06 Show multicast group join error code emanuele-f 2019-03-27 21:42:40 +0100
  • 1784753d14
    Merge branch 'dev' into revampAesPart1 Logan008 2019-03-27 20:50:10 +0100
  • 136a319d32 Keeping compatibility with AES encryption scheme version 1 Logan008 2019-03-27 19:52:30 +0100
  • 03761fc84c Handle WSAECONNRESET to avoid stopping the supernode on Windows emanuele-f 2019-03-27 01:13:58 +0100
  • 03dbedd52b Change supernode registration messages log to info emanuele-f 2019-03-26 22:24:28 +0100
  • c71f629d1b Fix encryption key being zeroed by AES initialization emanuele-f 2019-03-26 21:56:02 +0100
  • 66c2ac420e Added replay protection to IV. Logan008 2019-03-11 09:14:24 +0100
  • e08a98f0ad Message Authentication now also includes aes version and sa number. Logan008 2019-03-07 22:22:13 +0100
  • c10f06e382 Fix missing n2n-ntopng in configure Emanuele Faranda 2018-12-12 16:16:46 +0100
  • 9490c361da Path fix Luca Deri 2018-12-01 08:45:41 +0100
  • 82facbba88 Add n2n-ntopng to bind the services lifetimes emanuele-f 2018-12-12 16:02:41 +0100
  • 92faeb54ad Add support for multi-service n2n edge Emanuele Faranda 2018-11-28 13:04:44 +0100
  • b034730f19 Use systemd helpers to honor system wide preferences on service enable/start emanuele-f 2018-12-31 16:36:32 +0100
  • 61887c740d Config files are installed with the .sample extension You can now do 'cp edge.conf.sample edge.conf' to create a n2n configuration. If the .conf (for edge and supernode) are present, the service is enabled automatically. This prevents unwanted services to be enabled, and it preserves services activation across updates Luca Deri 2018-12-01 08:36:58 +0100
  • 06f29cbc5e Disable automatic n2n startup Luca Deri 2018-11-23 16:57:14 +0100
  • 5ff5db9d97 The issues from the review have been addressed. Logan008 2019-03-04 18:16:15 +0100
  • 82622d55ff Revamp AES Part 1; including random & encrypted IV, hashed key and max keysize Logan008 2019-03-03 16:15:34 +0100
  • 9e2aa47bf0 Add Centos packaging instructions emanuele-f 2019-03-03 04:35:04 +0100
  • 7e5fd863a8 Improve Windows compilation instructions emanuele-f 2019-03-03 04:15:38 +0100
  • 327a847681 Version fix emanuele-f 2019-03-01 20:38:33 +0100
  • 77392f8e53 Add check for SO_REUSEPORT emanuele-f 2019-03-01 20:34:44 +0100
  • 5742ef978f Add Windows compilation instructions emanuele-f 2019-03-01 20:16:24 +0100
  • d7b3b2c06b
    Merge pull request #66 from csheely/windows-cmake-build Emanuele Faranda 2019-03-01 18:57:20 +0000
  • 585ed22a5d
    Merge pull request #67 from emanuele-f/fix_aes_multiedge Emanuele Faranda 2019-03-01 18:53:47 +0000
  • c4b96bea42
    Merge pull request #71 from emanuele-f/udp_timeout Emanuele Faranda 2019-03-01 16:07:02 +0000
  • 5f4dfdc683 Reduce the registration timeout to keep the connection open emanuele-f 2019-02-25 23:42:46 +0100
  • 37233553a4 Fixes packet drops while communicating with multiple nodes in AES PSK emanuele-f 2019-02-20 01:22:29 +0100
  • ba0ecabbf6 Submit minor changes to enable Windows CMake builds w/o further mods. Chris Sheely 2019-02-11 16:49:37 -0500
  • 5feb00bcf8 Create gitignore emanuele-f 2019-02-11 11:27:43 +0100
  • dcf96a0809 Added #ifdef's for AES Luca 2019-01-28 21:56:38 +0100
  • d275965e00
    Merge pull request #60 from emanuele-f/enable_aes Luca Deri 2019-01-28 21:52:04 +0100
  • 200cfd24a3 Fix benchmark AES lib emanuele-f 2019-01-28 01:44:47 +0100
  • 5d7db5f332 Add transopts benchmarks emanuele-f 2019-01-28 01:05:48 +0100
  • e4601590aa Add -A option to enable AES CBC psk encryption emanuele-f 2019-01-28 00:27:54 +0100
  • 63e74ccc6a Added support for ARM64 platforms Luca Deri 2019-01-26 09:33:24 +0100
  • a96237f83d Use systemd helpers to honor system wide preferences on service enable/start emanuele-f 2018-12-31 16:36:32 +0100
  • 1e8b61806d Added note to fix /dev/tap problems Luca Deri 2018-12-22 08:23:22 +0100
  • f02b68f5af Use after network-online to avoid DNS resolve and multicast bind issues emanuele-f 2018-12-14 10:34:59 +0100
  • d896a9c3e8 Fix missing n2n-ntopng in configure Emanuele Faranda 2018-12-12 16:16:46 +0100
  • 3bd4e2c335 Add n2n-ntopng to bind the services lifetimes emanuele-f 2018-12-12 16:02:41 +0100
  • 55d5392cd2 Added check for missing argument (-l) Luca Deri 2018-12-04 13:55:33 +0100
  • e07ae72c17 Fix multicast self registration emanuele-f 2018-12-03 00:00:12 +0100
  • e7cfa00435 Path fix Luca Deri 2018-12-01 08:45:41 +0100
  • b758d69e6c Config files are installed with the .sample extension You can now do 'cp edge.conf.sample edge.conf' to create a n2n configuration. If the .conf (for edge and supernode) are present, the service is enabled automatically. This prevents unwanted services to be enabled, and it preserves services activation across updates Luca Deri 2018-12-01 08:36:58 +0100