Commit Graph

11 Commits

Author SHA1 Message Date
Sijie.Sun ecb385a82c optimize packet def (#31) 2024-03-13 22:43:52 +08:00
Sijie.Sun cb0df51319 fix ip & route cfg on windows (#28) 2024-03-09 00:24:16 +08:00
Sijie.Sun 7918031d8b add version to rip route, reduce bandwidth (#23)
reduce bandwidth usage on route propagation
2024-03-02 18:54:45 +08:00
Sijie.Sun c6c505f9d7 support udp proxy gateway (#22) 2024-03-01 21:37:45 +08:00
Sijie.Sun 756d498b90 Stun fix (#18)
* make easytier-core a lib
* add stun command to easytier cli
* fix stun test for musl
2024-02-08 23:44:51 +08:00
Sijie.Sun 7fc4aecdb9 Fix udp and win route (#16)
* robust udp tunnel
* fix windows route add
* use pnet to get index
* windows disable udp reset
2024-02-08 16:27:18 +08:00
Sijie.Sun 7f8935a9d5 introduce peer center (#13)
peer_center is used to collect peer info into one peer node.

the center node is selected with the following rules:

1. has smallest peer id
2. TODO: has allow_to_be_center peer feature

peer center is not guaranteed to be stable and can be changed when peer enter
or leave.  it's used to reduce the cost to exchange infos between peers.
2024-02-06 13:29:12 +08:00
Sijie.Sun aeb00fb42f optimize latency window stats (#10) 2024-02-01 18:32:06 +08:00
Sijie.Sun 95a52a4b5c bind socket to device on macos (#9)
bind socket to device on macos
2024-01-31 21:43:23 +08:00
Sijie.Sun 118954c745 elastic ping pong to adapt env with packet loss (#4)
* elastic ping pong to adapt env with packet loss
2024-01-29 23:21:13 +08:00
sijie.sun 9779923b87 Initial Version 2024-01-27 15:12:30 +08:00