59 Commits

Author SHA1 Message Date
d0ec1e29c6 将chacha20的初始化放到结构体里面,以减少开销 2026-07-02 23:30:14 +08:00
eb18e2edde dns every 100 times or 60 seconds 2026-06-10 13:43:09 +08:00
87a3643d56 dns client, rotate every 60 seconds or 100 queries 2026-06-10 13:37:19 +08:00
a361675d73 ErrorReport added Clone 2026-05-04 16:12:39 +08:00
7767096909 added exclusive_tcp, and error_report 2026-05-04 15:47:30 +08:00
a3977ba52a fix access-token record error 2026-04-28 17:19:20 +08:00
503a9b9b6c added -f for foreground 2026-04-28 14:07:19 +08:00
f58ead2d29 removed some output and ipv6 2026-04-27 19:39:35 +08:00
520ab964f3 added --take-dns for take over dns 2026-04-27 14:51:13 +08:00
9d0a5289ea added exit-node list, exit-node start and exit-node stop 2026-04-25 00:45:39 +08:00
6e2376e3d0 added get_hostname for login and token-login 2026-04-23 10:57:32 +08:00
2101745c80 added support for linux 2026-04-23 10:40:47 +08:00
6874bc5291 windows default route 2026-04-22 23:27:56 +08:00
7e7a9ca2e6 route add 2026-04-20 16:30:54 +08:00
5136e9427b 添加dns解析,如果dns是punchsky.com(punchnet内部的域名),就转发给15353端口解析;其他的,就直接转发给ali dns 223.5.5.5:53解析 2026-04-14 23:34:46 +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
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
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
c6df26ac85 fix some warnings 2026-03-18 16:37:40 +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
814ab9181a added query for info 2026-03-12 11:40:56 +08:00
a52df35198 cmdline's tcp name is changed to quic 2026-03-10 15:39:42 +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
6f895c3404 changed to new message.proto, and use Bytes for SDLData's data 2026-02-25 15:30:26 +08:00
f9c33b564f fix warning and added myactor library 2026-01-15 16:27:18 +08:00
89f7db657d added start_with(out)_feedback's hostname 2025-12-25 22:19:25 +08:00
c2a3048427 fix some warning, and tested with mac 2025-10-23 17:35:41 +08:00
d9b1329e6a changed dependencies to gitea.s5s8, and added network_code in register super 2025-10-22 16:27:45 +08:00
9a72c29870 punchnet renamed 2025-09-30 11:31:05 +08:00
7fa2ffa04d changed mode 2025-05-12 10:37:16 +08:00
63805d9a47 fix nat probe's bug 2024-12-27 00:23:30 +08:00
69255d7907 add arp to waitlist 2024-10-25 16:41:02 +08:00
cb71c53102 fix warning 2024-10-25 11:01:02 +08:00
06d7819fd1 linux 2024-10-24 18:46:21 +08:00
6dd3d8694c added crc after the ether packet 2024-10-23 11:29:41 +08:00
302300294a tap mac 2024-10-22 10:12:08 +08:00