Commit graph

  • 43993a3460
    Merge pull request #233 from neilalexander/build Arceliar 2018-12-09 10:26:49 -06:00
  • 0fdc814c4a
    Allow specifying PKGSRC=, PKGVER= and PKGNAME= to build script Neil Alexander 2018-12-09 14:32:24 +00:00
  • e759fb1c38
    Update CHANGELOG.md Neil Alexander 2018-12-09 13:37:19 +00:00
  • ba4507c02e
    Update yggdrasilctl help (fixes #194) Neil Alexander 2018-12-09 13:33:18 +00:00
  • 40e02f01b0
    Merge pull request #230 from neilalexander/module Neil Alexander 2018-12-08 13:22:54 +00:00
  • 34949f7c32
    Fix go.mod for neilalexander/hjson-go Neil Alexander 2018-12-08 13:21:58 +00:00
  • 9eace183c6
    Merge pull request #229 from neilalexander/semver Neil Alexander 2018-12-08 11:37:51 +00:00
  • 3b2044666d
    Fix bug in semver version.sh Neil Alexander 2018-12-08 11:31:20 +00:00
  • 22e6505079
    Fix bug from #228 Neil Alexander 2018-12-08 11:28:47 +00:00
  • 467002bbf7
    Merge pull request #228 from neilalexander/semver Neil Alexander 2018-12-08 11:01:41 +00:00
  • 02f98a2592
    Only show build name and version if it is known Neil Alexander 2018-12-08 11:01:05 +00:00
  • f2d01aa54d
    Use bare version in deb/macos packages instead of cut Neil Alexander 2018-12-08 10:54:47 +00:00
  • 9d0b8ac6f4
    Strip v from version during imprint Neil Alexander 2018-12-08 10:51:31 +00:00
  • 262c93504f
    Merge pull request #227 from Arceliar/module Neil Alexander 2018-12-08 10:34:55 +00:00
  • 5315bc25c5
    Return 1 instead of -1 from semver/deb Neil Alexander 2018-12-08 10:33:33 +00:00
  • 2da3ef420c
    Update documentation, remove stray .DS_Store file Neil Alexander 2018-12-08 10:30:43 +00:00
  • af478e0e45 fix very special case bug when trying to dhtPing the root via the admin api Arceliar 2018-12-08 00:42:13 -06:00
  • bd2d706745 fix bug from go vet while I'm at it Arceliar 2018-12-07 20:36:30 -06:00
  • 2d5f99a008 remove working_directory from circleci config, let it use the default, as per their blog post on go modules in 1.11 Arceliar 2018-12-07 20:19:19 -06:00
  • 586781b49c convert to go module Arceliar 2018-12-07 19:56:04 -06:00
  • caa7b739af
    Merge pull request #226 from neilalexander/imprint Arceliar 2018-12-07 17:37:20 -06:00
  • ffbdef292f
    Fix typo in changelog Arceliar 2018-12-07 17:30:07 -06:00
  • f99c224171
    Update CHANGELOG.md Neil Alexander 2018-12-07 22:31:37 +00:00
  • 5149c6c349
    Show build name and version at startup if available Neil Alexander 2018-12-07 22:24:01 +00:00
  • 3524c6eff6
    Add build name and version to getSelf call on admin socket Neil Alexander 2018-12-07 22:22:46 +00:00
  • 8e784438c7
    Imprint build name and version number if available Neil Alexander 2018-12-07 22:20:11 +00:00
  • 4bc009d845
    Update semver behaviour Neil Alexander 2018-12-07 22:17:09 +00:00
  • 8bd566d4d8
    Remove VERSION Neil Alexander 2018-12-07 22:05:36 +00:00
  • d0c2ce90bb
    Fix semver when git history is not present Neil Alexander 2018-12-07 22:03:57 +00:00
  • 4532d0e0c8
    Merge pull request #219 from neilalexander/semver Neil Alexander 2018-12-07 19:38:01 +00:00
  • 5106c217c7
    Merge pull request #225 from Arceliar/switch Neil Alexander 2018-12-06 07:09:49 +00:00
  • fe772dd38e switch bugfixes Arceliar 2018-12-05 18:22:39 -06:00
  • dd6a1dfccc
    Merge pull request #224 from neilalexander/changelog Arceliar 2018-12-05 18:17:26 -06:00
  • 09228554cb
    Merge pull request #223 from neilalexander/reusemulticast Arceliar 2018-12-05 18:15:21 -06:00
  • 2eedcce3fd
    Update changelog Neil Alexander 2018-12-05 23:39:28 +00:00
  • ae48a1721e
    Try to SO_REUSEADDR on Windows Neil Alexander 2018-12-05 23:10:50 +00:00
  • eae8f9a666
    Try to SO_REUSEPORT on UNIX platforms Neil Alexander 2018-12-05 22:39:04 +00:00
  • cc066d7aeb
    Merge pull request #221 from jcgruenhage/reduce-container-image-size Arceliar 2018-12-04 18:54:58 -06:00
  • 9f4fc3669b Reduce container image size Jan Christian Grünhage 2018-12-04 13:00:01 +01:00
  • 58b60af208
    Merge pull request #220 from Arceliar/switch Neil Alexander 2018-12-04 09:11:55 +00:00
  • 3d4b49b693 reset the switch speed info for a peer whenever it changes coords, instead of only if they're a parent and change coords. Also, make sure packets in the sim preserve order when sending, to avoid races when testing Arceliar 2018-12-03 19:21:23 -06:00
  • 9e17e41b79
    Merge pull request #218 from cwinfo/develop Arceliar 2018-12-03 18:06:46 -06:00
  • 8a04cbe3c8
    Try to fix CircleCI shell error Neil Alexander 2018-12-03 17:49:03 +00:00
  • a7f5c427d4
    Tag releases in master using CI (also checks for v0.x.0 instead of v0.x when deciding version numbers) Neil Alexander 2018-12-03 17:44:26 +00:00
  • 6170f7268f
    Rename LICENSE.md to LICENSE Christer Warén 2018-12-03 06:46:05 +02:00
  • ecc0cd4992
    Update and rename LICENSE to LICENSE.md Christer Warén 2018-12-03 06:39:28 +02:00
  • 4fc0117e08
    Creating Dockerfile to / Christer Warén 2018-12-03 06:06:58 +02:00
  • 80b876d21d
    Creating entrypoint.sh to /contrib/docker/ Christer Warén 2018-12-03 05:58:24 +02:00
  • 8b7b3452cf
    Creating Dockerfile to /contrib/docker/ Christer Warén 2018-12-03 05:57:00 +02:00
  • 8ade7aed62
    Merge pull request #217 from neilalexander/json Neil Alexander 2018-12-02 23:53:29 +00:00
  • 150cf810dd
    Update comments for -useconf and -useconffile Neil Alexander 2018-12-02 23:52:57 +00:00
  • ad30e36881
    Add -json flag for -genconf and -normaliseconf Neil Alexander 2018-12-02 23:49:48 +00:00
  • 684632eb3d
    Merge pull request #215 from Arceliar/switch Arceliar 2018-12-02 17:26:26 -06:00
  • b7ccdaf423
    Merge pull request #216 from neilalexander/switchoptions Neil Alexander 2018-12-02 23:25:44 +00:00
  • 5a89a869be
    Set queueTotalMaxSize before switch worker starts Neil Alexander 2018-12-02 23:24:54 +00:00
  • b5f4637b5c
    Enforce min 4MB switch queue total size Neil Alexander 2018-12-02 23:20:11 +00:00
  • 319457ae27
    Update comment for MaxTotalQueueSize Neil Alexander 2018-12-02 23:03:10 +00:00
  • 86da073226
    Add SwitchOptions and MaxTotalQueueSize Neil Alexander 2018-12-02 22:49:27 +00:00
  • dcfe55dae8 store 'faster' relationships between all pairs of peers, to make fallback easier when a parent goes offline Arceliar 2018-12-02 16:36:25 -06:00
  • 38093219fd dimensionless way to track how often nodes are faster than the current parent Arceliar 2018-12-02 14:46:58 -06:00
  • b2f394f4b6 add some notion of priority to peers, default to 0, give connections that aren't an outgoing socks wrappedConn a higher priority, this should hopefully help to avoid using tor nodes as parents Arceliar 2018-12-01 12:03:38 -06:00
  • 05b07adba2
    Merge pull request #213 from neilalexander/admincleanup Arceliar 2018-11-26 19:18:24 -06:00
  • b3e2b8e6a5
    Update admin.go Arceliar 2018-11-26 19:15:27 -06:00
  • 5912dcc72c
    Fix typo Neil Alexander 2018-11-26 18:34:17 +00:00
  • 099fee9cae
    Rename destPubKey to box_pub_key in addRoute etc Neil Alexander 2018-11-26 17:58:54 +00:00
  • 498d664f51
    Add -v for verbose output from yggdrasilctl Neil Alexander 2018-11-26 17:55:34 +00:00
  • 315aadae06
    Rename help to list Neil Alexander 2018-11-26 17:51:30 +00:00
  • a6be4bacbc
    Don't show box_pub_key in tables Neil Alexander 2018-11-26 17:50:31 +00:00
  • 8239989c36
    Send box_pub_key with getSessions, getDHT, getSwitchPeers and getPeers Neil Alexander 2018-11-26 17:38:02 +00:00
  • 5b10af7399
    Rename key to box_pub_key in admin socket for consistency Neil Alexander 2018-11-26 17:34:26 +00:00
  • bd9055ddd7
    Merge pull request #212 from Arceliar/admin Neil Alexander 2018-11-26 17:28:33 +00:00
  • d8d1e63c36 fix infinite loop from interaction between dht.isImportant and dht.insert Arceliar 2018-11-25 20:33:33 -06:00
  • 0ec6207e05 better response format and yggdrasilctl printing Arceliar 2018-11-25 18:25:31 -06:00
  • a34ca40594 use a buffered channel to avoid races, and run gofmt Arceliar 2018-11-25 17:59:36 -06:00
  • d253bb750c yggdrasilctl support Arceliar 2018-11-25 17:50:56 -06:00
  • 7954fa3c33 store one callback instead of many, needed to prevent search failures if there are multiple outstanding packets Arceliar 2018-11-25 17:08:45 -06:00
  • 9937a6102e add callbacks to maintenance map cleanup Arceliar 2018-11-25 16:29:47 -06:00
  • 12e635f946 adjust dhtPing response so 'nodes' defaults to an empty list instead of null Arceliar 2018-11-25 16:16:06 -06:00
  • d520a8a1d5 refactor dht code to call arbitrary callbacks instead of only searches.checkDHTRes, and add admin API fuction to dhtPing a node (with an optional target NodeID) Arceliar 2018-11-25 16:10:32 -06:00
  • 9f16d0ed1f
    Merge pull request #211 from Arceliar/memleaks Neil Alexander 2018-11-25 19:27:45 +00:00
  • e17efb6e91 don't penalize dht timeouts a second time Arceliar 2018-11-25 13:21:13 -06:00
  • 9046dbde4f remove sigManager, it seems safer to just burn the CPU than to store a map of strings of potentially arbitrary length Arceliar 2018-11-25 13:06:54 -06:00
  • 4e156bd4f7 better cleanup of maps Arceliar 2018-11-25 12:25:38 -06:00
  • 8d6beebac4 clean up old requests during dht maintenance Arceliar 2018-11-24 20:04:14 -06:00
  • 5a7c2b250c
    Merge pull request #209 from Arceliar/switch-tune Neil Alexander 2018-11-24 23:21:45 +00:00
  • 3efc9bfa22
    Merge pull request #210 from Arceliar/admin Neil Alexander 2018-11-24 23:21:08 +00:00
  • 6d0e40045a cleanup/fixes from go vet Arceliar 2018-11-22 21:41:16 -06:00
  • 12cc7fc639 add yggdrasilctl support for getSourceSubnets and getRoutes Arceliar 2018-11-22 21:37:57 -06:00
  • 4870a2e149 removeSourceSubnet and removeRoute via the admin api Arceliar 2018-11-22 21:30:56 -06:00
  • 5953027411 switch from []byte to boxPubKey in ckr code, and start adding admin functions for existing code (yggdrasilctl.go still needs pretty printing support for the responses to the new get functions) Arceliar 2018-11-21 00:10:20 -06:00
  • 5fa23b1e38 move router.recvPacket calls into the main router goroutine, to make the ckr checks threadsafe Arceliar 2018-11-20 22:04:18 -06:00
  • e9cff0506c comment the switch a little better and limit how much uptime can affect which peer is used as a parent Arceliar 2018-11-19 21:30:52 -06:00
  • b5ec0cb0b0 reset all counters on parent change Arceliar 2018-11-17 21:08:00 -06:00
  • df30e067b2 limit how much switch cost can be changed by any 1 message Arceliar 2018-11-17 20:57:50 -06:00
  • 5002ed19b9 make switch cost a cumulative counter, and switch parents if it ever hits negative 1 second Arceliar 2018-11-17 20:31:32 -06:00
  • be513d8670 switch parents if the peer's path to the root is both lower latency and shorter in number of hops Arceliar 2018-11-17 18:50:09 -06:00
  • 0b273d9dd8 only change parents when the current parent changes coords, and switch to the one with the lowest latency to the root Arceliar 2018-11-16 20:39:08 -06:00
  • ae4107a3b2
    Merge pull request #207 from Arceliar/chord Arceliar 2018-11-16 20:35:11 -06:00
  • ef6cece720 fix sim and tune dht to bootstrap a little faster Arceliar 2018-11-16 19:32:12 -06:00
  • 289f1ce7c2 set packet version in sim, so it plays nice with new parsing from the new ckr code Arceliar 2018-11-14 21:58:48 -06:00