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
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
yangwei
7f81e46522
🦄 refactor(stellar_module to module): simplify stellar module to module
2024-11-05 10:22:22 +08:00
luwenpeng
e2c212fb71
move stellar/packet_manager.h into stellar/packet.h
2024-10-25 13:19:58 +08:00
luwenpeng
1e71122521
feature: session mananger publish ctrl message; Enhance session debugger module
2024-10-23 16:23:36 +08:00
luwenpeng
94f1913e3e
refactor(session manager): turning the session manager into a stellar module
2024-09-20 17:06:10 +08:00
luwenpeng
f559d67b93
test(packet manager): test packets flow between multiple queues
2024-09-18 14:36:31 +08:00
luwenpeng
06c498409f
feature: add packet_manager API definition
2024-09-13 18:07:40 +08:00
yangwei
6403e832de
✨ feat(stellar_mq subscribe api): replace cb_arg with plugin_id
2024-09-10 09:05:37 +08:00
luwenpeng
283d591e6b
fix compile error
2024-08-28 19:00:32 +08:00
luwenpeng
2634d70108
add support for retrieving pcap packet timestamps
2024-08-23 16:05:59 +08:00
luwenpeng
3014e0feef
refactor: move struct laye and struct tunnel to packet.h
2024-08-23 15:21:52 +08:00
luwenpeng
b9d6637800
refactor: move tcp_segment API from packet.h to stellar.h
2024-08-21 18:18:13 +08:00
luwenpeng
4ee08c136a
refactor: rename packet_craft.cpp/h to packet_builder.cpp/h
2024-08-16 14:15:03 +08:00
luwenpeng
8054b9c032
feature: support crafting L3 packets with L3 payload
2024-08-12 10:51:02 +08:00
luwenpeng
12975e2da7
Removed the ambiguous session_get0_current_payload() API. It is unclear whether the original packet payload or TCP reassembled payload is obtained.
...
It is recommended to:
* Use packet_get_payload() to obtain the original packet payload
* Use tcp_segment_get_data() to obtain the reassembled data
2024-08-01 15:48:27 +08:00
luwenpeng
07ce636f64
test: add imitate_tcp_packet test case (TCP over GREv0: GRE enable checksum)
2024-07-15 15:07:38 +08:00
luwenpeng
2c0ec4072f
enhance: imitate_tcp_packet() support setting tcp options
2024-07-02 17:55:55 +08:00
luwenpeng
3b376a3e46
support craft packet from scratch
2024-06-28 16:08:40 +08:00
luwenpeng
da9fb7cd11
optimizate inject packt test case
2024-06-27 16:00:12 +08:00
luwenpeng
d8963af5f8
Add packet_build.cpp support imitate_tcp_packet() / imitate_udp_packet()
2024-06-24 14:31:22 +08:00
luwenpeng
48428e52fe
replace 'ifndef define' to 'pragam once'
2024-06-19 15:06:14 +08:00
luwenpeng
de4c15f43c
Refactored packet API to support struct layer (using union to contain different types of encapsulation headers)
2024-06-14 19:24:27 +08:00
luwenpeng
1f78881cbb
rename struct packet_layer to struct raw_layer
2024-06-14 10:58:40 +08:00
luwenpeng
020c8303c6
rename packet_get_layers_number to packet_get_layer_count
2024-06-13 10:11:30 +08:00
luwenpeng
01958b56c5
rename layer_type to layer_proto
2024-06-12 18:21:45 +08:00
luwenpeng
10528bcfd3
remove tuple.h from include/stellar
2024-06-07 16:50:21 +08:00
luwenpeng
8c4f4c9f72
Add support for parsing IP Authentication Header
2024-06-04 15:48:34 +08:00
luwenpeng
18fe1e2e41
Add support for parsing PW Ethernet and Enhanced MPLS parsing
2024-06-02 00:07:33 +08:00
luwenpeng
6c1f9d390c
packet parser support L2TPv2
2024-05-24 16:14:20 +08:00
luwenpeng
cc380d9271
rename session_direction to flow_direction
2024-05-09 14:57:12 +08:00
luwenpeng
37d12ebcfc
inject TCP RST test pass
2024-05-08 18:24:26 +08:00
luwenpeng
611fda598f
Adjust thread index type to uint16 for future expansion & Organize stellar directory files
2024-04-25 18:17:20 +08:00
luwenpeng
74f0504d3d
Update Stellar export header and add stellar_get_current_thread_index() function
2024-04-23 14:38:58 +08:00