Luna Yao
11626d8082
remove id from zone
2026-04-19 02:17:50 +02:00
Luna Yao
362547eaab
use localhost as default hostname
2026-04-19 01:48:08 +02:00
Luna Yao
9feb548bc2
remove fqdn from DnsConfig
...
l
l
plan: update
plan: update
2026-04-19 01:38:29 +02:00
Luna Yao
cbb966d57c
remove fqdn from DnsExportConfig
2026-04-19 00:34:57 +02:00
Luna Yao
6db0be00ad
use sanitize in get_hostname
...
fmt
config
2026-04-19 00:34:57 +02:00
Luna Yao
7ae7725fbf
rewrite txt_lookup and srv_lookup
...
rewrite
rewrite
lookup
l
2026-04-19 00:34:41 +02:00
Luna Yao
5a516a195c
move common::dns to utils::dns
...
move dns
move
2026-04-18 23:14:25 +02:00
Luna Yao
c71ab7543f
remove accept_dns
2026-04-18 21:26:30 +02:00
Luna Yao
84984e1641
move dirty to crate::utils
2026-04-18 03:46:43 +02:00
Luna Yao
7345acfe7c
upgrade hickory-dns to 0.26.0
...
fix zone test
2026-04-18 03:46:43 +02:00
Luna Yao
b070cff8e2
fmt
2026-04-17 18:59:11 +02:00
Luna Yao
b94ab414a0
replace parking_lot with std
2026-04-17 18:50:12 +02:00
Luna Yao
3795800975
replace gethostname with hostname
2026-04-17 18:43:16 +02:00
Luna Yao
ba7fc1098b
merge
2026-04-17 18:26:21 +02:00
Luna Yao
38cb4a22fd
Merge branch 'main' into feat/dns-policy
2026-04-17 17:46:20 +02:00
Luna Yao
fae32361f2
chore: update Rust to 1.95; replace cfg_if with cfg_select ( #2121 )
2026-04-17 23:41:31 +08:00
Luna Yao
6b01554c17
Merge branch 'main' into feat/dns-policy
...
# Conflicts:
# easytier/src/common/log.rs
# easytier/src/connector/dns_connector.rs
# easytier/src/dns/system/windows.rs
# easytier/src/gateway/socks5.rs
# easytier/src/instance/dns_server/server.rs
# easytier/src/instance/dns_server/server_instance.rs
# easytier/src/instance/instance.rs
# easytier/src/peers/peer_manager.rs
# easytier/src/peers/peer_ospf_route.rs
# easytier/src/proto/utils.rs
# easytier/src/tunnel/common.rs
# easytier/src/utils/panic.rs
2026-04-17 17:16:55 +02:00
Luna Yao
bcb2e512d4
utils: move code to a dedicated mod; add AsyncRuntime ( #2072 )
2026-04-16 23:32:07 +08:00
Luna Yao
3687519ef3
turn off ansi for file log ( #2110 )
...
Co-authored-by: KKRainbow <443152178@qq.com >
2026-04-15 19:38:27 +08:00
Luna Yao
3a4ac59467
log: change default log level of tests to WARNING ( #2113 )
2026-04-14 18:10:38 +08:00
KKRainbow
5b35c51da9
fix packet split on udp tunnel and avoid tcp proxy access rpc portal ( #2107 )
...
* distinct control / data when forward packets
* fix rpc split for udp tunnel
* feat(easytier-web): pass public ip in validate token webhook
* protect rpc port from subnet proxy
2026-04-13 11:03:09 +08:00
Luna Yao
869e1b89f5
fix: remove log (file) when level is explicitly set to OFF ( #2083 )
...
* fix level filter for OFF
* remove unwrap of file appender creation
2026-04-12 22:16:30 +08:00
Luna Yao
c6cb1a77d0
chore: clippy fix some code on Windows ( #2106 )
2026-04-12 22:13:58 +08:00
deddey
83010861ba
Optimize network interface configuration for macOS and FreeBSD to avoid hard-coded IP addresses ( #1853 )
...
Co-authored-by: KKRainbow <443152178@qq.com >
2026-04-12 21:00:59 +08:00
Luna Yao
daa53e5168
log: auto-init log for tests ( #2073 )
2026-04-12 13:04:21 +08:00
Luna Yao
a879dd1b14
chore: update Rust to 2024 edition ( #2066 )
2026-04-10 00:22:12 +08:00
Luna Yao
5a8a1d3e6b
disallow some methods from itertools
2026-04-06 18:28:30 +02:00
Luna Yao
ddbfe76932
log: test log
2026-04-06 17:04:30 +02:00
Luna Yao
847e82ff8c
config: filter out disabled export
2026-04-06 17:04:29 +02:00
Luna Yao
0d91aaf974
clippy
2026-04-06 11:54:51 +02:00
Luna Yao
5f8548d272
make dns Option
2026-04-06 11:54:50 +02:00
Luna Yao
7cb4345e4d
fmt
2026-04-06 11:54:50 +02:00
Luna Yao
ea5e34b6af
Revert "remove hostname from config"
2026-04-06 11:54:50 +02:00
Luna Yao
385ff54b3e
fix magic-dns feature gate
2026-04-06 11:54:50 +02:00
Luna Yao
d5d600a524
remove hostname from config
2026-04-06 11:54:50 +02:00
Luna Yao
0ca5e38dba
log: span
...
log: format
2026-04-06 11:54:50 +02:00
Luna Yao
b0e4808d00
log: add test log init
...
log
2026-04-06 11:54:50 +02:00
Luna Yao
2a34032221
log: refactor
2026-04-06 11:54:50 +02:00
Luna Yao
15cc86c8bc
log: use test writer
2026-04-06 11:54:50 +02:00
Luna Yao
d9d211c5a4
remove old magic-dns
2026-04-06 11:54:47 +02:00
Luna Yao
86871b14d5
store DnsServer in GlobalCtx, load routes from DnsServer in ProxyCidrsMonitor
2026-04-06 11:54:02 +02:00
Luna Yao
f75c35d4a0
add GlobalCtxEvent::PeerInfoUpdated, issue this event in do_sync_route_info
...
fix use in peer_ospf_route.rs
2026-04-06 11:54:02 +02:00
Luna Yao
3f3aec8edd
add DnsConfig and ZoneConfig with proto definitions
2026-04-06 11:54:01 +02:00
KKRainbow
fb59f01058
fix: reconcile webhook-managed configs and make disable_p2p more intelligent ( #2057 )
...
* reconcile infra configs on webhook validate
* make disable_p2p more intelligent
* fix stats
2026-04-04 23:41:57 +08:00
Luna Yao
e91a0da70a
refactor: listener/connector protocol abstraction ( #2026 )
...
* fix listener protocol detection
* replace IpProtocol with IpNextHeaderProtocol
* use an enum to gather all listener schemes
* rename ListenerScheme to TunnelScheme; replace IpNextHeaderProtocols with socket2::Protocol
* move TunnelScheme to tunnel
* add IpScheme, simplify connector creation
* format; fix some typos; remove check_scheme_...;
* remove PROTO_PORT_OFFSET
* rename WSTunnel.. -> WsTunnel.., DNSTunnel.. -> DnsTunnel..
2026-04-04 10:55:58 +08:00
KKRainbow
8c19a2293c
fix(windows): avoid pnet interface enumeration panic ( #2031 )
2026-03-29 23:16:44 +08:00
KKRainbow
bcd75d6ce3
Add instance recv limiter in peer conn ( #2027 )
2026-03-29 10:28:02 +08:00
KKRainbow
e000636d83
feat(stats): add by-instance traffic metrics ( #2011 )
2026-03-26 13:46:33 +08:00
Luna Yao
8e4dc508bb
test: improve test_txt_public_stun_server with timeout and retry mechanism ( #2014 )
2026-03-26 09:32:07 +08:00
Luna Yao
e2684a93de
refactor: use strum on EncryptionAlgorithm, use Xor as default when AesGcm not available ( #1923 )
2026-03-25 18:42:34 +08:00