Commit Graph

41 Commits

Author SHA1 Message Date
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
e455954656 feat(register packet node logic): when register fail, continue 2024-11-27 14:46:53 +08:00
yangwei
6b6b5e1eed 🦄 refactor(rename module_register_packet_node): to register_packet_node_for_module 2024-11-27 14:30:10 +08:00
yangwei
f80da6760d 🧪 test(enable lpi plus test): lpi test 2024-11-27 10:29:23 +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
ef5a65155b 🦄 refactor(module_manager ): new with hooks 2024-11-25 19:23:01 +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
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
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
021042b752 clean include/stellar/stellar.h, remove unused API 2024-11-01 15:56:29 +08:00
luwenpeng
159ad20ea5 packet manager support output fieldstat 2024-11-01 15:34:30 +08:00
luwenpeng
89971d4b0a packet IO support output fieldstat 2024-11-01 15:34:07 +08:00
luwenpeng
e2c212fb71 move stellar/packet_manager.h into stellar/packet.h 2024-10-25 13:19:58 +08:00
luwenpeng
3f3059b40f refactor: packet manager and session manager add on_thread_init/on_thread_exit entry 2024-10-23 10:10:15 +08:00
luwenpeng
fd3cc20554 feature: packet IO support IP reassembly 2024-10-21 10:49:41 +08:00
yangwei
a7b79a0e22 feat(module manager): add thread_init and thread_exit API 2024-10-18 16:25:39 +08:00
yangwei
6e7bb30630 🦄 refactor(polling manager): merge polling into module manager 2024-10-18 11:16:42 +08:00
杨威
70d21f28c3 Rebase dev 2.0 2024-10-11 06:08:50 +00:00
luwenpeng
2e35a79528 Export the packet manager runtime API for easier testing 2024-10-10 09:55:00 +08:00
luwenpeng
9e954386fd Refactored packet IO to use packet_manager_schedule_packet() instead of stellar_send_build_packet() to send user-built packets 2024-10-09 11:53:10 +08:00
luwenpeng
0f082d975e stellar registers packet_manager as a module; session_manager registers polling callback 2024-10-09 10:02:42 +08:00
yangwei
d9d9b4728d feat(module manager API): add stellar_module_manager_get_logger 2024-09-29 14:23:26 +08:00
yangwei
7aeb5949ee feat(polling in stellar core): worker thread call polling_dispatch 2024-09-27 09:15:26 +08:00
luwenpeng
b3ddebf770 refactor(main loop): compiled 2024-09-20 18:41:32 +08:00
luwenpeng
94f1913e3e refactor(session manager): turning the session manager into a stellar module 2024-09-20 17:06:10 +08:00
luwenpeng
620019cf8e refactor(session manager): rename original session_manager to session_manager_runtime 2024-09-20 16:59:19 +08:00
luwenpeng
aedc675c34 rename packet_io_input/output to packet_io_ingress/egress 2024-09-20 16:59:19 +08:00
luwenpeng
3dafe5393f rename log_private.h to log_internal.h 2024-09-20 16:59:19 +08:00
luwenpeng
46307bb271 rename session_private.h to session_internal.h 2024-09-20 16:59:19 +08:00
luwenpeng
bf8ba97165 rename packet_private.h to packet_internal.h 2024-09-20 16:59:19 +08:00
yangwei
76796a6c3d 🌈 style(stellar core): remove useless code 2024-09-19 15:58:39 +08:00
yangwei
1f55a6f240 feat(module manager): from plugin manager to module manager 2024-09-14 12:18:26 +08:00
yangwei
e9825c3988 🦄 refactor(stellar api): split exdata and mq 2024-09-10 14:44:38 +08:00
yangwei
6403e832de feat(stellar_mq subscribe api): replace cb_arg with plugin_id 2024-09-10 09:05:37 +08:00
yangwei
a24214cbee feat(infra/exdata): exdata as independent component 2024-09-06 19:48:29 +08:00
yangwei
a36865275d 🧪 test(disable unpass test case): temporarily 2024-09-05 18:09:07 +08:00
yangwei
1bdfc4506c feat(plugin_manager): add session plugin with hook 2024-09-04 14:44:30 +08:00
luwenpeng
a8206cffc0 rename flow_direction to flow_type 2024-09-02 17:49:33 +08:00
luwenpeng
f8ec4dc5a7 move stellar_core/stellar_stat from core to infra 2024-09-02 16:55:02 +08:00