Commit Graph

26 Commits

Author SHA1 Message Date
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
03864c9731 Add state to the on_session_message parameter.
* When state is closed, it implies that packet is null and the session will be destroyed
2024-10-25 19:15:45 +08:00
luwenpeng
4061d5a942 move stellar/session_manager.h into stellar/session.h 2024-10-25 14:38:51 +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
yangwei
442586ef52 feat(plugin register): remove ip_proto in parameter 2024-09-06 19:48:29 +08:00
luwenpeng
a8206cffc0 rename flow_direction to flow_type 2024-09-02 17:49:33 +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
b50f0c2c70 optimizate: pass the current timeout to the ID generator as a parameter, instead of getting the time from the ID generator itself 2024-07-16 17:16:52 +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
10528bcfd3 remove tuple.h from include/stellar 2024-06-07 16:50:21 +08:00
luwenpeng
3701fc7361 Add session_set_discard 2024-05-20 17:02:16 +08:00
luwenpeng
be9a68935b Update the format of tuple to string output 2024-05-20 15:44:04 +08:00
luwenpeng
0e33a1b647 Resolve merge conflicts 2024-05-20 11:26:06 +08:00
yangwei
e0ec3f2d52 feat(plugin manager): integrated plugin manager, build success 2024-05-20 10:09:18 +08:00
luwenpeng
32ae4618ef Add support for TCP port reuse (same tuple6 but different ISN) in session manager: evict old session and create new session 2024-05-16 19:21:12 +08:00
luwenpeng
fdc65067b2 stellar support monotonic time and real time 2024-05-16 10:13:43 +08:00
luwenpeng
7b20747c8f Update session.h: support get tuple6 by session 2024-05-15 16:29:33 +08:00
luwenpeng
7f1e7a23de update debug API session_to_json 2024-05-09 17:40:14 +08:00
luwenpeng
13001003e2 Refactor enum session_stat with improved naming conventions 2024-05-09 16:32:45 +08:00
luwenpeng
cc380d9271 rename session_direction to flow_direction 2024-05-09 14:57:12 +08:00
luwenpeng
61ee619689 TCP reassembly add stat of TCP retransmit and TCP overlap 2024-05-06 17:33:02 +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