Neil Alexander
|
ca96bbf014
|
Accept exchanging an MTU of 0 to signify that TUN/TAP is disabled, don't send traffic to a node in that case
|
2018-05-18 18:56:33 +01:00 |
|
Neil Alexander
|
ec371af84f
|
Track TX/RX bytes over session and if MTU was adjusted, add to admin socket getSession
|
2018-05-18 17:59:29 +01:00 |
|
Arceliar
|
ec8fe338d5
|
more insertIfNew bugfixes, and add peerOnly to getDHT output (true if a node is in the bucket.peers slice instead of bucket.others--it means they're not regularly pinged, they're only there to make sure DHT lookups include them as a result, for bootstrapping reasons)
|
2018-05-17 21:43:26 -05:00 |
|
Arceliar
|
8d9887294c
|
add dht time since last ping to admin socket, some DHT code cleanup, bugfix to insertIfNew
|
2018-05-17 19:32:29 -05:00 |
|
Neil Alexander
|
5299783e35
|
Add getTunTap to admin socket
|
2018-05-10 09:48:12 +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
|
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
|
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 |
|
Arceliar
|
9ce0b7fbea
|
keep peers separate from other nodes in dht
|
2018-03-10 13:58:48 -06:00 |
|
Neil Alexander
|
ebc4eacee4
|
Allow sane defaults on setTunTap
|
2018-02-28 15:27:58 +00:00 |
|
Neil Alexander
|
fdd32b9571
|
Add setTunTap
|
2018-02-28 15:15:57 +00:00 |
|
Neil Alexander
|
2b48fd1fce
|
Add addPeer to admin socket
|
2018-02-28 13:43:06 +00:00 |
|
Neil Alexander
|
536974f20c
|
Try to exchange MTUs when creating sessions
|
2018-02-11 23:09:05 +00: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
|
2dd8152a0c
|
reorganize and add more to the admin
|
2018-01-29 18:48:14 -06:00 |
|
Arceliar
|
c18d863a3e
|
update comments, mostly TODO/FIXME notes
|
2018-01-26 17:30:51 -06: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 |
|
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 |
|
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 |
|