yggdrasil-go/src/yggdrasil
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
..
config remove hard coded tor config options 2018-04-26 10:26:10 -04:00
address.go update comments, mostly TODO/FIXME notes 2018-01-26 17:30:51 -06:00
admin.go 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
core.go support socks proxy in peer url and decouple explicit tor/i2p routing 2018-04-26 10:23:21 -04:00
crypto.go Mostly working PMTU discovery when going over UDP links 2018-02-25 20:24:36 -06:00
debug.go Default to previous scheme when url.Parse returns an error 2018-04-27 09:53:31 +01:00
dht.go 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
dial.go support socks proxy in peer url and decouple explicit tor/i2p routing 2018-04-26 10:23:21 -04:00
icmpv6.go 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
peer.go cleanup 2018-02-23 13:04:52 -06:00
router.go try sending pings before sending searches for an unresponsive session 2018-04-22 15:31:30 -05:00
search.go update comments, mostly TODO/FIXME notes 2018-01-26 17:30:51 -06:00
session.go try sending pings before sending searches for an unresponsive session 2018-04-22 15:31:30 -05:00
signature.go Run gofmt -s -w . 2018-01-04 22:37:51 +00:00
switch.go ignore root tstamp updates if we just updated, to throttle the rate at which updates (and new signatures) can propagate 2018-02-17 23:57:24 -06:00
tcp.go support socks proxy in peer url and decouple explicit tor/i2p routing 2018-04-26 10:23:21 -04:00
tun_bsd.go Attempt to support NetBSD 2018-03-04 23:47:01 +00:00
tun_darwin.go Add FreeBSD support in TAP mode 2018-03-04 16:24:50 +00:00
tun_freebsd.go Attempt to support NetBSD 2018-03-04 23:47:01 +00:00
tun_linux.go Add FreeBSD support in TAP mode 2018-03-04 16:24:50 +00:00
tun_netbsd.go Attempt to support NetBSD 2018-03-04 23:47:01 +00:00
tun_openbsd.go Attempt to support NetBSD 2018-03-04 23:47:01 +00:00
tun_other.go Attempt to support NetBSD 2018-03-04 23:47:01 +00:00
tun_windows.go Add FreeBSD support in TAP mode 2018-03-04 16:24:50 +00:00
tun.go get the fd instead of depending on water to do it 2018-03-04 13:57:34 -06:00
udp.go 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
util.go update comments, mostly TODO/FIXME notes 2018-01-26 17:30:51 -06:00
wire.go cleanup 2018-02-23 13:04:52 -06:00