54 Commits

Author SHA1 Message Date
2774431d49 merge .mac to .config json file 2026-04-09 23:56:08 +08:00
4aa6406428 changed to new message.proto, which eliminates the pkt_id 2026-03-30 17:17:50 +08:00
b10c721179 changed encryptor to ArcSwap 2026-03-26 10:52:16 +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
fbe2aa12fb windows, and tun, and tap are supported 2026-03-18 16:32:21 +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
50db315c79 no identity id is checked 2026-03-10 15:13:38 +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
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
c5b04eb843 fix some warning 2026-01-16 16:33:25 +08:00
c2a3048427 fix some warning, and tested with mac 2025-10-23 17:35:41 +08:00
9a72c29870 punchnet renamed 2025-09-30 11:31:05 +08:00
7fa2ffa04d changed mode 2025-05-12 10:37:16 +08:00
6e8f4583d6 fix warning 2025-02-06 10:50:49 +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
c098a3c421 changed the message's proto, added nat_type for send_register event 2024-11-25 15:50:55 +08:00
b51c78bdfb guess port at -10 to 10 2024-11-13 19:24:33 +08:00
f3cbc1def2 register with local peers, broadcast mac 2024-10-26 11:33:15 +08:00
2b8a536151 skip REGISTER SUPER and REGISTER from self 2024-10-26 10:53:58 +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
7c4bb64bd4 changed to handle_packet 2024-10-23 16:22:52 +08:00
6dd3d8694c added crc after the ether packet 2024-10-23 11:29:41 +08:00
1a5e1d8be3 tap is ok 2024-10-22 21:05:46 +08:00
c130dcc83e srcmac reply 2024-10-22 16:14:34 +08:00
53b0be35a7 src changed to dst 2024-10-22 16:09:31 +08:00
893eef5871 packet 2024-10-22 15:48:10 +08:00
32bbdc4f78 arp reply encrypt 2024-10-22 15:14:03 +08:00
af56edd331 dst mac 2024-10-22 11:01:52 +08:00
3e4fe82a59 changed arp 2024-10-22 11:00:44 +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
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
8f365e32db changed the register_with_local_peers 2024-07-16 16:21:37 +08:00
8e05cb0ce0 display socket multicast 2024-07-16 15:11:58 +08:00
5b32c51936 multicast 2024-07-15 23:04:43 +08:00
b1a469aec7 local multicast test2 2024-07-15 20:10:06 +08:00
fccb3e9877 register with local peers test 2024-07-15 20:07:39 +08:00
b59570b297 added CommandLineInput 2024-07-15 19:47:27 +08:00