47 Commits

Author SHA1 Message Date
dd08d4e6d0 fix some comment 2024-03-30 22:40:51 +08:00
5f94c8d6a0 net_bit_len_to_mask 2024-03-30 16:16:19 +08:00
0654985a2f debuging 2024-03-29 23:35:26 +08:00
726e30610d change some thing with sdlan 2024-03-26 15:57:38 +08:00
50c874e542 added token in common 2024-03-17 23:27:27 +08:00
6e66713b43 packet struct 2024-03-07 22:53:45 +08:00
42f3da666b added packet_id to common 2024-03-05 15:37:24 +08:00
7eecea4eb6 added FEDERATION flag 2024-03-02 12:14:53 +08:00
9ba68c9c39 chnaged the log's api 2024-03-01 15:38:16 +08:00
771bfc83cb mysql document 2024-03-01 12:22:55 +08:00
a05406bcb5 update log 2024-02-29 22:11:18 +08:00
975ce4e1fd changed register_super's pub_key from &str to String, for the escaped data 2024-02-29 15:18:29 +08:00
76162852a3 added SDLAN_FLAGS_HAS_V6 flag 2024-02-27 15:21:43 +08:00
7c37dd1f9e packet 2024-02-27 15:02:46 +08:00
a81f7cd8f9 chagned the packet marshal and unmarshal 2024-02-27 15:02:10 +08:00
b7adef51e8 changed the packet document 2024-02-27 10:36:51 +08:00
cd4fc9b218 rsa and doc 2024-02-26 14:05:43 +08:00
067c15e5d6 register super 2024-02-26 12:12:19 +08:00
1339d30cc4 changed network from DashMap to MyDashMap 2024-02-24 09:35:07 +08:00
939a0514db register and register ack 2024-02-23 14:08:29 +08:00
7e80578038 added register packet handle 2024-02-22 16:20:30 +08:00
60ae19cfcf add protocol 2024-02-22 12:41:48 +08:00
4c6e226b7a fix key size error bug 2024-02-22 12:22:20 +08:00
6c2d0f4608 remove unused 2024-02-21 22:39:12 +08:00
e294bdd386 changed Mutex to RwLock 2024-02-21 21:59:18 +08:00
a3b808cc29 AF_INET 2024-02-21 16:46:20 +08:00
d915e75e12 added packet and changed sdlansock struct 2024-02-21 16:41:27 +08:00
46d44e9f96 added encrypt encode and decode 2024-02-21 12:37:44 +08:00
ecf99847eb changed peer's uuid from struct to outer 2024-02-21 10:50:07 +08:00
7b7ae4b5f5 IpSubnet and SdlanSock's sqlx try_from 2024-02-20 17:04:20 +08:00
84330922b5 peer info 2024-02-19 23:10:59 +08:00
c12d62e4b1 moved the sdlan-sn and sdlan to the outer workspace 2024-02-19 15:10:05 +08:00
e2aa6c9eb4 sqlx mysql 2024-02-19 12:11:24 +08:00
39643f6466 added scripts 2024-02-19 09:13:43 +08:00
42d9c3125f warning 2024-02-18 21:49:58 +08:00
209b870942 added commandline parse, use structopt 2024-02-18 21:47:43 +08:00
cb251fba8a parse subnet 2024-02-18 21:19:10 +08:00
9700539833 created MyDashMap wrapper 2024-02-18 15:22:13 +08:00
6f20497305 supernode related 2024-02-18 12:03:06 +08:00
96d2b32284 added aes and rsa 2024-02-18 10:03:33 +08:00
777bf2ef1d changed the protocol 2024-02-17 23:16:04 +08:00
a100c64e4c fix typo 2024-02-17 11:47:55 +08:00
f67204c2c8 Option serde for socket 2024-02-17 11:15:44 +08:00
e6a5f2b459 readme 2024-02-17 11:03:53 +08:00
0d9b91aa4d gitignore 2024-02-17 11:02:35 +08:00
bae3a6a397 document protocol header 2024-02-17 11:01:32 +08:00
8647b0435a added packet test 2024-02-17 10:27:13 +08:00