5
0
mirror of https://github.com/cwinfo/yggdrasil-go.git synced 2024-11-22 21:10:29 +00:00
Commit Graph

2062 Commits

Author SHA1 Message Date
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
Neil Alexander
a385d5579c
Merge pull request #58 from neilalexander/travisci
Remove TravisCI
2018-03-10 23:52:42 +00:00
Neil Alexander
72e20412d0
Remove TravisCI 2018-03-10 23:48:14 +00:00
Arceliar
1aa35beb55
Merge pull request #57 from yggdrasil-network/readme
Update README.md (#47)
2018-03-10 17:43:50 -06:00
Neil Alexander
eb481bc7c4
Update README.md (#47)
This adds OpenBSD-specific notes as per issue #47
2018-03-10 23:40:03 +00:00
Arceliar
225ca74a9d
Merge pull request #56 from neilalexander/icmpv6
Modify ICMPv6 source address for "Packet Too Big" messages
2018-03-10 16:55:12 -06:00
Neil Alexander
bf0413a0c4
Modify ICMPv6 source address for "Packet Too Big" messages to a routable address so that it correctly routes to nodes in an yggdrasil /64 subnet 2018-03-10 22:31:36 +00:00
Neil Alexander
0dc1dd6292
Merge pull request #55 from Arceliar/dht
DHT peers/other partitioning
2018-03-10 21:32:30 +00:00
Arceliar
b34345229a remove any peers from the dht if a reset is triggered (from coord changes) 2018-03-10 15:16:39 -06:00
Arceliar
9ce0b7fbea keep peers separate from other nodes in dht 2018-03-10 13:58:48 -06:00
Arceliar
e04ab7cfe6
Merge pull request #53 from neilalexander/genconf
Generate a random port number in -genconf instead of :0
2018-03-07 22:46:45 -06:00
Neil Alexander
6388b9b99d
Increase the randomly generated port in -genconf to values above 32768 2018-03-07 22:36:16 +00:00
Neil Alexander
95a6cfff10 Generate a random port number in -genconf instead of :0 (#51) 2018-03-07 19:41:56 +00:00
Arceliar
a5fcf14824
Merge pull request #52 from neilalexander/udptcp
Show both UDP and TCP listen addresses in stdout (#51)
2018-03-07 12:11:30 -06:00
Neil Alexander
1155816df8 Show both UDP and TCP listen addresses in stdout (#51) 2018-03-07 09:41:04 +00:00
Arceliar
7489704788
Merge pull request #49 from Arceliar/misc-cleanup
Misc cleanup
2018-03-05 23:04:34 -06:00
Arceliar
b6dd0c5248 try to fix the pull/N issue with circleci again 2018-03-05 22:59:48 -06:00
Arceliar
9553b1ef8f apparently PRs get a slash in the branch name, which causes problems for the circleci builds 2018-03-05 22:47:50 -06:00
Arceliar
206570770a re-add a couple files 2018-03-05 22:12:54 -06:00
Arceliar
c74ec0e32f cleanup of misc files 2018-03-05 22:06:32 -06:00
Arceliar
c1fe7d271e
Merge pull request #46 from yggdrasil-network/semver
Use semantic versioning (fixes #45)
2018-03-05 16:45:09 -06:00
Neil Alexander
b1380baa9f Update versioning to v1.2.3 where derived from the tag and 3 is commits since last tag 2018-03-05 22:14:36 +00:00
Neil Alexander
c57cf73219 Try symbolic-ref to get branch name 2018-03-05 21:54:30 +00:00
Neil Alexander
d58c971559 Fix bugs in CircleCI naming 2018-03-05 20:26:55 +00:00
Neil Alexander
6366558258 Use new semver versioning for CircleCI builds 2018-03-05 20:20:17 +00:00
Neil Alexander
a75ddff9f3 Ignore non-version tags 2018-03-05 20:06:38 +00:00
Neil Alexander
f4aa4f1848 Match v* tags only 2018-03-05 19:54:18 +00:00
Neil Alexander
3e6530c813 Propose semver version script for #45 2018-03-05 19:34:23 +00:00
Arceliar
4f32d4e780
Merge pull request #40 from neilalexander/netbsd
Attempt to support NetBSD
2018-03-04 18:06:59 -06:00
Neil Alexander
64d4bbbb53 Update CircleCI config.yml to build for BSDs 2018-03-05 00:03:02 +00:00