160 Commits

Author SHA1 Message Date
95b43c73af fix search domain 2026-04-15 11:38:43 +08:00
c5f5ea433a linux's dns hook is ok 2026-04-15 11:37:10 +08:00
777d3bbc63 linux's tun is ok, need fix win 2026-04-15 00:37:05 +08:00
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
97a7403015 added bytes 2026-04-13 18:50:31 +08:00
5594ce639b api setting 2026-04-13 18:02:18 +08:00
4cccf58b2e export structure and function, and fix the default 2026-04-13 15:48:57 +08:00
51cdeb285e added set_route_from_net api 2026-04-13 15:34:17 +08:00
03b8da17dc fix handle_tun_packet unwrap bug 2026-04-10 20:37:44 +08:00
2774431d49 merge .mac to .config json file 2026-04-09 23:56:08 +08:00
732b3f4a0a fix windows 2026-04-09 17:55:21 +08:00
f5e1cfff67 fix allow_routing AtomicBool bug 2026-04-02 16:46:36 +08:00
74a549dea9 command ack for ExitNode setting 2026-04-02 16:45:31 +08:00
240b60636f changed the verification from ip to domain 2026-03-31 15:37:56 +08:00
4aa6406428 changed to new message.proto, which eliminates the pkt_id 2026-03-30 17:17:50 +08:00
2cff146f8c message downcast ok 2026-03-26 20:40:42 +08:00
e2d5b465f7 remove some println and daemonize 2026-03-26 20:01:21 +08:00
caf62fe079 merge cookie_match and packet_id_match to one 2026-03-26 19:58:47 +08:00
be401afc7b packet id match is merged to cookie_match 2026-03-26 19:50:15 +08:00
b10c721179 changed encryptor to ArcSwap 2026-03-26 10:52:16 +08:00
9cba4a976d added route table 2026-03-25 16:35:11 +08:00
1f46a15b11 acl check 2026-03-24 15:55:21 +08:00
2261d83e18 added acl in utils 2026-03-24 14:39:30 +08:00
78351e0493 musl version 2026-03-20 16:19:54 +08:00
372afd470b token login 2026-03-18 22:36:51 +08:00
c6df26ac85 fix some warnings 2026-03-18 16:37:40 +08:00
fbe2aa12fb windows, and tun, and tap are supported 2026-03-18 16:32:21 +08:00
33a995e7dd fix key is not set bug 2026-03-18 16:09:59 +08:00
321146f6ac chacha20 is supported, need test aes 2026-03-18 15:58:28 +08:00
fa8a60a737 chacha20 and aes is supported, need further test 2026-03-18 11:48:41 +08:00
5249a271c5 punchnet 1.0.1 is ok, no permission is checked 2026-03-18 10:59:23 +08:00
814ab9181a added query for info 2026-03-12 11:40:56 +08:00
de8bf7cd31 daemonize is added to unix 2026-03-10 19:14:41 +08:00
46536fc587 ignore quic server ca.crt 2026-03-10 15:47:16 +08:00
a52df35198 cmdline's tcp name is changed to quic 2026-03-10 15:39:42 +08:00
50db315c79 no identity id is checked 2026-03-10 15:13:38 +08:00
c8c618015a changed the daemonize 2026-03-07 16:17:05 +08:00
651b9ba5cd construct the arp response while SdlArpResponse arrived 2026-03-07 15:42:35 +08:00
46170feb5b encode_to_tcp_message, changed the packet_id to the struct, not the parameter of the function 2026-03-06 16:21:39 +08:00
31845c6707 added policy request and response, need test tomorrow 2026-03-05 22:53:42 +08:00
e8e8655100 cached login info, and connect info is accessed while connect 2026-03-02 16:12:19 +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
9d52223f84 added api request with reqwest 2026-02-26 10:58:15 +08:00
be71e8404a fix windows and tun's data 2026-02-25 16:06:44 +08:00
13c287e089 session token is received from RegisterSuperACK 2026-02-25 15:33:30 +08:00
6f895c3404 changed to new message.proto, and use Bytes for SDLData's data 2026-02-25 15:30:26 +08:00
c5b04eb843 fix some warning 2026-01-16 16:33:25 +08:00