63 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
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
be401afc7b packet id match is merged to cookie_match 2026-03-26 19:50:15 +08:00
1f46a15b11 acl check 2026-03-24 15:55:21 +08:00
c6df26ac85 fix some warnings 2026-03-18 16:37:40 +08:00
fa8a60a737 chacha20 and aes is supported, need further test 2026-03-18 11:48:41 +08:00
a52df35198 cmdline's tcp name is changed to quic 2026-03-10 15:39:42 +08:00
31845c6707 added policy request and response, need test tomorrow 2026-03-05 22:53:42 +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
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
2096c3faac linux is ok for tun and tap 2025-12-24 22:15:52 +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
c2a3048427 fix some warning, and tested with mac 2025-10-23 17:35:41 +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
9a72c29870 punchnet renamed 2025-09-30 11:31:05 +08:00
7fa2ffa04d changed mode 2025-05-12 10:37:16 +08:00
4aa33a4e26 tap-test 2025-02-05 16:19:37 +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
240a3d263e ipv6 p2p is ok 2024-11-28 16:09:49 +08:00
b51c78bdfb guess port at -10 to 10 2024-11-13 19:24:33 +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
9b1710e590 message 2024-10-23 20:36:51 +08:00
6dd3d8694c added crc after the ether packet 2024-10-23 11:29:41 +08:00
3e4fe82a59 changed arp 2024-10-22 11:00:44 +08:00
302300294a tap mac 2024-10-22 10:12:08 +08:00
56d6a35fea fix all error 2024-10-21 09:23:29 +08:00
375a0671f8 tun 2024-08-30 16:07:06 +08:00
5fa882ec16 added ipv6 2024-07-25 20:44:11 +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
23c797920b added should_exit 2024-07-20 12:23:10 +08:00
b7f91f25f3 if nak is received, the disabled or invalid token will stop the tcp 2024-07-19 20:50:02 +08:00
bdde2cb99a support the feedback 2024-07-19 19:51:56 +08:00
5408cfa286 fix warning 2024-07-17 22:49:17 +08:00
733f93fe16 removed println 2024-07-16 23:41:30 +08:00
23a12e66f6 changed p2p registration 2024-07-16 22:31:34 +08:00
8e05cb0ce0 display socket multicast 2024-07-16 15:11:58 +08:00
49d8ca9375 added loop socket multicast 2024-07-16 14:37:14 +08:00