Mihail Slobodyanuk
3999a62f54
IE11 support, markup fixes, caching fixes
2022-12-19 12:05:01 +02:00
Mihail Slobodyanuk
b129d689a3
Revamped GET /api/peers response format
2022-12-17 12:23:10 +02:00
Mihail Slobodyanuk
028539356c
Disabled static http resources caching RIVM-30
2022-12-17 11:17:44 +02:00
Mihail Slobodyanuk
0b54277ece
save peers RIVM-31
2022-12-16 22:58:12 +02:00
Mihail Slobodyanuk
d68d3db702
Migrated to REST backend RIVM-31
2022-12-16 11:43:46 +02:00
Mihail Slobodyanuk
01364503d7
fix by linter
2022-12-14 17:36:39 +02:00
Mihail Slobodyanuk
70038e9943
FIx error message
2022-12-14 14:36:14 +02:00
vadym
2cc402237e
go code autoformat
2022-12-13 23:05:19 +02:00
Mihail Slobodyanuk
ae954bad35
Linter errors fixes
2022-12-13 21:01:37 +02:00
Mihail Slobodyanuk
726b76dd0c
Zipped ui fo Windows RIVM-23
2022-12-13 19:24:43 +02:00
Mihail Slobodyanuk
12c3103039
Revert "Fix RIVM-23"
...
This reverts commit f253448296
.
2022-12-13 17:40:34 +02:00
Mihail Slobodyanuk
f253448296
Fix RIVM-23
2022-12-13 17:38:45 +02:00
Mihail Slobodyanuk
f84f0a5f19
UI fixes RIVM-8
2022-12-08 14:32:56 +02:00
vadym
69d59458d8
Merge branch 'develop' of https://github.com/yggdrasil-network/yggdrasil-go into yggdrasil-v0.4.6.1-develop
2022-11-08 13:24:10 +02:00
Neil Alexander
590d83aa9c
Fix #975 by not exporting uint8
2022-11-01 17:42:52 +00:00
vadym
6319d6231b
1. moved address to core
2022-10-30 21:58:42 +02:00
vadym
d8a4000141
1. added multipath protocol and schema suport
...
2. added SCTP protocol and schema support
3. added set of NAS models support (Asustor, ReadyNAS, Drobo, QNAP, WD, Synology, Terramaster)
4. moved to fc00::/7 private segment
5. added Windows, MacOS and Linux UI for peers edit and current status
2022-10-27 22:03:37 +03:00
Neil Alexander
cfa293d189
Fix bug in admin socket where requests fail unless "arguments":{}
is specified in the JSON
2022-10-26 22:29:19 +01:00
Neil Alexander
f08dec822a
Priority support ( #964 )
...
* Allow setting link priorities
* Fix a bug
* Allow setting priority on listeners and multicast interfaces
* Update `yggdrasilctl`
* Update to Arceliar/ironwood#5
2022-10-26 09:24:24 +01:00
Neil Alexander
69632bacb5
Tidy up
2022-10-02 13:20:39 +01:00
ehmry
7db934488e
Reimplement AddPeer and RemovePeer for admin socket ( #951 )
...
* Reimplement AddPeer and RemovePeer for admin socket
Fix #950
* Disconnect the peer on `removePeer`
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2022-10-02 12:35:43 +01:00
Neil Alexander
c922eba2d8
Fix sending arguments to the admin socket in yggdrasilctl
2022-09-24 21:28:09 +01:00
Neil Alexander
b67c313f44
Admin socket and yggdrasilctl
improvements
...
This refactors the request parsing, as well as improving the output for some request types. It also tweaks `yggdrasilctl` output, which should help with #947 .
2022-09-24 12:22:38 +01:00
Neil Alexander
5ef61faeff
Link refactor ( #941 )
...
* Link refactoring
* More refactoring
* More tweaking
* Cleaner shutdowns, UNIX socket support, more tweaks
* Actorise links, remove mutex
* SOCKS support
2022-09-17 20:07:00 +01:00
Neil Alexander
dc9720e580
Extend getSessions
admin call to include uptime/TX/RX
2022-09-03 16:55:57 +01:00
Neil Alexander
b1f61fb0a8
Refactor admin socket setup (isolated config)
2022-09-03 11:54:46 +01:00
Neil Alexander
c6fe81b5d2
Admin socket and yggdrasilctl
refactoring ( #939 )
2022-09-03 10:50:43 +01:00
Karandashov Daniil
486ffebedd
Delete unused param ( #935 )
2022-08-29 20:40:19 +01:00
Neil Alexander
90f9be38c5
Fix lint errors
2022-04-17 17:56:54 +01:00
Neil Alexander
2d2ad4692b
Restore uptime
, bytes_sent
and bytes_recvd
to getPeers
( #888 )
...
* Restore `uptime`, `bytes_sent` and `bytes_recvd` to the admin API for peers
* Wrap conn in Yggdrasil instead, so not necessary to do so in Ironwood
* Shuffle struct for alignment
2022-02-01 13:37:45 +00:00
Alex Kotov
538ee13669
Add type core.AddHandlerFunc
2021-09-01 06:16:57 +05:00
Arceliar
c6a7a077a3
add remote URI to GetPeers (fallback to net.Conn.RemoteAddr().String() if the uri is unknown)
2021-06-13 09:25:08 -05:00
Arceliar
8f91f0c050
fix nodeinfo and debug admin functions, this is ugly / a hack, but it works i guess...
2021-06-13 05:43:03 -05:00
Neil Alexander
166336a418
Remove config.NodeState (hot reconfig is no longer supported)
2021-06-02 14:19:32 +01:00
Arceliar
1db7437b80
more cleanup and fix a busyloop when the admin socket is shut down
2021-05-29 21:37:13 -05:00
Arceliar
018f35d9a2
rename src/yggdrasil to src/core
2021-05-23 14:42:26 -05:00
Arceliar
b11cf7a2f2
update ironwood dependency, fix api
2021-05-18 20:43:38 -05:00
Arceliar
8d09e68e80
admin socket getpaths
2021-05-16 16:16:58 -05:00
Arceliar
fad071ffe9
WIP on nodeinfo admin handler
2021-05-16 15:27:51 -05:00
Neil Alexander
058dec0cca
Fix getself, gettuntap etc
2021-05-16 21:01:59 +01:00
Neil Alexander
31c1c9b586
Fix admin socket list
2021-05-16 20:53:40 +01:00
Neil Alexander
416eadbcff
Use uint64 for MTU for forward-compatibility
2021-05-16 20:00:45 +01:00
Neil Alexander
2d01386d6e
Refactor admin socket, export request/response structs, remove types package
2021-05-16 19:51:09 +01:00
Arceliar
7e10025ef0
get minimal admin socket working (introspection only, no ability to add peers etc)
2021-05-15 15:16:35 -05:00
Neil Alexander
57ea61b338
Remove reconfiguration on SIGHUP - it didn't work reliably anyway
2021-05-10 22:47:28 +01:00
Arceliar
0cff56fcc1
(broken state) WIP on tuntap
2021-05-08 10:39:07 -05:00
Arceliar
ace7b43b6d
(broken state) WIP address migration
2021-05-08 07:25:53 -05:00
Ryan Westlund
d6d2d9c19a
Accept some golint suggestions ( #690 )
...
* Fixed some linter issues
* Simplified isBetter method
* Accept some linter suggestions
* Fix typo
Co-authored-by: klesomik <klesomiks@gmail.com>
Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-09-27 14:42:46 +01:00
George
48f008a8e2
Implement Core.RemovePeer method ( #699 ) ( #709 )
...
Co-authored-by: George <zhoreeq@users.noreply.github.com>
2020-07-06 14:14:34 +01:00
Neil Alexander
337626a32c
Act multicast updates for safety
2019-10-23 11:12:51 +01:00