41 Commits

Author SHA1 Message Date
5136e9427b 添加dns解析,如果dns是punchsky.com(punchnet内部的域名),就转发给15353端口解析;其他的,就直接转发给ali dns 223.5.5.5:53解析 2026-04-14 23:34:46 +08:00
150d1c8e67 fix windows's read tun, fill first 14 bytes with 0's 2026-04-13 19:32:39 +08:00
4cccf58b2e export structure and function, and fix the default 2026-04-13 15:48:57 +08:00
f5e1cfff67 fix allow_routing AtomicBool bug 2026-04-02 16:46:36 +08:00
4aa6406428 changed to new message.proto, which eliminates the pkt_id 2026-03-30 17:17:50 +08:00
00c5c67307 login with user 2026-03-02 11:07:42 +08:00
8902c27b1d client id and mac are passed as values 2026-02-28 10:32:44 +08:00
8645b65534 changed tcp to quic, can remove tcp_conn.rs safely 2026-02-27 16:30:46 +08:00
be71e8404a fix windows and tun's data 2026-02-25 16:06:44 +08:00
214e73a0b9 fix on_connected_callback, on_disconnected_callback, and on_message callback 2026-01-16 15:53:00 +08:00
89f7db657d added start_with(out)_feedback's hostname 2025-12-25 22:19:25 +08:00
b343124821 in linux, use resolvectl or /etc/resolv.conf for dns resolving 2025-12-23 22:23:53 +08:00
fad345becb 15353's parse is ok, should restore /etc/resolv.conf while exitting 2025-12-23 10:30:33 +08:00
41a21188bf added hostname for dns, first step 2025-12-22 14:25:00 +08:00
9861c4e850 connecting_chan, includes the IPInfo 2025-10-30 15:33:09 +08:00
e003584463 added Serialize 2025-10-27 16:12:36 +08:00
6ab4f7042b aded get_my_networks api 2025-10-27 15:00:56 +08:00
1e429ad874 added get_my_network interface in lib.rs 2025-10-25 16:27:27 +08:00
8db61a7bbb added set_base_dir for recording log, rsa keys 2025-10-22 22:14:14 +08:00
d9b1329e6a changed dependencies to gitea.s5s8, and added network_code in register super 2025-10-22 16:27:45 +08:00
7fa2ffa04d changed mode 2025-05-12 10:37:16 +08:00
4fdcfa5bee is mtu's bug 2025-01-28 15:47:24 +08:00
63805d9a47 fix nat probe's bug 2024-12-27 00:23:30 +08:00
56d6a35fea fix all error 2024-10-21 09:23:29 +08:00
538dea12f8 changed the connection state 2024-07-20 21:00:22 +08:00
25f15830fc added connecting_chan 2024-07-20 17:24:47 +08:00
1d6e1c274f added install_channel 2024-07-17 22:40:06 +08:00
b59570b297 added CommandLineInput 2024-07-15 19:47:27 +08:00
95a43c4651 parse sns, support domain 2024-07-14 20:59:47 +08:00
6a5aba6ae5 changed the oneshot of tokio to mpsc of std 2024-07-14 20:12:29 +08:00
125f23792f main 2024-07-14 20:05:55 +08:00
878d88836d changed lib's run_sdlan 2024-07-14 19:42:10 +08:00
b3b9fcd243 added nat type detect 2024-07-08 18:40:38 +08:00
cf08d2d53c fix stun request 2024-07-06 22:58:18 +08:00
edf5779af2 changed token init 2024-07-04 20:56:05 +08:00
08673d5d40 added init debug info 2024-07-04 20:39:57 +08:00
b43c073233 removed log initial, should init it on the main bin 2024-07-04 20:29:21 +08:00
b31aac3566 edge info 2024-07-04 20:24:14 +08:00
2052dec944 export get_edge 2024-07-04 20:21:18 +08:00
8a450fba3f sdlan bin to lib 2024-07-04 19:40:31 +08:00
de029dd6e7 sdlan 2024-07-04 16:50:28 +08:00