Commit Graph

  • e4988b9e9c switch to libsodium implementation of aegis256 master Josef Miegl 2020-06-09 20:59:55 +02:00
  • 0183b35acf remove aegis256 submodule Josef Miegl 2020-06-09 20:44:38 +02:00
  • faeb599a19 Rework mud_set_conf() Adrien Gallouët 2020-04-17 21:25:08 +00:00
  • a4e72918df Inline and move some functions Adrien Gallouët 2020-04-03 08:32:20 +00:00
  • d7e8dbe0e7 Code cleanup Adrien Gallouët 2020-03-30 12:32:05 +00:00
  • 71d16f25ff Don't use a static mtid Adrien Gallouët 2020-03-26 22:31:33 +00:00
  • c426cef08b Fix non little endian arch Adrien Gallouët 2020-03-25 20:42:48 +00:00
  • bda2c6eaa7 Wait a few packets before computing the loss Adrien Gallouët 2020-03-07 15:13:37 +00:00
  • d68aee8249 Allow a different loss_limit per path Adrien Gallouët 2020-03-07 14:27:47 +00:00
  • 2f966bb365 Fix fixed rate Adrien Gallouët 2020-02-29 09:57:08 +00:00
  • 4a7740f70f Fix beat conf Adrien Gallouët 2020-02-21 16:37:04 +00:00
  • 5be4096452 Add a stupid dynamic rate limiter Adrien Gallouët 2020-02-05 14:00:41 +00:00
  • 3747aa7abd Add a global mud_set_conf() Adrien Gallouët 2020-01-16 17:34:31 +00:00
  • e3eb1f96a5 Code cleanup Adrien Gallouët 2020-01-11 09:50:34 +00:00
  • 2f5e346532 Add keepalive Adrien Gallouët 2020-01-11 09:08:04 +00:00
  • a9fdd76fa3 Code cleanup Adrien Gallouët 2020-01-10 09:56:13 +00:00
  • 0a9a139409 Fix a bad typo Adrien Gallouët 2020-01-09 22:25:00 +00:00
  • 2811e2383f Compute rate/loss only when mtu is ok Adrien Gallouët 2020-01-09 17:39:42 +00:00
  • ed6cc0e6f6 Degrade lossy path Adrien Gallouët 2020-01-08 14:35:25 +00:00
  • 487474a80e Update loss computing Adrien Gallouët 2020-01-08 14:34:47 +00:00
  • edb86d27ad Update aegis256 Adrien Gallouët 2020-01-08 12:53:56 +00:00
  • c0d2118a77 Use fixed rate by default Adrien Gallouët 2020-01-07 12:44:29 +00:00
  • 70e80f76e0 Add a fixed rate mode Adrien Gallouët 2020-01-07 11:07:13 +00:00
  • e4092ebebd Cleanup Adrien Gallouët 2020-01-07 10:24:58 +00:00
  • 2330e6470e Remove useless conversions Adrien Gallouët 2020-01-07 10:24:01 +00:00
  • 7d59eedd39 Sanitize mud_decrypt_msg() Adrien Gallouët 2020-01-07 10:01:15 +00:00
  • c536bef802 Force MTU sync Adrien Gallouët 2020-01-04 16:15:18 +00:00
  • 23a5cdfe31 Remove probe, let the system take its time Adrien Gallouët 2020-01-04 13:00:29 +00:00
  • 6894867b9f Limit tx.rate to tx_max_rate... Adrien Gallouët 2020-01-04 12:38:14 +00:00
  • 8f11ffa5a4 Slow down internal rate on dead paths Adrien Gallouët 2020-01-04 12:33:05 +00:00
  • 1f18b731c4 Prepare the way before you run away Adrien Gallouët 2020-01-04 12:08:54 +00:00
  • e3689d29b7 Return MTU probing status in mud_update() Adrien Gallouët 2020-01-03 20:49:04 +00:00
  • 2a812f332f Update aegis256 Adrien Gallouët 2020-01-03 15:55:07 +00:00
  • b16a754713 Update LICENSE Adrien Gallouët 2020-01-03 15:51:02 +00:00
  • b6238c939e Count backup path Adrien Gallouët 2020-01-03 15:15:29 +00:00
  • 6e8a3cef1e Update protocol Adrien Gallouët 2020-01-03 12:29:49 +00:00
  • e56abf5eaa Reimplement backup Adrien Gallouët 2020-01-02 19:27:57 +00:00
  • 6b1881e94c Send msg_timeout to the server Adrien Gallouët 2020-01-02 17:43:54 +00:00
  • 7ff46e742b Code cleanup Adrien Gallouët 2020-01-02 15:07:28 +00:00
  • a87a277701 Cleanup path after a 1min silence Adrien Gallouët 2020-01-02 15:04:40 +00:00
  • ef41aa28ce Update now after mud_send_msg() Adrien Gallouët 2019-12-31 15:09:04 +00:00
  • d5322e187d Use EAFNOSUPPORT when necessary Adrien Gallouët 2019-12-28 22:05:27 +00:00
  • 0a2b23bb88 Fix (and refactor) keyx with low timeout Adrien Gallouët 2019-12-28 13:24:21 +00:00
  • 3a30c63eff God doesn't care about endianness Adrien Gallouët 2019-12-28 11:57:00 +00:00
  • 9c27f92f9d Remove old keyx stuff Adrien Gallouët 2019-12-27 17:23:27 +00:00
  • 9e3e2b358b Use the full 8bits range for loss Adrien Gallouët 2019-12-26 16:56:59 +00:00
  • a6acb8736c Increase MUD_MSG_SENT_MAX Adrien Gallouët 2019-12-26 15:02:53 +00:00
  • 3d4e3a8fbe Burst shouldn't depend on MUD_MSG_TIMEOUT Adrien Gallouët 2019-12-26 15:01:51 +00:00
  • 97407b2527 Reintroduce failover (and make it a little faster) Adrien Gallouët 2019-12-26 13:26:53 +00:00
  • dc22121739 Compute a global window for all paths Adrien Gallouët 2019-12-24 14:18:27 +00:00
  • 06c0945ac5 Code cleanup Adrien Gallouët 2019-12-24 12:49:15 +00:00
  • 2b19c80ae3 Fix tx_max_rate Adrien Gallouët 2019-12-24 12:33:05 +00:00
  • 21b15727c5 Don't wait unnecessarily to compute RTT Adrien Gallouët 2019-12-23 10:57:50 +00:00
  • 569e712248 Probe MTU before sending real packets Adrien Gallouët 2019-12-21 20:47:46 +00:00
  • 8c033a12a1 Fix build Adrien Gallouët 2019-12-17 19:47:25 +00:00
  • 6b58ebb993 Code cleanup Adrien Gallouët 2019-12-17 16:12:16 +00:00
  • 7179de77da Small useless opt Adrien Gallouët 2019-12-17 16:08:25 +00:00
  • e6a8c8e013 Compute loss with packets (not bytes) Adrien Gallouët 2019-12-17 14:03:59 +00:00
  • 137971e957 Apply TC on all packets Adrien Gallouët 2019-12-16 15:59:34 +00:00
  • 9abb50a7e2 Clear path->msg on reset Adrien Gallouët 2019-12-16 10:40:11 +00:00
  • 2766a94e3b Code cleanup Adrien Gallouët 2019-12-16 09:43:36 +00:00
  • c420e9494a First draft on the new protocol Adrien Gallouët 2019-12-15 19:30:13 +00:00
  • 407db114c6 Use mem*() when touching sin{,6}_port Adrien Gallouët 2019-12-11 16:56:11 +00:00
  • 0537b01d4b This commit doesn't exist Adrien Gallouët 2019-11-19 11:56:17 +00:00
  • 79dc61e7dc Decrease rate instead of degrading the path Adrien Gallouët 2019-11-05 17:52:18 +00:00
  • 67a660117e Setup rate_max Adrien Gallouët 2019-11-05 10:43:00 +00:00
  • 831714e07f Force update after mud_reset_path() Adrien Gallouët 2019-11-04 15:01:31 +00:00
  • f047af8148 Remove useless call to mud_reset_path() Adrien Gallouët 2019-11-04 15:00:37 +00:00
  • 8948d00545 Reorder Adrien Gallouët 2019-11-04 15:00:03 +00:00
  • 2e8a13f135 Clear deleted paths Adrien Gallouët 2019-11-04 13:49:50 +00:00
  • f647519e1c Take the time to check loss before enabling a path Adrien Gallouët 2019-10-23 14:07:35 +00:00
  • 94ae912138 Update mud.h Adrien Gallouët 2019-10-23 13:28:27 +00:00
  • e3b56376dc Naively degrade path with loss > loss_limit Adrien Gallouët 2019-10-22 15:54:48 +00:00
  • 8c88934763 Update aegis256 Adrien Gallouët 2019-10-22 13:12:27 +00:00
  • d0dc6076c8 Add mud_get_bad() Adrien Gallouët 2019-10-15 14:11:07 +00:00
  • 842dadad94 Call unmapv4 only when it is necessary Adrien Gallouët 2019-10-15 12:19:00 +00:00
  • d086d7869d Code cleanup Adrien Gallouët 2019-10-14 13:11:49 +00:00
  • d4d97177eb Fix test.c Adrien Gallouët 2019-10-14 13:23:39 +00:00
  • 7254e15a02 Update aegis256 Adrien Gallouët 2019-10-08 08:51:09 +00:00
  • ee4b484a38 Get loss_rx from peer Adrien Gallouët 2019-10-07 14:01:27 +00:00
  • 9a378aea99 Update aegis256 Adrien Gallouët 2019-10-05 15:21:07 +00:00
  • 3db88eb23c Add .gitignore Adrien Gallouët 2019-10-05 15:15:40 +00:00
  • c4d2ef7d97 Add a simple test.c with a Makefile Adrien Gallouët 2019-10-05 14:36:31 +00:00
  • 00f18733d8 Compute loss for each path Adrien Gallouët 2019-10-05 09:46:14 +00:00
  • 4d14689ff1 Update aegis256 Adrien Gallouët 2019-09-24 09:56:57 +00:00
  • 027196026b Code cleanup Adrien Gallouët 2019-09-20 08:19:43 +00:00
  • b59ab48407 Update rate every ms Adrien Gallouët 2019-09-19 08:11:00 +00:00
  • 181e22011d Update README.md Adrien Gallouët 2019-09-17 08:26:29 +00:00
  • 0397bc63e7 Import and use aegis256 Adrien Gallouët 2019-09-17 08:21:25 +00:00
  • a6befda070 Use CLOCK_REALTIME if available Adrien Gallouët 2019-09-17 07:59:05 +00:00
  • 5aeaf9e512 Revert "Block on sendmsg() for now" Adrien Gallouët 2019-09-16 10:37:19 +00:00
  • 2c9d971437 Block on sendmsg() for now Adrien Gallouët 2019-09-09 16:08:21 +00:00
  • 6623be1e69 Code cleanup Adrien Gallouët 2019-09-03 16:42:16 +00:00
  • 67a7c91220 Remove old code Adrien Gallouët 2019-07-22 13:07:50 +00:00
  • a91f8e2971 DEGRADED/DOWN paths are useless server side Adrien Gallouët 2019-07-19 13:20:26 +00:00
  • b2ff2b6276 Use an adjusted monotonic clock Adrien Gallouët 2019-07-19 12:55:55 +00:00
  • 0ae6656bdb Remove down paths after 10s of inactivity Adrien Gallouët 2019-07-17 14:59:28 +00:00
  • 14893f9ea9 Move MUD_PATH_MAX in mud.h Adrien Gallouët 2019-07-17 14:29:08 +00:00
  • 06e165e664 Explicit conversions Adrien Gallouët 2019-04-03 09:25:22 +00:00
  • a2106c248d Remove useless code Adrien Gallouët 2019-04-01 15:37:28 +00:00