Luna Yao
|
95e460dbf5
|
utils: add AsyncRuntime
utils: fix AsyncRuntime lock
|
2026-04-06 11:54:50 +02:00 |
|
Luna Yao
|
a73a029c50
|
server: update system dns settings on address reload
|
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
|
8559de1857
|
system: add get; rename
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
18e28197b8
|
node: adjust field ordering
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
e01f2c22a8
|
plan: update
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
918c9b9174
|
system: rename SystemConfig to SystemConfigurator, add Clone to SystemConfigurator
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
4ed9cbc4a1
|
move system_config to dns::system
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
202d8ec121
|
server: Drop
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
833ed8d8b8
|
node: save global_ctx as a field
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
a44a98d7c4
|
plan: update
|
2026-04-06 11:54:02 +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
|
3fc030de48
|
server: use parking_lot::RwLock for addresses
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
b5a33a192b
|
node: use join in election
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
9d1f134f9e
|
plan: update
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
57a2428f21
|
node: add server election
peer_mgr
server: add peer_mgr
peer_mgr
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
238858ebab
|
server: use select! for run
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
0c8da66a74
|
node: add Notify for server election
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
14155d706c
|
server: cleanup resources in run and drop
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
c968fb6d06
|
server: impl Drop for DnsServerRuntime
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
6618635622
|
server: impl NicPacketFilter
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
30cfe7a74a
|
server: use bind_socket
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
13275aae99
|
move bind_tcp_socket and bind_udp_socket to common
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
2e1f9bc9cc
|
node & server: separate dirty flag, remove DirtyState
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
fcfb0ad6bc
|
plan: update
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
e967434ef9
|
node: refresh on PeerInfoUpdated
|
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
|
088628c1b6
|
plan: update
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
9b372d3087
|
node: watch config/ip change
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
5de87cd494
|
plan: update
|
2026-04-06 11:54:02 +02:00 |
|
Luna Yao
|
f5d3443928
|
client: rename to node
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
5372596432
|
client: replace spawn_local with spawn
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
5457adb533
|
utils: move to a mod
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
474f1a3636
|
client: remove DnsPeerMgrDirtyFlags
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
efcdf4c456
|
utils: add DirtyState
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
e9a0e4f042
|
server: add new
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
d54eb97201
|
server: rename zones dirty flag to catalog
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
dc1e1929c8
|
client_mgr: add
format
client_mgr
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
b7073504d8
|
peer_mgr: use flat_map
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
f83816ac16
|
server: remove comments
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
d3ca03e20e
|
use notify in dirty states
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
3d3dba28e8
|
utils: add DirtyFlag
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
e3ed91aced
|
peer_mgr: format
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
8f7fc6e07b
|
server: remove Notify of dirty
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
5e69a26a53
|
server: add DnsServerRuntime and event loop
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
488dfaf233
|
client: fix atomic ordering
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
4a18a86ed6
|
proto: rename DnsPeerMgrRpc
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
a8fa7be4ce
|
server: use ArcGlobalCtx
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
b469a28e19
|
server: use HashSet in DnsClientInfo
|
2026-04-06 11:54:01 +02:00 |
|
Luna Yao
|
a5fdebe778
|
chore: move constants to mod.rs, format
|
2026-04-06 11:54:01 +02:00 |
|