Commit Graph

54 Commits

Author SHA1 Message Date
liuwentan
9cdc57eaa7 [PACKET_IO]fix read pcap directory bug 2022-08-31 22:06:30 +08:00
liuwentan
df25dd5826 [PACKET_IO]add gtest case 2022-08-31 22:05:52 +08:00
liuwentan
cb93ac4da0 [PACKET_IO]install net-tools for gtest network 2022-08-31 22:05:46 +08:00
liuwentan
9a416c4879 [PACKET_IO]install iproute for gtest network 2022-08-31 22:05:45 +08:00
liuwentan
acdb2e0ce5 [PACKET_IO]fix ip forward config 2022-08-31 22:05:37 +08:00
liuwentan
bf54f94474 [PACKET_IO]fix gtest bug 2022-08-31 22:05:36 +08:00
liuwentan
e1c9e4e581 [PACKET_IO]remove error config 2022-08-31 22:05:26 +08:00
liuwentan
c461ca3837 [PACKET_IO]fix pcap file mode counter bug 2022-08-31 22:04:56 +08:00
liuwentan
90b359ed40 [PACKET_IO]format api style 2022-08-31 22:04:05 +08:00
liuwentan
90542cec2d [PACKET_IO]fix coredump for large packets 2022-08-31 22:02:49 +08:00
liuwentan
5c7c2a4052 [PACKET_IO]add ip hash func 2022-08-31 22:01:12 +08:00
luwenpeng
0ed9a0ccca plugin_manager adapt session_manager API and rewrite plugin_manger gtest 2022-08-31 10:05:58 +08:00
liuxueli
e3ea4d0729 update session manager interface definition; define ex_data interface; delete the event design 2022-08-25 19:17:23 +08:00
luwenpeng
9cfa120ae7 feature: http decoder
* support parser uncompress request/response
    * define public API interface
2022-08-19 16:46:15 +08:00
luwenpeng
b9d93e042b rename fn_session_event_callback to plugin_event_callback and update API parameters
* plugin_event_callback delete 'struct stellar_packet *p'
    * plugin_event_callback rename 'uint16_t len' to 'size_t len'
    * plugin_event_callback rename 'void **pme' to 'void **ctx'
2022-08-16 11:07:29 +08:00
liuwentan
4005e8d716 [PACKET_IO]format code style 2022-08-11 11:18:14 +08:00
liuwentan
b471a6eac4 [CIFIX]fix ci error 2022-08-11 10:57:46 +08:00
liuwentan
85c28ff17e [CIFIX]add extern 'C' in C++ code 2022-08-11 10:50:41 +08:00
liuwentan
14703ec4b4 [CIFIX]fix ci build error 2022-08-11 10:00:02 +08:00
liuwentan
1d7b9d8c94 Merge branch develop-0.0 2022-08-11 09:38:38 +08:00
liuwentan
e5146a6cbe [PACKET_IO]format code style 2022-08-10 10:21:07 +08:00
liuwentan
a93ffa9078 [PACKET_IO]format code style 2022-08-10 10:20:12 +08:00
luwenpeng
9df6bf07af Modify the implementation of the plugin manager take over
A plugin that is taken over, if the plugin was called before being taken over
    and has a registered SESSION_EVENT_CLOSING event,
    it will be called again when the SESSION_EVENT_CLOSING event comes.
    Otherwise, the plugin will not be called.
2022-08-10 10:19:22 +08:00
liuwentan
873b25794b [PACKET_IO] add function for operating packets 2022-08-09 18:32:25 +08:00
liuwentan
c2d5b9cdb7 [PACKET_IO] add pio_packet structure for pcap_live/pcap_file mode 2022-08-09 15:58:46 +08:00
luwenpeng
0f7468b994 Refactored pm_session_dettach_others to pm_session_take_over 2022-08-08 16:25:15 +08:00
liuwentan
7442cb09d5 [PACKET_IO] finish pcap live mode 2022-08-05 18:32:54 +08:00
luwenpeng
fd2a67e0eb bugfix CI 2022-08-05 18:25:06 +08:00
luwenpeng
8c85079603 Add CI autotest and Fix compile warning 2022-08-05 12:55:08 +08:00
liuwentan
9cf895fa07 [PACKET_IO] finish pcap_file mode 2022-08-05 11:03:11 +08:00
luwenpeng
209d7ea7cd Update uthash v2.3.0 open source code to deps directory 2022-08-05 10:24:10 +08:00
luwenpeng
772f4d8bd8 Add timeout open source code to deps directory 2022-08-04 18:07:34 +08:00
luwenpeng
e9e4e6b4bf Add sds open source code to deps directory 2022-08-04 18:00:40 +08:00
luwenpeng
5c790085eb Plugin management support pm_session_dettach_me and pm_session_dettach_others
Add test cases for pm_session_dettach_me and pm_session_dettach_others
2022-08-04 17:30:03 +08:00
luwenpeng
50111e7cd0 Plugin Management support C plugin 2022-08-02 18:50:17 +08:00
郑超
649d29e538 Update readme.md 2022-08-02 03:15:32 +00:00
liuwentan
2cccb3ec04 [PACKET_IO]unallocated memory related bugfix for marsio mode 2022-08-01 15:19:57 +08:00
liuwentan
523748e05a [PACKET_IO]marsio mode add pkt_free function 2022-07-29 17:29:33 +08:00
liuwentan
7a52bf3c60 [PACKET_IO]format comment 2022-07-29 15:41:09 +08:00
liuwentan
ee2513fde4 [PACKET_IO]bugfix for marsio mode 2022-07-29 13:31:09 +08:00
liuwentan
90b60f637e [PACKET_IO] finish marsio mode 2022-07-28 21:22:44 +08:00
liuwentan
536bf31be1 [PAKCET_IO] framework intermediate state <the second time> 2022-07-28 20:30:48 +08:00
liuwentan
7ae4ca2e2a [PAKCET_IO] framework intermediate state 2022-07-28 15:12:46 +08:00
luwenpeng
61e3c264f3 Refactored plugin management interface 2022-07-27 15:57:43 +08:00
yangwei
dd54381cb0 📃 docs(readme): update stellar-high-level-design.svg 2022-07-27 14:48:50 +08:00
yangwei
4735a8073a 🦄 refactor(plugin manager): Updating interface definitions 2022-07-27 14:17:49 +08:00
zhengchao
717f52e4c1 Add readme.md 2022-07-27 14:17:49 +08:00
yangwei
7a3bc7a888 🦄 refactor(plugin manager): update interface definition 2022-07-27 14:17:49 +08:00
yangwei
ba866fef10 feat(session_manager): init return with handle 2022-07-27 14:17:49 +08:00
yangwei
6f558132a1 rename packet_io_loop to stellar_event_base_loop 2022-07-27 14:17:49 +08:00