Commit graph

  • 870b2b6a2e
    Remove CKR from src/yggdrasil (it will be moved into tuntap) Neil Alexander 2019-04-23 10:28:40 +01:00
  • 2bee3cd7ca
    Update TODOs at top of tun.go Neil Alexander 2019-04-23 00:04:22 +01:00
  • d7a1c04748
    It works, sort of, amazingly Neil Alexander 2019-04-22 23:58:59 +01:00
  • e1a2d666bf
    Clean up router, tweaks Neil Alexander 2019-04-22 23:12:13 +01:00
  • 6e528799e9
    Conn Read/Write operations will block while search completes Neil Alexander 2019-04-22 22:38:37 +01:00
  • ea8948f378
    TUN/TAP addr/subnet to Conn mappings, other fixes Neil Alexander 2019-04-22 20:06:39 +01:00
  • 9778f5d2b8
    Fix search behaviour on closed Conns, various other fixes Neil Alexander 2019-04-22 15:00:19 +01:00
  • bbd1246f7b
    Fix bug in mask generation for outbound dials, change iface reader mutexes to read-only locks unless RW is needed Neil Alexander 2019-04-22 11:49:47 +01:00
  • ccf03fd3b6
    Don't write huge mostly empty buffers unnecessarily Neil Alexander 2019-04-22 11:22:40 +01:00
  • 47eb2fc47f
    Break deadlock by creating session recv queue when session is created instead of repointing at search completion, also make expired atomic Neil Alexander 2019-04-22 11:20:35 +01:00
  • 5a02e2ff44 apparently it was these callbacks that were sometimes deadlocking things Arceliar 2019-04-21 22:31:56 -05:00
  • 9ce7fe2e3f fix tun/tap CIDR notation so things work on linux, may break other platforms for all I know Arceliar 2019-04-21 20:56:12 -05:00
  • 5dada3952c use a session worker to try to avoid mutex hell. compiles, but incomplete and doesn't work yet Arceliar 2019-04-21 20:38:14 -05:00
  • 0b8f5b5dda
    Tweaks Neil Alexander 2019-04-21 12:28:46 +01:00
  • 781cd7571f
    Fix race on tun conns, but still deadlocks if more than one connection is opened Neil Alexander 2019-04-21 12:00:31 +01:00
  • 79bcfbf175
    Change some mutexes to atomics, change conns map to pointers, sort of works but seems to deadlock very easily Neil Alexander 2019-04-21 11:50:41 +01:00
  • 62621f2960
    Some tweaks Neil Alexander 2019-04-20 20:22:58 +01:00
  • d01662c1fb
    Try to convert TUN/TAP to use new yggdrasil.Conn, search masks are still broken Neil Alexander 2019-04-20 16:32:27 +01:00
  • 319366513c
    Allow building with race detector Neil Alexander 2019-04-20 11:53:46 +01:00
  • f3e742a297
    Squash a whole load of races (and mutex half the world) Neil Alexander 2019-04-20 11:53:38 +01:00
  • 24281d4049
    Fix Read, update sample Neil Alexander 2019-04-19 23:47:11 +01:00
  • 693bcc5713
    Update sample in cmd/yggdrasil Neil Alexander 2019-04-19 23:30:57 +01:00
  • e31b914e38
    Improve errors and handling of expired sessions Neil Alexander 2019-04-19 23:30:43 +01:00
  • 7e726b0afb
    Listener should clean up a bit more when closing Neil Alexander 2019-04-19 23:04:09 +01:00
  • aac88adbed
    Listen-Accept-Read-Write pattern now works, amazingly Neil Alexander 2019-04-19 22:57:52 +01:00
  • 27b78b925d
    Move mutexes around Neil Alexander 2019-04-19 21:23:15 +01:00
  • e3eadba4b7
    Protect session nonces with mutexes, modify sent/received bytes atomically Neil Alexander 2019-04-19 20:10:41 +01:00
  • ade684beff
    Signal when a session is closed, other tweaks Neil Alexander 2019-04-19 10:55:15 +01:00
  • c593721362
    Tweaks Neil Alexander 2019-04-19 00:33:54 +01:00
  • b20c8b6da5
    Move some things around a bit, delete session workers Neil Alexander 2019-04-19 00:11:43 +01:00
  • b2f4f2e1b6
    Update errors, update Write Neil Alexander 2019-04-19 00:07:26 +01:00
  • 160e01e84f
    Searches called from api.go, various other tweaks, searches now have a callback for success/failure, node ID now reported by admin socket Neil Alexander 2019-04-18 23:38:23 +01:00
  • eef2a02d0a
    Experiment with new API Neil Alexander 2019-04-18 16:38:24 +01:00
  • 24fa8355f1
    Merge pull request #401 from neilalexander/modular Neil Alexander 2019-04-17 18:35:10 +01:00
  • 9bc24f8dbf
    Return both current and previous config when replacing Neil Alexander 2019-04-15 22:00:38 +01:00
  • 53fba06382
    Merge pull request #407 from cathugger/develop Arceliar 2019-04-11 00:28:27 -05:00
  • 71fa9413da contrib/yggdrasilconf: src/config.go Listen is now type []string William Fleurant 2019-04-11 00:27:22 -04:00
  • fb92c0d1ca admin-api: move from tcp/9001 to tcp/3959 William Fleurant 2019-04-07 19:13:43 -04:00
  • ed4e21478f
    Merge pull request #409 from vpzomtrrfrt/armel Neil Alexander 2019-04-07 23:30:07 +01:00
  • 2465ad0384
    Add armel to PKGARCH usage list Colin Reeder 2019-04-07 16:14:37 -06:00
  • b5e3b05e77 Add armel support to deb script Colin Reeder 2019-04-07 13:06:24 -06:00
  • 4488189a75
    wire: cleaner and faster wire_intToUint and wire_intFromUint cathugger 2019-04-06 21:34:47 +03:00
  • 7866f3a531
    wire: cleaner and faster wire_intToUint and wire_intFromUint cathugger 2019-04-06 21:09:56 +03:00
  • 2e72c7c93d
    Fix mobile logging Neil Alexander 2019-04-01 22:45:30 +01:00
  • 90feae6a7d
    Comment out AWDL (doesn't work in iOS properly) and move out of main package Neil Alexander 2019-04-01 20:12:39 +01:00
  • 350b51cabb
    TUN/TAP now uses config, log, etc from adapter.go Neil Alexander 2019-04-01 20:10:14 +01:00
  • 58f5cc88d0
    Fix session bug, fix dummy adapter, fix mobile framework builds Neil Alexander 2019-04-01 19:59:50 +01:00
  • 047717abf2
    Break out mobile and dummy adapter Neil Alexander 2019-04-01 18:02:06 +01:00
  • 39baf7365c
    Unexport/modify some interfaces to revive broken iOS/Android builds Neil Alexander 2019-03-30 00:09:35 +00:00
  • 4c0c3a23cb
    Fix bugs Neil Alexander 2019-03-29 18:24:57 +00:00
  • f19a4e4398
    More godoc improvements Neil Alexander 2019-03-29 18:18:31 +00:00
  • b5ac65cacb
    Rearrange public interface, godoc improvements Neil Alexander 2019-03-29 18:05:17 +00:00
  • 399e1a2ffe
    Make AddPeer remember added peer (as opposed to CallPeer which does not) Neil Alexander 2019-03-29 08:58:30 +00:00
  • a830521078
    Don't crash if Yggdrasil is started with no router adapter Neil Alexander 2019-03-29 08:38:09 +00:00
  • dd05a7f2a8
    Tweaks Neil Alexander 2019-03-28 19:09:19 +00:00
  • fd0b614f9c
    Temporarily disable debug CircleCI builds as I don't know how badly I've broken the sim with this PR Neil Alexander 2019-03-28 18:03:14 +00:00
  • 7ea4e9575e
    Break out multicast into a separate package Neil Alexander 2019-03-28 16:13:14 +00:00
  • 03bc7bbcd6
    Fix TUN/TAP for non-Darwin platforms Neil Alexander 2019-03-28 15:32:01 +00:00
  • eb22ed44ac
    Add new reject channel to router so we can send back rejected packets to adapter (e.g. for ICMPv6 Packet Too Big), implement ICMPv6 PTB in TUN/TAP instead of router Neil Alexander 2019-03-28 09:50:13 +00:00
  • 0715e829c2
    Fix adapter setup and no longer panics on packets shorter than IP header Neil Alexander 2019-03-28 09:12:00 +00:00
  • 0b494a8255
    Refactoring: move tuntap and icmpv6 into separate package Neil Alexander 2019-03-28 00:30:25 +00:00
  • 7f0e3d5135
    Break out TUN/TAP into another package, make various other changes to support it Neil Alexander 2019-03-27 20:10:25 +00:00
  • 658a7c6948
    Slight rearrangement of TXT handling Neil Alexander 2019-03-27 17:26:16 +00:00
  • a642c6009f
    Update addPeer behavior and peer loop for URIs that may have transforms (like srv:// and txt://) Neil Alexander 2019-03-26 19:15:59 +00:00
  • 246c60ae4d
    Experimental (read: badly tested) support for srv:// and txt:// handlers Neil Alexander 2019-03-25 23:58:53 +00:00
  • 240883ad4b
    Merge pull request #19 from yggdrasil-network/develop Christer Warén 2019-03-22 08:53:49 +02:00
  • 67c670ab4c
    Merge pull request #391 from aparcar/patch-1 Neil Alexander 2019-03-19 16:39:02 +00:00
  • 3f824ee99c
    README: add OpenWrt as supported platform Paul Spooren 2019-03-19 15:54:49 +01:00
  • db1e91db1a
    Add docker builds to CI Yan Minari 2019-03-17 13:40:03 -03:00
  • 51623ec83d
    Add generic Dockerfile Yan Minari 2019-03-14 17:23:53 -03:00
  • 2b11ded2a2
    Move alpine based image Yan Minari 2019-03-14 16:04:11 -03:00
  • 57d7423253
    Add FROM scratch docker image variant Yan Minari 2019-03-14 16:03:36 -03:00
  • c11f08f2a3
    Merge pull request #384 from yggdrasil-network/develop v0.3.5 Neil Alexander 2019-03-13 23:05:09 +00:00
  • b57030430c
    Update README.md Neil Alexander 2019-03-13 20:21:01 +00:00
  • e582ac102b
    Update README.md Neil Alexander 2019-03-13 20:12:08 +00:00
  • 7478c8ba2b
    Update README.md Neil Alexander 2019-03-13 20:08:50 +00:00
  • 09c92698df
    Update README.md Neil Alexander 2019-03-13 20:06:02 +00:00
  • 9019ccc118
    Don't install gomobile for now Neil Alexander 2019-03-13 19:09:09 +00:00
  • 14afb8881e
    Update CircleCI to use Go 1.12 on other Neil Alexander 2019-03-13 18:51:00 +00:00
  • 8ddadce699
    Update CircleCI to use Go 1.12 on macOS Neil Alexander 2019-03-13 18:47:03 +00:00
  • 9f16fc47b3
    Update CircleCI again Neil Alexander 2019-03-13 18:41:47 +00:00
  • d6111911d4
    Update CircleCI again Neil Alexander 2019-03-13 18:36:28 +00:00
  • d4437afa34
    Update CircleCI to 2.1 Neil Alexander 2019-03-13 18:27:20 +00:00
  • 2892e10e3e
    Merge pull request #383 from neilalexander/multicastaddr Neil Alexander 2019-03-13 18:12:16 +00:00
  • d0aeffb5f4
    Update CHANGELOG.md Neil Alexander 2019-03-13 18:05:59 +00:00
  • 5bacfabae7
    Handle cases where link-local addresses may disappear or change Neil Alexander 2019-03-13 17:43:33 +00:00
  • f7b0126b60 don't break after 1 address Arceliar 2019-03-12 22:07:17 -05:00
  • 3f1696c2b6 make sure multicast listeners are stopped and started if an address is changed, such as by joining a different wifi network Arceliar 2019-03-12 21:59:39 -05:00
  • cc0c188dc9
    Merge pull request #380 from neilalexander/listeners Neil Alexander 2019-03-12 20:16:37 +00:00
  • 41872820c3
    Remove isAutoconf option to GenerateConfig Neil Alexander 2019-03-12 19:18:43 +00:00
  • 4062c93e18
    Re-order config, update default Listen Neil Alexander 2019-03-12 19:04:30 +00:00
  • a364aac145
    Merge pull request #379 from neilalexander/allowedfix Neil Alexander 2019-03-12 16:08:16 +00:00
  • 830be7f4db
    Update comments again Neil Alexander 2019-03-12 16:06:12 +00:00
  • dc3a05f13a
    Correctly classify link-local addresses in the TCP handler, fix AllowedPublicEncryptionKeys warning Neil Alexander 2019-03-12 16:03:02 +00:00
  • c388885a92
    Update config comments for AllowedEncryptionPublicKeys Neil Alexander 2019-03-12 15:29:42 +00:00
  • 229de91a3a
    Fix AllowedEncryptionPublicKeys so that it works in incoming connections and not outgoing ones Neil Alexander 2019-03-12 15:01:27 +00:00
  • 43643e0307
    Merge pull request #374 from yggdrasil-network/develop v0.3.4 Neil Alexander 2019-03-12 10:02:04 +00:00
  • b3b64ddb9a
    Merge pull request #378 from neilalexander/linklocalport Arceliar 2019-03-10 14:19:28 -05:00
  • ec19c479dd
    Add comment about no reloading for LinkLocalTCPPort Neil Alexander 2019-03-10 19:17:03 +00:00
  • 9d5ca85424
    Add LinkLocalTCPPort option Neil Alexander 2019-03-10 19:08:56 +00:00