5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-09-19 16:09:36 +00:00

Commit Graph

  • 038a51fd13 it helps to add new files Arceliar 2018-06-09 18:44:59 -0500
  • 72cca4ea43 version check/warning adjustments Arceliar 2018-06-09 18:38:30 -0500
  • 076350f963 remove old tcp key exchange code Arceliar 2018-06-09 17:49:02 -0500
  • 8733099516 add version metadata to key exchange at the start of connections Arceliar 2018-06-09 17:46:19 -0500
  • f5c850f098 better way to do wire signed ints (no negative zero, remove conditionals) Arceliar 2018-06-09 16:36:13 -0500
  • b7e4ff5d5a
    Merge pull request #106 from Arceliar/peerauth Arceliar 2018-06-09 16:24:27 -0500
  • e5eb6de1f6 add inner crypto to linkProtoTraffic, using ephemeral keys, to prevent replay attacks from spoofing peer connections Arceliar 2018-06-08 18:42:56 -0500
  • 1dcc60f054 check root before accepting that a message is good and unblocking a new peer Arceliar 2018-06-08 17:33:16 -0500
  • ad6ea59049
    Merge pull request #105 from yggdrasil-network/localhost Arceliar 2018-06-08 16:42:18 -0500
  • 2e1456902c
    Update yggdrasil.go Arceliar 2018-06-08 16:38:11 -0500
  • f30d040366 Merge branch 'master' of https://github.com/yggdrasil-network/yggdrasil-go into develop Arceliar 2018-06-08 16:17:24 -0500
  • dde7653bf4
    Merge pull request #103 from Arceliar/switchMsg Arceliar 2018-06-08 16:16:39 -0500
  • 89757ab5ec
    Merge pull request #104 from Arceliar/multicast Neil Alexander 2018-06-08 22:01:26 +0100
  • 495891d9e8 remove testing panics Arceliar 2018-06-07 22:32:01 -0500
  • e29f700dd6 enable multicast on interfaces that come up after startup Arceliar 2018-06-07 22:07:19 -0500
  • ea1d21f7e5 don't change dhtInfo.pings when sending a search, to prevent multiple different searches from evicting a node Arceliar 2018-06-07 21:28:08 -0500
  • 6bdc9a7eb6 fix the sim, part of it bypasses queues so it's expected to see loops in those cases while things are in the middle of updating Arceliar 2018-06-07 21:06:30 -0500
  • bced15b138 remove TTL from traffic packets Arceliar 2018-06-07 20:29:22 -0500
  • 84c13fac90 don't use TTL Arceliar 2018-06-07 20:18:13 -0500
  • fe12e1509a add a throttle to nodes in the dht. the throttle is gradually increased each time the node is pinged. it determines the minimum amount of time to wait between using the node in a bootstrapping search Arceliar 2018-06-07 17:55:43 -0500
  • ec1c173ca5 it helps to check that messages decoded correctly Arceliar 2018-06-07 16:53:39 -0500
  • bcfeb22915 more tcp debugging Arceliar 2018-06-07 16:49:51 -0500
  • 63feed8dc3 adjust tcp timeout and add shadow queues to track dropped packets Arceliar 2018-06-07 15:04:17 -0500
  • c1f8baf9b5 update dht.reset() to possibly play better with coord changes Arceliar 2018-06-07 14:39:43 -0500
  • d468882147 cleanup Arceliar 2018-06-07 14:24:02 -0500
  • f8ba80e7d8 remove old switchMessage and clean up related code Arceliar 2018-06-07 14:13:31 -0500
  • 00e4da28c7 use/store switchMsg in the switch instead of going through the old switchMessage Arceliar 2018-06-07 13:56:11 -0500
  • 3dab94be9f keep dht peers alive Arceliar 2018-06-07 10:58:24 -0500
  • deb755e3e9 remove peer.linkIn channel and related logic Arceliar 2018-06-07 00:49:06 -0500
  • ecf37cae8a make the switch react to peer coord changes immediately, and send out updates immediately Arceliar 2018-06-07 00:16:47 -0500
  • 85afe187ff remove peer timeout logic from the switch, so switch peer entrires are only removed when the peer struct is removed Arceliar 2018-06-06 23:23:16 -0500
  • 3b783fbf97 move periodic switch maintenance into the router instead of its own goroutine Arceliar 2018-06-06 23:10:33 -0500
  • 5dc0cb5544 move wire_encode_locator logic into getBytesForSig, since that's the only place it's used Arceliar 2018-06-06 23:00:17 -0500
  • 1e7d34492d fix signature checks and add some TODO reminder comments Arceliar 2018-06-06 22:39:22 -0500
  • 5fb33da3a2 remove old switch anc/hop/res code Arceliar 2018-06-06 21:18:21 -0500
  • 6811759fc9 add new switchMsg struct to replace old anc/hop/res approach Arceliar 2018-06-06 21:11:10 -0500
  • 690d29435d adjust link packet logic so they bypass the lifo stack and are delivered first Arceliar 2018-06-06 17:44:10 -0500
  • bbae9ff8e8
    Merge pull request #92 from Arceliar/backpressure Arceliar 2018-06-06 16:58:48 -0500
  • fad6f6b50e remove udp.go Arceliar 2018-06-06 16:57:36 -0500
  • da928af361 fix sim and run gofmt Arceliar 2018-06-06 16:49:23 -0500
  • 240841eb38 remove unused recursive search packets Arceliar 2018-06-06 16:46:15 -0500
  • 1b89892610 remove UDP, to be replaced with a better implementation later Arceliar 2018-06-06 16:40:35 -0500
  • 2f8aaa5c20
    Merge pull request #102 from neilalexander/ifname Neil Alexander 2018-06-02 23:37:24 +0100
  • 6d9d01dae1 Fix IfName='none' Neil Alexander 2018-06-02 23:29:06 +0100
  • 2e188917d8
    Merge pull request #99 from Arceliar/iterdht Neil Alexander 2018-06-02 23:10:51 +0100
  • b9ea5350c6 update search.go comments to describe the iterative approach Arceliar 2018-06-02 16:45:45 -0500
  • 3e1ac81854 allow searches to start with nodes further from the destination than ourself Arceliar 2018-06-02 16:39:34 -0500
  • 45abfafbba value instead of pointer types for search dest/mask Arceliar 2018-06-02 16:33:58 -0500
  • 34939d4b18 update for wire format changes Arceliar 2018-06-02 16:30:05 -0500
  • b3b729804c
    Merge pull request #101 from neilalexander/wire Arceliar 2018-06-02 16:24:06 -0500
  • bbdcee1015 Export fields of sessionPing, dhtReq, dhtRes Neil Alexander 2018-06-02 22:19:42 +0100
  • 49af65296d Export fields of wire structs Neil Alexander 2018-06-02 21:21:05 +0100
  • 28e6c738e2
    Merge branch 'master' into iterdht Arceliar 2018-06-02 15:00:24 -0500
  • 09baad48e3 retry failed iterative searches, possibly becoming parallel if things are just slow, and keep track of / skip nodes that were already visited in the search Arceliar 2018-06-02 14:57:06 -0500
  • 0f96fea3fc
    Merge pull request #100 from neilalexander/dotstyle2 Arceliar 2018-06-02 13:25:01 -0500
  • bc37d4fb76 Improve formatting of dot: dashed grey for unknown nodes, sans-serif text Neil Alexander 2018-06-02 14:24:06 +0100
  • ed6c9c2a54 deduplicate dht responses when adding them to the search, limit the search toVisit size Arceliar 2018-06-02 00:29:36 -0500
  • 10a72444e3 get itersearch to run in the sim Arceliar 2018-06-02 00:16:47 -0500
  • ecf7e490d7 start of iterative dht searches Arceliar 2018-06-01 23:34:21 -0500
  • dc841c550b
    Merge pull request #98 from Arceliar/dotstyle Arceliar 2018-06-01 20:57:24 -0500
  • ec80a81ed5 Mark extrapolated nodes with dashed outline Neil Alexander 2018-06-01 23:33:02 +0100
  • e4082f218f Add text to dot graph explaining how a node is known Neil Alexander 2018-06-01 23:23:24 +0100
  • a2df5107f0
    Change colour scheme: green for self, yellow for peer, blue for open session, white for DHT Neil Alexander 2018-06-01 14:20:47 +0100
  • ca15bbea57 try color coding dot output Arceliar 2018-05-31 20:28:09 -0500
  • 887b463306
    Merge pull request #97 from neilalexander/master Arceliar 2018-05-29 16:20:32 -0500
  • 027944a14a
    Set allowed encryption keys after start as otherwise hits a nil pointer exception Neil Alexander 2018-05-29 22:15:54 +0100
  • 742eded4ff
    Merge pull request #96 from neilalexander/dedebug Arceliar 2018-05-29 16:01:23 -0500
  • bfa281c0ae
    Add -tags debug to run-sim Neil Alexander 2018-05-27 23:50:22 +0100
  • ccf71af6b7
    Move Init from core.go to debug.go as function is only for simulator Neil Alexander 2018-05-27 23:37:57 +0100
  • 460a22c063
    Clean up some exported constants Neil Alexander 2018-05-27 23:31:34 +0100
  • a9e61d0d37
    Add support for building "release" builds that don't contain pprof which are substantially smaller. To build a "debug" build, use "-tags debug" with "go build" Neil Alexander 2018-05-27 23:22:50 +0100
  • e9b1006dda
    Remove final DEBUG calls from yggdrasil.go Neil Alexander 2018-05-27 22:36:36 +0100
  • 35173e2388
    Fix starting TUN read/write Neil Alexander 2018-05-27 22:35:30 +0100
  • 4c115de633
    De-debug Neil Alexander 2018-05-27 22:13:37 +0100
  • 38e7704161 use backpressure instead of estimated bandwidth, sorted by uptime to break ties Arceliar 2018-05-27 13:37:35 -0500
  • 707e23d392
    Merge pull request #95 from Arceliar/tcpfix Arceliar 2018-05-27 13:28:51 -0500
  • 02ba9dc97c fix npe, these don't need to be pointers Arceliar 2018-05-27 13:22:21 -0500
  • 5131d854e5
    Merge pull request #94 from Arceliar/main-fixes Neil Alexander 2018-05-27 19:06:16 +0100
  • 7b12493417 panic if tcp startup fails, since otherwise a nil pointer occurs in multicast. make udp do the same thing. Arceliar 2018-05-27 12:56:33 -0500
  • e62cfa8c84 revert removal of useconffile Arceliar 2018-05-27 12:31:35 -0500
  • fcaabe4aac Fix some issues with hjson by converting to json then parsing to go struct, and remove useconffile option since it doesn't seem to add anything over stdin and increases the attack surface Arceliar 2018-05-26 20:40:19 -0500
  • 71d3a2b187
    Merge pull request #93 from neilalexander/bugfixes Neil Alexander 2018-05-26 21:55:36 +0100
  • a0f547cc1b
    Fix being able to enable/disable multicast Neil Alexander 2018-05-26 21:50:47 +0100
  • bc899c395a
    Fix accidental truncation of addresses ending in 8 on macOS and BSD Neil Alexander 2018-05-26 21:47:54 +0100
  • fae00e962f
    Merge pull request #90 from neilalexander/admin Arceliar 2018-05-23 17:52:06 -0500
  • cae589d2d3
    More nice Neil Alexander 2018-05-23 22:21:37 +0100
  • 5d87601118
    Add getMulticastInterfaces and getSelf to yggdrasilctl Neil Alexander 2018-05-23 22:13:52 +0100
  • 9b5965fd9a
    Merge pull request #89 from neilalexander/config Neil Alexander 2018-05-23 21:35:56 +0100
  • 77d67a1569
    Fix debian normalisation in postinst Neil Alexander 2018-05-23 21:31:52 +0100
  • 9e5964dcd4
    Merge pull request #87 from neilalexander/config Arceliar 2018-05-23 13:08:34 -0500
  • 8456b2e1bc
    Fix substitution Neil Alexander 2018-05-23 18:53:44 +0100
  • 1fd53bcb7d
    Update comments in configuration Neil Alexander 2018-05-23 14:02:13 +0100
  • 8a46253c1f
    Normalise existing yggdrasil.conf on debian package install/upgrade Neil Alexander 2018-05-23 13:26:08 +0100
  • 34f7b7ca14
    Fix AllowedBoxPubs Neil Alexander 2018-05-23 12:32:26 +0100
  • ce854a76bd
    Add -normaliseconf option and temporarily correct old config item names in running config Neil Alexander 2018-05-23 12:04:27 +0100
  • 9d9083e373
    Update configuration names, fix multicast interface selection Neil Alexander 2018-05-23 11:28:20 +0100
  • 6f79184c9b
    Move multicasting into yggdrasil package Neil Alexander 2018-05-23 11:13:53 +0100
  • 388ae09fca
    Rename some config items Neil Alexander 2018-05-22 23:43:29 +0100
  • b10ae51565
    Merge pull request #85 from neilalexander/yggdrasilctl Arceliar 2018-05-21 19:21:00 -0500
  • 14b2dd0c61
    Merge pull request #86 from neilalexander/youraddresses Arceliar 2018-05-21 19:18:08 -0500