1691 Commits

Author SHA1 Message Date
Arceliar
d98640fd59 switch cleanup 2018-05-16 17:48:53 -05:00
Arceliar
6b51b44cbf slightly better variable naming 2018-05-16 17:36:37 -05:00
Arceliar
800ccaa3d4 cleanup 2018-05-16 17:32:26 -05:00
Arceliar
fe712d24f8 don't allow buckets to overflow when the next bucket isn't full 2018-05-16 17:24:38 -05:00
Arceliar
8228242eed misc dht and tree changes to stabilize coords and bootstrap the dht faster 2018-05-15 23:57:00 -05:00
Arceliar
96c55da987
Merge pull request #76 from neilalexander/hjson
Use HJSON for config instead of JSON
2018-05-13 15:09:28 -05:00
Neil Alexander
85cae4501e
Merge pull request #78 from neilalexander/admin
Add getTunTap to admin socket
2018-05-10 09:52:49 +01:00
Neil Alexander
5299783e35
Add getTunTap to admin socket 2018-05-10 09:48:12 +01:00
Neil Alexander
6d944d8ec8
Merge pull request #77 from neilalexander/windows
Add ability to select specific interface by friendly name on Windows
2018-05-09 16:47:01 +01:00
Neil Alexander
e381808704
Add ability to select interface by friendly name on Windows 2018-05-09 16:42:24 +01:00
Neil Alexander
8ea3070a02
Small tweaks/clean up 2018-05-09 14:03:28 +01:00
Neil Alexander
45b106168e
Use HJSON instead of JSON 2018-05-09 13:54:31 +01:00
Neil Alexander
fcf7fe71af
Merge pull request #74 from Arceliar/peerauth
Partial support for authenticated peers
2018-05-07 23:29:36 +01:00
Arceliar
5dac273a3d rename to 'AllowedBoxPubs' and similar 2018-05-07 17:05:54 -05:00
Arceliar
6ce16d8192 debug admin socket 2018-05-06 19:48:26 -05:00
Arceliar
94dd231e13 add (not working) admin functions for auth keys, needs debugging 2018-05-06 19:31:19 -05:00
Arceliar
0b391b6e3a debugging and cleanup 2018-05-06 19:01:52 -05:00
Arceliar
80f893aac3 let the peer's linkLoop call close if the peer receives no announcements for too long 2018-05-06 17:17:12 -05:00
Arceliar
6026e0a014 Optional peer authentication, if non-empty then incoming TCP and all UDP peers must match one of these box keys 2018-05-06 16:32:34 -05:00
Neil Alexander
5962d009a5
Merge pull request #73 from Arceliar/removePeer
make removePeers work for TCP connections and minor admin cleanup
2018-05-06 21:14:27 +01:00
Arceliar
3a1b67da8c
Update admin.go 2018-05-05 20:20:38 -05:00
Arceliar
cdedd304af make removePeers work for TCP connections and minor admin cleanup 2018-05-05 17:14:03 -05:00
Arceliar
d34e0f92c8
Merge pull request #72 from Arceliar/netnsfix
netns fix
2018-04-28 17:04:25 -05:00
Arceliar
f6cba4efc1 fix loopback devices in s channel test 2018-04-28 16:45:37 -05:00
Arceliar
8b9a91be57 possibly fix weird issue I was having with netns, still not sure I understand why it was a problem 2018-04-28 16:39:58 -05:00
Arceliar
ccb23b6a56
Merge pull request #71 from Arceliar/docs
Docs
2018-04-28 12:09:37 -05:00
Arceliar
44cd1f0cda Merge branch 'master' of https://github.com/yggdrasil-network/yggdrasil-go 2018-04-28 12:02:58 -05:00
Arceliar
893101f232 use url syntax for tcp/udp and mention socks support 2018-04-28 11:57:14 -05:00
Neil Alexander
cf2e112ae8
Merge pull request #70 from yggdrasil-network/urlfix
Default to previous scheme when url.Parse returns an error
2018-04-27 10:26:04 +01:00
Neil Alexander
bdf9e45082
Default to previous scheme when url.Parse returns an error
In response to:
```
panic: parse x.x.x.x:xxx: first path segment in URL cannot contain colon

goroutine 33 [running]:
yggdrasil.(*Core).DEBUG_addPeer(0x8e58000, 0x8e34080, 0x12)
        /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}/src/yggdrasil/debug.go:317 +0x420
main.(*node).init.func1(0x8e48000, 0x8e58000)
        /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}/yggdrasil.go:75 +0x70
created by main.(*node).init
        /go/src/github.com/{{ORG_NAME}}/{{REPO_NAME}}/yggdrasil.go:69 +0x410
```
2018-04-27 09:53:31 +01:00
Arceliar
76a5d69211
Merge pull request #68 from majestrate/tor-auto
Tor socks proxy support
2018-04-26 20:37:03 -05:00
Jeff Becker
fe13fea1e5
remove hard coded tor config options 2018-04-26 10:26:10 -04:00
Jeff Becker
7756891510
support socks proxy in peer url and decouple explicit tor/i2p routing 2018-04-26 10:23:21 -04:00
Jeff Becker
769b058004
more docs 2018-04-25 10:11:11 -04:00
Jeff Becker
1be8bbed1c
more docs 2018-04-25 10:09:09 -04:00
Jeff Becker
de69860e9b
* only enable tor proxy dialer when tor is enabled
* add docstrings
2018-04-25 10:06:13 -04:00
Jeff Becker
c16e354a44
Merge remote-tracking branch 'origin/master' into tor-auto 2018-04-25 10:01:10 -04:00
Neil Alexander
275345f3c6
Merge pull request #67 from Arceliar/sessionping
Try using session pings before searches for active sessions
2018-04-22 22:04:03 +01:00
Arceliar
8ef2e55de6 try sending pings before sending searches for an unresponsive session 2018-04-22 15:31:30 -05:00
Jeff Becker
5e23185ddc
use address only not port 2018-04-20 08:41:09 -04:00
Jeff Becker
3c4fee0492
tor auto config 2018-04-19 10:30:40 -04:00
Neil Alexander
48ced483d6
Merge pull request #64 from Arceliar/dht
Limit DHT pings to 1/min per node
2018-03-17 20:46:47 +00:00
Neil Alexander
0f8aab7609
Merge pull request #62 from Arceliar/udpclose
UDP Close packet, admin removePeer
2018-03-17 20:43:57 +00:00
Arceliar
fe5ef4e867 don't add things to the dht rumorMill if they've been pinged in the last minute (arbitrary time, needs investigating) 2018-03-17 15:28:22 -05:00
Arceliar
0459f88b92 add a udp close packet, and partial support for a removePeer admin call (sends close to UDP peers, but doesn't close TCP connections yet) 2018-03-16 18:24:28 -05:00
Neil Alexander
96399d586d
Merge pull request #61 from neilalexander/armhf
Add armhf target for CircleCI
2018-03-16 10:19:58 +00:00
Neil Alexander
b3117e6fe0 Fix armmhf into armhf for PKGARCH 2018-03-16 10:16:05 +00:00
Neil Alexander
0dc6e24451 Add armhf target for CircleCI 2018-03-16 10:10:44 +00:00
Neil Alexander
9f5b5ac00b
Merge pull request #59 from neilalexander/launchd
Add launchd script for macOS to contrib
2018-03-11 22:57:49 +00:00
Neil Alexander
55e4c33169 Add launchd script for macOS to contrib 2018-03-11 22:53:55 +00:00