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

162 Commits

Author SHA1 Message Date
Arceliar
4acce71468 Merge branch 'master' into bigmtu 2018-02-07 17:49:04 -06:00
Arceliar
e9adf327b0 possibly fix deadlock from race in peer linkloop goroutine, add some related debug code to the admin 2018-02-07 17:48:30 -06:00
Arceliar
b704d7b497 change mtu and enable udp chunking 2018-02-04 11:25:20 -06:00
Arceliar
63aadf6e88 use smaller buffer sizes for buffered channels 2018-02-03 18:44:28 -06:00
Arceliar
80a45b3859 let the TCP version cheat with MTU 2018-02-03 14:14:35 -06:00
Arceliar
6dfceca433 get the tcp version compiling again 2018-02-03 12:25:02 -06:00
Arceliar
4430ba8520 add travis-ci status to readme (untested, hope this works) 2018-02-02 19:38:55 -06:00
Arceliar
015078a239 update python sims 2018-02-02 19:37:18 -06:00
Arceliar
40ef1d7125
Merge pull request #10 from neilalexander/master
Add .travis.yml
2018-02-02 19:20:39 -06:00
Neil Alexander
e667617533 Add .travis.yml 2018-02-02 22:33:44 +00:00
Arceliar
2dd8152a0c reorganize and add more to the admin 2018-01-29 18:48:14 -06:00
Arceliar
fe8a78f966
Merge pull request #9 from neilalexander/master
Add systemd service files
2018-01-29 12:36:01 -06:00
Neil Alexander
cdf00ddceb Add systemd service files 2018-01-28 11:59:22 +00:00
Arceliar
0d156a6335 Merge branch 'master' of https://github.com/Arceliar/yggdrasil-go 2018-01-26 17:31:23 -06:00
Arceliar
c18d863a3e update comments, mostly TODO/FIXME notes 2018-01-26 17:30:51 -06:00
Arceliar
dda3f36cc4
Merge pull request #8 from neilalexander/master
Update README.md
2018-01-26 11:58:25 -06:00
Neil Alexander
30236acfa1
Update README.md 2018-01-26 09:28:57 +00:00
Arceliar
0cb7b3872d slightly reorganize readme 2018-01-25 19:06:48 -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
742a755bb7
Merge pull request #7 from neilalexander/master
Fix MTU issues with TAP adapters
2018-01-25 11:57:08 -06:00
Neil Alexander
e44f64bea0 Fix MTU issues with TAP adapters 2018-01-25 17:44:56 +00:00
Arceliar
d52fab8af6 disable/enable the tap device at startup to clear any old settings, e.g. old addresses 2018-01-24 21:14:26 -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
a54f6850c8 Update docs to mention cross compiling and Windows support 2018-01-24 17:59:23 -06:00
Arceliar
83e0579ca8 possibly make multicast automatic peer detection work on windows 2018-01-24 17:44:39 -06:00
Arceliar
e52b099d05
Merge pull request #6 from neilalexander/master
Support for Windows, TAP interfaces and NDP
2018-01-24 17:43:15 -06:00
Neil Alexander
761e7cdeb0 Remove apparently excessive escaping from netsh in tun_windows.go 2018-01-24 22:37:08 +00:00
Neil Alexander
ff55070458 TAP support added
- Supports Windows using OpenVPN NDIS 6 TAP driver
- Supports NDP Neighbor Solicitation and Advertisements in ndp.go
- Supports TAP encapsulation and decapsulation in tun.go
2018-01-24 10:59:01 +00:00
Arceliar
2b7c6eafcd In admin dot, reverse direction of peer links, include the switch port for each link, and sort the output by coords 2018-01-21 16:19:39 -06:00
Arceliar
73cc6b5ba0
Merge pull request #5 from neilalexander/master
Highlight own node on dot graph
2018-01-21 15:57:26 -06:00
Neil Alexander
36f9cc5041 Highlight own node on dot graph 2018-01-21 21:54:50 +00:00
Arceliar
87a4af7841 update admin dot to better handle missing nodes and to direct links towards parent, based on neilalexander's work 2018-01-21 14:58:54 -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
Arceliar
8973d3c86d
Merge pull request #4 from neilalexander/master
Some code to draw graphviz dot graphs of your view of the network
2018-01-21 12:14:31 -06:00
Neil Alexander
8ef852469b Formatting 2018-01-21 17:53:25 +00:00
Neil Alexander
483d90a728 Draw dot draphs (although maybe not very well) 2018-01-21 17:51:51 +00: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
Arceliar
502ab3cfaa check that the source IP inside a packet matches the address or prefix for the session that transmitted it 2018-01-19 17:33:04 -06:00
Arceliar
f929df1ea9 minor performance adjustments 2018-01-18 18:48:34 -06:00
Arceliar
e3d87b8ee6
Merge pull request #3 from neilalexander/master
Update tun_darwin.go with working interface code using syscalls
2018-01-15 08:57:37 -06:00
Neil Alexander
fbe0afa625 Merge remote-tracking branch 'origin/macos-interface' 2018-01-15 14:46:21 +00:00
Arceliar
6e5903456d doc updates 2018-01-15 08:43:06 -06:00
Neil Alexander
62c45e7cc7 Use MTU from interface definition 2018-01-15 14:39:07 +00:00
Neil Alexander
d7be706413 Move to unix.Syscall etc and tidy up 2018-01-15 14:35:37 +00:00
Neil Alexander
5d2dd061f0 Fix definition of SIOCAIFADDR_IN6 2018-01-15 14:14:18 +00:00
Arceliar
64b86a1a2b
Merge pull request #2 from neilalexander/master
Add tun_darwin.go
2018-01-15 06:45:21 -06:00
Neil Alexander
c96f00666b Add tun_darwin.go which uses ifconfig instead of iproute2 2018-01-15 11:46:31 +00:00
Neil Alexander
8e86c4b853 Merge /Users/neilalexander/Desktop/Projects/yggdrasil-go into macos-interface 2018-01-15 11:22:54 +00:00
Arceliar
75965b6da4 Switch connAddr (udp map key) from string to a struct that allocates less. Reduce some other allocations. Use larger channel buffers to reduce backpressure from runtime jitter. 2018-01-13 07:26:26 -06:00