Commit Graph

504 Commits

Author SHA1 Message Date
yangwei
3202b9ae31 🐞 fix(fix module_get_by_name bug): continue find when mod null 2024-11-27 19:37:03 +08:00
luwenpeng
10dc717b07 reset packet tags on packet exdata runtime new 2024-11-27 18:23:59 +08:00
luwenpeng
39948a23ad add PKT_TAG_VAL_SESS_RAWPKT and PKT_TAG_VAL_SESS_PSEUDOPKT; add session debugger module 2024-11-27 17:23:54 +08:00
yangwei
4e6f89dfe6 🧪 test(lpi plus): setup mkdir metrics 2024-11-27 15:37:11 +08:00
yangwei
e455954656 feat(register packet node logic): when register fail, continue 2024-11-27 14:46:53 +08:00
yangwei
bdc706280d 🧪 test(lpi plus test main): merge into gtest_main 2024-11-27 14:36:24 +08:00
yangwei
6b6b5e1eed 🦄 refactor(rename module_register_packet_node): to register_packet_node_for_module 2024-11-27 14:30:10 +08:00
luwenpeng
975b584b65 bugfix: packet manager get stage on polling 2024-11-27 13:43:54 +08:00
luwenpeng
035b393a94 bugfix: tcp segment free 2024-11-27 11:43:42 +08:00
luwenpeng
1e072950d7 refactor: use session_manager_discard_session() instead of session_set_discard() 2024-11-27 11:43:42 +08:00
luwenpeng
9ba56055b3 bugfix: sess_mgr->mod_mgr is NULL 2024-11-27 11:43:40 +08:00
yangwei
8e0afd9ab5 🧪 test(disable lpip test): temporary 2024-11-27 10:29:23 +08:00
yangwei
f80da6760d 🧪 test(enable lpi plus test): lpi test 2024-11-27 10:29:23 +08:00
yangwei
1b55f09ba7 🦄 refactor(register_node with module): last para from arg to module 2024-11-26 15:31:51 +08:00
yangwei
9895e93214 🦄 refactor(remove mq): remove mq in stellar 2024-11-26 14:44:44 +08:00
yangwei
78562a8dd8 feat(stellar core): module & node register in stellar_new 2024-11-26 14:37:05 +08:00
yangwei
1ddd1f6b78 🧪 test(utable exporter ): fix test case 2024-11-25 19:23:01 +08:00
yangwei
ca52d2fbc2 🐞 fix(utable): fix memleak in test case 2024-11-25 19:23:01 +08:00
yangwei
efefab9600 🐎 ci(cppcheck parameter): ignore mpack & yyjson 2024-11-25 19:23:01 +08:00
yangwei
73a8402a09 🦄 refactor(module manager): rename polling API 2024-11-25 19:23:01 +08:00
yangwei
ef5a65155b 🦄 refactor(module_manager ): new with hooks 2024-11-25 19:23:01 +08:00
yangwei
e277641440 feat(deps/utable): define kv in utable.h temporary 2024-11-25 19:22:41 +08:00
yangwei
4008363820 feat(define kv.h): include in .stellar/ 2024-11-25 19:22:20 +08:00
yangwei
1199e9d83f feat(integrate utable): deps/utable 2024-11-25 19:22:19 +08:00
luwenpeng
cce1155ae3 session manager add packet_tag: (PKT_TAG_KEY_SESS, PKT_TAG_VAL_SESS_NEW/FREE/CTRL_MSG/TCP_STREAM) 2024-11-25 11:27:44 +08:00
luwenpeng
efc6f46ca0 support packet_manager_register_node(), remove packet_manager_subscribe() 2024-11-22 15:30:53 +08:00
luwenpeng
6c9e6e3fbe support packet_tag_set/get() 2024-11-22 10:41:15 +08:00
luwenpeng
5dbaa67160 add packet_tag.h 2024-11-22 10:19:05 +08:00
luwenpeng
601af3330d If a packet is marked as dropped, the packet manager will destroy it and its exdata at the end of the current stage, preventing it from entering the next stage. 2024-11-21 11:41:27 +08:00
luwenpeng
b76949b0e4 export symbol session_manager_lookup_session_by_packet/id() 2024-11-19 18:54:04 +08:00
luwenpeng
c2e9275a9e remove session_manager_subscribe_xxx() API; convert session closing events to pseudo packets
when a session is closed, use the packet manager to create a pseudo packet,
    set the session to be closed as packet Exdata, and schedule it to the packet forwarding stage.
    when the pseudo packet free, the session will be free.
2024-11-19 18:28:40 +08:00
luwenpeng
746d7fca06 when packet be claimed, clean the packet exdata 2024-11-18 15:42:47 +08:00
luwenpeng
a473c2922d feature: packet manager support build packet 2024-11-18 15:24:38 +08:00
luwenpeng
492a7fb8ea add packet type raw and pseudo 2024-11-13 14:43:38 +08:00
luwenpeng
8349a631e1 rename: update session pool and packet pool API names for clarity 2024-11-08 19:17:23 +08:00
luwenpeng
d0a8685914 feature: add session monitor, support 'show session id/all/info' command 2024-11-07 19:13:35 +08:00
luwenpeng
50a841919d rename session_filter to session_dabloom 2024-11-07 19:11:49 +08:00
luwenpeng
e93480d05d rename packet_filter to packet_dabloom 2024-11-07 19:09:26 +08:00
lijia
e734af76d8 rebase onto develop-2.0 2024-11-07 18:30:58 +08:00
yangwei
99a68d5c9e 🦄 refactor(lpi plus): update api in lpi_plus.h 2024-11-06 16:34:26 +08:00
yangwei
526c110868 🦄 refactor(appid api): remove appid module 2024-11-06 13:53:03 +08:00
luwenpeng
8ddef31bb5 bugfix: if miss TCP SYN packet, use TCP SYN-ACK packet init C2S tcp reassembly recv_next 2024-11-05 16:14:02 +08:00
yangwei
7f81e46522 🦄 refactor(stellar_module to module): simplify stellar module to module 2024-11-05 10:22:22 +08:00
luwenpeng
a415794428 bugfix: packet IO load marsio config 2024-11-01 17:04:42 +08:00
luwenpeng
021042b752 clean include/stellar/stellar.h, remove unused API 2024-11-01 15:56:29 +08:00
luwenpeng
f9de6019a8 rename session_get0_readable_addr() to session_get_readable_addr() 2024-11-01 15:37:26 +08:00
luwenpeng
da9e15264d rename session_get0_current_packet() to session_get_current_packet() 2024-11-01 15:36:18 +08:00
luwenpeng
c05d3fe2d5 rename struct tcp_segment_private to struct tcp_segment_internal 2024-11-01 15:35:03 +08:00
luwenpeng
715f301275 rename struct layer_private to struct layer_internal 2024-11-01 15:35:03 +08:00
luwenpeng
159ad20ea5 packet manager support output fieldstat 2024-11-01 15:34:30 +08:00