Commit Graph

  • fad071ffe9 WIP on nodeinfo admin handler Arceliar 2021-05-16 15:27:51 -05:00
  • 058dec0cca Fix getself, gettuntap etc Neil Alexander 2021-05-16 21:01:59 +01:00
  • 31c1c9b586 Fix admin socket list Neil Alexander 2021-05-16 20:53:40 +01:00
  • 3e10b964cb Merge pull request #783 from yggdrasil-network/cleanup Neil Alexander 2021-05-16 20:11:21 +01:00
  • 6413e95c48 Fix bug Neil Alexander 2021-05-16 20:05:22 +01:00
  • 62a13e87c4 Merge branch 'future' into cleanup Neil Alexander 2021-05-16 20:02:28 +01:00
  • 416eadbcff Use uint64 for MTU for forward-compatibility Neil Alexander 2021-05-16 20:00:45 +01:00
  • a6c254c87a more nodeinfo WIP, still needs admin socket support Arceliar 2021-05-16 14:00:37 -05:00
  • 2e45e970c6 work-in-progress adding nodeinfo Arceliar 2021-05-16 13:52:52 -05:00
  • 2d01386d6e Refactor admin socket, export request/response structs, remove types package Neil Alexander 2021-05-16 19:51:09 +01:00
  • 2c7b22db92 allow for multiple traffic types inside the session at the tuntap level, only implement typeSessionTraffic for now Arceliar 2021-05-16 13:01:54 -05:00
  • dfca87ba80 start a reader to disard traffic if the tun is disabled Arceliar 2021-05-15 16:44:56 -05:00
  • f61507238e cleanup unused MTU code from tun keystore Arceliar 2021-05-15 16:23:44 -05:00
  • 5b00273dfc move sessionfirewall into the tuntap. this needs testing. the name is also slightly wrong, since a crypto session can still be set up, packets are just accepted/rejected at the tun/tap level instead Arceliar 2021-05-15 15:55:47 -05:00
  • 7e10025ef0 get minimal admin socket working (introspection only, no ability to add peers etc) Arceliar 2021-05-15 15:16:35 -05:00
  • 85fae23919 remove TunnelRouting from config, remove Signing from key names Arceliar 2021-05-15 15:00:12 -05:00
  • e83b5d08a8 remove ckr Arceliar 2021-05-15 14:54:25 -05:00
  • cd4144f22b add minimal src/yggdrasil/api.go functions inspect internal state Arceliar 2021-05-15 14:50:56 -05:00
  • 7d49b86456 set version to an obviously unstable value, fix peer address formatting in the connect/disconnect messages Arceliar 2021-05-15 13:44:55 -05:00
  • 577b7118ad remove debug logging Neil Alexander 2021-05-10 23:16:22 +01:00
  • 815f2a2822 Respond with ICMPv6 Packet Too Big over network Neil Alexander 2021-05-10 23:09:59 +01:00
  • 57ea61b338 Remove reconfiguration on SIGHUP - it didn't work reliably anyway Neil Alexander 2021-05-10 22:47:28 +01:00
  • e12c639c21 Remove obsolete switch options Neil Alexander 2021-05-10 22:42:57 +01:00
  • 05caf36f4e Fix AllowedPublicKeys Neil Alexander 2021-05-10 22:39:12 +01:00
  • c20b66f3b6 Metadata/version tweaks Neil Alexander 2021-05-10 22:31:01 +01:00
  • bb92e61e68 Remove encryption public key options (they are now derived from ed25519 key conversion in IW), also bump link version number Neil Alexander 2021-05-10 22:06:38 +01:00
  • 6cb958e3dc update genkeys to new address format Arceliar 2021-05-10 05:58:06 -05:00
  • b48962a69a limit MTU to no more than what the packetconn claims to support Arceliar 2021-05-09 11:27:37 -05:00
  • 3bfd891fd4 reduce time keystore mutex is held and (apparently) fix a deadlock Arceliar 2021-05-09 09:20:28 -05:00
  • ed85cf08f2 WIP close the ironwood PacketConn when shutting down Arceliar 2021-05-08 12:31:26 -05:00
  • b4224aa02d fix ironwood dependency version Arceliar 2021-05-08 11:57:54 -05:00
  • e6e55fb4d1 dependency update Arceliar 2021-05-08 11:53:44 -05:00
  • 8bed79370b (broken state) WIP, compiles and passes the netns ping test Arceliar 2021-05-08 11:52:22 -05:00
  • b345806e3f (broken state) more WIP (cleanup) Arceliar 2021-05-08 11:35:04 -05:00
  • 0f787364de (broken state) more tuntap WIP to add out-of-band key lookup Arceliar 2021-05-08 11:32:57 -05:00
  • 5b22392c66 (broken state) more WIP on tuntap stuff Arceliar 2021-05-08 11:14:50 -05:00
  • 0cff56fcc1 (broken state) WIP on tuntap Arceliar 2021-05-08 10:39:07 -05:00
  • f1c37f8440 (broken state) WIP rewriting core to use ironwood Arceliar 2021-05-08 08:35:58 -05:00
  • ace7b43b6d (broken state) WIP address migration Arceliar 2021-05-08 07:25:53 -05:00
  • ae96148008 Merge branch 'pathfinder' of https://github.com/Arceliar/yggdrasil-go into future Arceliar 2021-05-08 06:45:10 -05:00
  • 3c2e14801d Merge pull request #772 from cwinfo/develop-something Neil Alexander 2021-03-24 13:41:53 +00:00
  • 9b67eb7ef2 Update Dockerfile Christer Warén 2021-03-24 15:39:55 +02:00
  • 983dfdb553 Merge pull request #770 from yggdrasil-network/develop v0.3.16 Neil Alexander 2021-03-18 22:20:56 +00:00
  • ac375917c9 Update changelog for v0.3.16 release (#769) Arceliar 2021-03-18 13:58:20 -05:00
  • f0a5cd542c Build MSIs for Windows using CircleCI (#766) Neil Alexander 2021-03-07 14:03:34 +00:00
  • 7174cfce40 Move up to Go 1.16, upgrade dependencies (#765) Neil Alexander 2021-03-07 08:45:47 +00:00
  • 0ab2685489 Fix wireguard dependency Neil Alexander 2021-02-18 09:36:45 +00:00
  • 6eb74a40e1 Merge pull request #751 from Arceliar/bugfix Arceliar 2020-12-19 11:04:13 -06:00
  • 78073429a2 Merge branch 'pathfinder' of https://github.com/Arceliar/yggdrasil-go into pathfinder Arceliar 2020-12-19 06:03:59 -06:00
  • 0ba2ad74fe use source routes in the dht (when available) Arceliar 2020-12-19 06:03:28 -06:00
  • a8810c7ee9 if the link handler exits early due to an existing connection, then have it return a channel to that connection which closes when the connection is closed, so we can choose to block on that to avoid spamming connection attempts with dial Arceliar 2020-12-13 16:29:03 -06:00
  • 1daf3e7bd7 remove link.go block on oldIntf if we already have a connection to the same node, this spams connections, so it's not a good long-term fix if that's where the goroutine leak is Arceliar 2020-12-13 16:16:14 -06:00
  • 5b326d8bb8 Update generate.sh (#736) rany 2020-12-06 22:52:54 +02:00
  • 709ea6976c apparmor: allow yggdrasil to resolve hostnames (#739) rany 2020-12-06 22:52:10 +02:00
  • b9f35c5530 Return ICMPv6 Destination Unreachable for unknown destinations (#748) Neil Alexander 2020-12-06 19:47:25 +00:00
  • cb3d8647de Merge pull request #744 from octeep/master Neil Alexander 2020-12-06 13:48:09 +00:00
  • df1239b054 attempting to debug/fix a possible goroutine leak Arceliar 2020-11-25 02:44:13 -06:00
  • ea58a0f181 Clean go.mod/go.sum Neil Alexander 2020-11-15 13:32:28 +00:00
  • 939ffb02f8 adjust when dht reqs are reset Arceliar 2020-11-14 15:05:02 -06:00
  • 04e890fcc3 Change DefaultIfName from "/dev/tun0" to "tun0" octeep 2020-11-13 06:38:27 +00:00
  • 428789f24c simplify switch parent selection and minor source routing improvements Arceliar 2020-11-09 19:01:11 -06:00
  • 144d42c773 send dht responses via reverse path (fixes some possible DDoS issues with the old coord approach) Arceliar 2020-11-08 06:09:55 -06:00
  • 0ac203b007 adjust how sessions learn source routes, try to recover faster if coords change (but assume the old path still works until we get a ping through that gives us a new path) Arceliar 2020-11-08 05:39:30 -06:00
  • e19e938f64 safer pathfinding behavior Arceliar 2020-11-07 15:19:09 -06:00
  • 994c26e5f7 simplify pathfinder Arceliar 2020-11-07 12:08:01 -06:00
  • b5cd40b801 WIP very simple insecure proof-of-concept for pathfinding and source routing Arceliar 2020-11-07 10:50:55 -06:00
  • e2521de94d add path information to (protocol) traffic packets as they flow through the network, and a field for a reply path Arceliar 2020-11-07 09:44:34 -06:00
  • 36e4ce4b0b WIP rough implementation of the source routed part of hybrid routing, does not work if coord length is too long (>127 hops) Arceliar 2020-11-07 07:10:13 -06:00
  • 92dbb48eda add (but don't use) offset field for (protocol) traffic packets Arceliar 2020-11-07 06:18:09 -06:00
  • f1e9837a98 Merge pull request #738 from Arceliar/bugfix Arceliar 2020-11-07 05:51:04 -06:00
  • 1d1c6efa1f attempt to keep TCP listener alive if there's a temporary error (e.g. too many open files), just pause and retry later Arceliar 2020-10-18 11:01:18 -05:00
  • 9eb4981ac1 Merge pull request #734 from yggdrasil-network/develop-future Neil Alexander 2020-10-11 16:45:24 +01:00
  • e90d40a49e Don't require lint in pipeline Neil Alexander 2020-10-11 16:41:40 +01:00
  • b6c894bc01 Merge branch 'future' of https://github.com/yggdrasil-network/yggdrasil-go into develop-future Arceliar 2020-10-11 07:35:28 -05:00
  • afebc1f93d Merge pull request #712 from Arceliar/bugfix Arceliar 2020-10-11 07:34:19 -05:00
  • fdb296047b Merge branch 'future' into develop-future Neil Alexander 2020-09-27 20:28:26 +01:00
  • d3672545a3 Version 0.3.15 (#731) v0.3.15 Neil Alexander 2020-09-27 15:50:58 +01:00
  • ba7be10a2f Update changelog Neil Alexander 2020-09-27 15:05:14 +01:00
  • d6d2d9c19a Accept some golint suggestions (#690) Ryan Westlund 2020-09-27 09:42:46 -04:00
  • 1492738c9e golangci-lint in CI (#733) Neil Alexander 2020-09-27 14:28:25 +01:00
  • 48bf0ce210 Revert "Fix build" Neil Alexander 2020-09-27 13:28:13 +01:00
  • e09ca6a089 Fix build Neil Alexander 2020-07-06 14:21:28 +01:00
  • 7588a55e84 README: mention Nix package (#689) asymmetric 2020-09-27 15:24:19 +03:00
  • fcb6f5ca36 Set default conf file on FreeBSD to /usr/local/etc/yggdrasil.conf (#717) Ryan Westlund 2020-09-27 08:22:49 -04:00
  • 33e3679458 multicast, use the prebuilt interface map when checking active listeners (#707) Arceliar 2020-09-27 07:16:51 -05:00
  • d9fd68f18c Fix build Neil Alexander 2020-07-06 14:21:28 +01:00
  • a4a346c498 Merge branch 'develop' into future Neil Alexander 2020-07-06 14:16:38 +01:00
  • 48f008a8e2 Implement Core.RemovePeer method (#699) (#709) George 2020-07-06 09:14:34 -04:00
  • 3fded209df try to fix some possible races with how peers are added/removed and how they're blocked in the switch when they enter a bad state Arceliar 2020-06-06 12:30:54 -05:00
  • aec82d7a39 Merge pull request #702 from Arceliar/switch Arceliar 2020-05-30 18:39:43 -05:00
  • a1856258a9 Merge pull request #704 from Arceliar/queues Arceliar 2020-05-30 18:39:33 -05:00
  • 35e7542889 Merge pull request #706 from Arceliar/buffers Arceliar 2020-05-30 18:39:24 -05:00
  • c83b070c69 remove old switch lookup functions Arceliar 2020-05-30 13:12:49 -05:00
  • 0f28862e99 remove unused sequence number from switch Arceliar 2020-05-30 10:48:59 -05:00
  • 5e170e22e1 more switch fixes Arceliar 2020-05-30 10:47:54 -05:00
  • 3dc2242712 fix handling of keepAliveTimer and blocked state in link.go Arceliar 2020-05-30 10:32:15 -05:00
  • 8775075c18 debugging Arceliar 2020-05-27 19:35:19 -05:00
  • 905c28f7b2 fix some issues with the rewritten switch lookup tables Arceliar 2020-05-27 19:31:17 -05:00
  • 1df305d31c simplify how blocking is detected and packets are dequeued Arceliar 2020-05-27 18:53:14 -05:00
  • 09f9f4e8e4 use heap.Fix instead of heap.Remove + heap.Push when updating queues, this is theoretically faster Arceliar 2020-05-25 20:09:57 -05:00