Arceliar
|
3704ebf4cb
|
fix debug rpcs and cleanup core.Close/core.Stop
|
2021-07-06 19:45:12 -05:00 |
|
Neil Alexander
|
e224c02d6d
|
Revert "Add LocalAddr to complete net.PacketConn interface"
This reverts commit e4ce2c79a9a6430f7145798a9a3e93c544bd869c.
|
2021-07-05 22:35:46 +01:00 |
|
Neil Alexander
|
e4ce2c79a9
|
Add LocalAddr to complete net.PacketConn interface
|
2021-07-05 22:26:09 +01:00 |
|
Arceliar
|
f990a56046
|
have the core wrap and export the underlying PacketConn, move IPv6 ReadWriteCloser wrapper logic to a separate package
|
2021-07-05 13:14:12 -05:00 |
|
Neil Alexander
|
9b28f725e2
|
Fix core_test.go
|
2021-06-28 18:28:56 +01:00 |
|
Neil Alexander
|
3646a8674c
|
Yggdrasil v0.4.0rc4
|
2021-06-28 18:21:53 +01:00 |
|
Arceliar
|
2db46c1250
|
make socks connect to tls listeners, TODO make that configurable
|
2021-06-25 21:40:19 -05:00 |
|
Arceliar
|
3b38ed082f
|
make failed sends a debug log, instead of error
|
2021-06-25 21:15:40 -05:00 |
|
Arceliar
|
b7f57c0617
|
use TLS for multicast peers, fix TLS listener type in log output
|
2021-06-19 10:42:38 -05:00 |
|
Arceliar
|
5564de94ba
|
when using tls, if no pinned key is set, pin the key from the cert. require that cert keys match a pinned key
|
2021-06-19 09:53:11 -05:00 |
|
Arceliar
|
1bf751a474
|
update ironwood, only store 1 packet in the pre-session buffer
|
2021-06-19 07:44:37 -05:00 |
|
Arceliar
|
b34c3230f8
|
fix core_test.go and a race in setting/using mtu
|
2021-06-13 13:40:20 -05:00 |
|
Arceliar
|
2726dc0076
|
don't return an error if the source address is wrong, since this happens very frequently for link-local traffic
|
2021-06-13 09:51:53 -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
|
6c63b02385
|
Merge branch 'future' of https://github.com/yggdrasil-network/yggdrasil-go into future
|
2021-06-13 05:44:32 -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
|
c8938a3527
|
Add missing icmpv6.go
|
2021-06-13 11:34:59 +01:00 |
|
Arceliar
|
3393db8e77
|
move ICMP PacketTooBig sending into core
|
2021-06-13 05:25:13 -05:00 |
|
Arceliar
|
816356ea65
|
mostly finish migration of IP stuff to core, tuntap is still responsible for ICMP PacketTooBig
|
2021-06-13 04:54:06 -05:00 |
|
Arceliar
|
1147ee1934
|
WIP moving IP-specific checks from tuntap to core
|
2021-06-13 04:22:21 -05:00 |
|
Arceliar
|
91235980af
|
fix logging for socks
|
2021-06-12 07:03:32 -05:00 |
|
Arceliar
|
eeadffe4a5
|
move position of log line on shutdown
|
2021-06-12 06:07:33 -05:00 |
|
Arceliar
|
5b6f730f18
|
keep a context in the core, use it for listen/dial, cancel it when closing
|
2021-06-12 06:06:39 -05:00 |
|
Arceliar
|
3815b13ad5
|
use DialContext
|
2021-06-12 05:58:14 -05:00 |
|
Neil Alexander
|
acdc3dd3c0
|
Replace ?ed25519= with ?key= in peering URIs
|
2021-06-11 21:12:27 +01:00 |
|
Neil Alexander
|
2e2566d248
|
Remove src/core/doc.go
|
2021-06-05 21:56:31 +01:00 |
|
Neil Alexander
|
ff751a5409
|
Fix lint error
|
2021-06-02 14:46:04 +01:00 |
|
Neil Alexander
|
8932ab0519
|
Fix lint errors
|
2021-06-02 14:40:09 +01:00 |
|
Neil Alexander
|
166336a418
|
Remove config.NodeState (hot reconfig is no longer supported)
|
2021-06-02 14:19:32 +01:00 |
|
Arceliar
|
978124dbb1
|
update dependency (ironwood), fix units in core benchmark
|
2021-05-31 06:39:53 -05: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
|
e25ad9ed21
|
cleanup unused code
|
2021-05-29 20:42:06 -05:00 |
|
Arceliar
|
180654c495
|
possibly fix src/core/core_test.go
|
2021-05-29 11:13:59 -05:00 |
|
Arceliar
|
8a60c605f6
|
remove metric stuff, there's already enough new stuff to test, maybe revisit this in a future release
|
2021-05-24 18:53:54 -05:00 |
|
Arceliar
|
c60dd42baa
|
cleanup
|
2021-05-23 21:51:09 -05:00 |
|
Arceliar
|
5f2bcaa71f
|
add Listen to api and listenURL to tcp
|
2021-05-23 21:47:12 -05:00 |
|
Arceliar
|
fd5cda6329
|
read metric from urls for listen and peers
|
2021-05-23 20:58:34 -05:00 |
|
Arceliar
|
70c5b06286
|
use url.URL in place of string for most internal listen/peer address handling
|
2021-05-23 20:34:13 -05:00 |
|
Arceliar
|
58af92812e
|
add metric to metadata exchange, but currently left at default 0 value
|
2021-05-23 18:40:36 -05:00 |
|
Arceliar
|
6bc2044ced
|
update ironwood dependency, fix ansible code, go mod tidy
|
2021-05-23 17:52:10 -05:00 |
|
Arceliar
|
018f35d9a2
|
rename src/yggdrasil to src/core
|
2021-05-23 14:42:26 -05:00 |
|