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

55 Commits

Author SHA1 Message Date
Neil Alexander
9ac7d4e0df
Fix typo for big-endian BOM 2018-06-16 17:01:47 +01:00
Arceliar
e65a66b181 clean up main yggdrasil.go imports and run gofmt 2018-06-15 04:30:09 -05:00
Neil Alexander
0aea4bd395
Update yggdrasil.go 2018-06-15 09:20:41 +01:00
Arceliar
2e1456902c
Update yggdrasil.go 2018-06-08 16:38:11 -05:00
Neil Alexander
027944a14a
Set allowed encryption keys after start as otherwise hits a nil pointer exception 2018-05-29 22:15:54 +01:00
Neil Alexander
a9e61d0d37
Add support for building "release" builds that don't contain pprof which are substantially smaller. To build a "debug" build, use "-tags debug" with "go build" 2018-05-27 23:22:50 +01:00
Neil Alexander
e9b1006dda
Remove final DEBUG calls from yggdrasil.go 2018-05-27 22:36:36 +01:00
Neil Alexander
4c115de633
De-debug 2018-05-27 22:13:37 +01:00
Arceliar
e62cfa8c84 revert removal of useconffile 2018-05-27 12:31:35 -05:00
Arceliar
fcaabe4aac Fix some issues with hjson by converting to json then parsing to go struct, and remove useconffile option since it doesn't seem to add anything over stdin and increases the attack surface 2018-05-26 20:40:19 -05:00
Neil Alexander
a0f547cc1b
Fix being able to enable/disable multicast 2018-05-26 21:50:47 +01:00
Neil Alexander
8456b2e1bc
Fix substitution 2018-05-23 18:53:44 +01:00
Neil Alexander
34f7b7ca14
Fix AllowedBoxPubs 2018-05-23 12:32:26 +01:00
Neil Alexander
ce854a76bd
Add -normaliseconf option and temporarily correct old config item names in running config 2018-05-23 12:04:27 +01:00
Neil Alexander
9d9083e373
Update configuration names, fix multicast interface selection 2018-05-23 11:28:20 +01:00
Neil Alexander
6f79184c9b
Move multicasting into yggdrasil package 2018-05-23 11:13:53 +01:00
Neil Alexander
04b3e84023
Show your IPv6 address and subnet when starting 2018-05-21 16:15:31 +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
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
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
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
3c4fee0492
tor auto config 2018-04-19 10:30:40 -04:00
Arceliar
9ce0b7fbea keep peers separate from other nodes in dht 2018-03-10 13:58:48 -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
0578a9f273 manual merge 2018-03-03 11:07:08 -06:00
Neil Alexander
4917ea3dd2 Per-platform TUN defaults 2018-03-03 12:30:54 +00:00
Arceliar
e113b8d530 incrase max MTU 2018-02-25 21:56:09 -06:00
Arceliar
0470f6f1c1 cleanup 2018-02-23 13:04:52 -06:00
Arceliar
a81c361484 tcp reconnect bufix, test with bufio, and switch back to tcp auto-peering by default to continue testing 2018-02-19 23:22:36 -06:00
Arceliar
4045597516 Use larger UDP chunks for link-local IP and let the OS fragment it. Switch to UDP for link-local peers. Minor code cleanup for TCP. 2018-02-19 19:34:51 -06:00
Neil Alexander
aef62afb1b gofmt -s -w yggdrasil.go 2018-02-18 21:32:55 +00:00
Neil Alexander
0176d25235 Catch SIGTERM instead of (impossible to capture) SIGKILL, also capture Windows service termination 2018-02-18 21:16:47 +00:00
Neil Alexander
c453770b85 Add support for running Yggdrasil as a Windows service (using minwinsvc) 2018-02-16 14:12:44 +00:00
Neil Alexander
02473158d4 Allow setting IfName to 'none' to run without TUN/TAP 2018-02-15 22:29:13 +00:00
Neil Alexander
9fb45d77fc Add "IfMTU" configuration option to allow selecting TUN/TAP MTU 2018-02-14 12:53:32 +00:00
Neil Alexander
e9bd98d213 Add "IfTAPMode" configuration option to allow selecting TAP mode on supported platforms 2018-02-11 21:45:44 +00:00
Arceliar
869997e4c5 gofmt 2018-02-09 18:50:03 -06:00
Arceliar
d424489329 add tcp support and use it by default 2018-02-09 17:42:55 -06:00
Arceliar
b704d7b497 change mtu and enable udp chunking 2018-02-04 11:25:20 -06:00
Arceliar
6b2937bcd0 update documentation, and a minor change to the signal handler in yggdrasil.go 2018-01-25 18:58:33 -06:00
Arceliar
06e3c8c997 if you could go ahead and include your port number in your multicast announcements, that'd be great 2018-01-24 18:45:29 -06:00
Arceliar
83e0579ca8 possibly make multicast automatic peer detection work on windows 2018-01-24 17:44:39 -06:00
Arceliar
625b97c511 add and use a thread-safe way of reading router internal state, and include active sessions in the admin query 2018-01-21 12:55:45 -06:00
Neil Alexander
c4ac0a90ac Add the ability to see switch ports and DHT 2018-01-21 12:57:54 +00:00
Neil Alexander
b754d68068 Add an admin socket 2018-01-21 00:17:15 +00:00