Commit Graph

39 Commits

Author SHA1 Message Date
luwenpeng
e8e60cee6d Refactor TCP reassembly, the session knows where the TCP segment comes from: raw packet or tcp segment queue 2024-04-03 15:45:08 +08:00
luwenpeng
a509f0ce3b Update API of manipulation session 2024-04-01 17:15:19 +08:00
luwenpeng
772860c1be Update session timer 2024-03-29 19:49:01 +08:00
luwenpeng
8e527a0f4c Replace session queue with kernel list 2024-03-29 17:45:41 +08:00
luwenpeng
6e422ecb8d Update session timeouts 2024-03-29 16:32:16 +08:00
luwenpeng
eb281ab789 session manager support tcp reassembly 2024-03-26 15:09:03 +08:00
luwenpeng
1cdbb7c2a4 Add session state 'discard' 2024-03-15 17:02:12 +08:00
luwenpeng
ce00122557 Refactor the session manager using session transformation 2D array & Update test case 2024-03-14 18:03:34 +08:00
luwenpeng
639614622b update session_manager_stat 2024-03-11 15:04:18 +08:00
luwenpeng
512dfddd03 reactor packet I/O & duplicated packet filter & evicted session filter 2024-03-10 19:07:26 +08:00
luwenpeng
ee35a26a9d update stellar thread main loop 2024-03-08 18:10:38 +08:00
luwenpeng
734f6a5135 rename config -> options 2024-03-08 14:51:21 +08:00
luwenpeng
d0914483bb rename counter -> stat 2024-03-08 14:25:01 +08:00
luwenpeng
c945931620 rename xxx_create() / xxx_destory() -> xxx_new() / xxx_free() 2024-03-08 14:20:36 +08:00
luwenpeng
d7370e0e19 rename xxx_tostring() -> xxx_to_str() 2024-03-08 13:43:03 +08:00
luwenpeng
31c9303a93 bugfix: reasion -> reason 2024-03-08 13:33:49 +08:00
luwenpeng
5cd0571b4d support IPv4 & IPv6 frag reassemble 2024-02-22 18:52:04 +08:00
luwenpeng
5e5ac458f2 update IPv6 utils 2024-02-21 15:06:48 +08:00
luwenpeng
bd3735d3c4 update IPv4 utils 2024-02-21 14:34:34 +08:00
luwenpeng
97ef872d9a add session id generator 2024-01-31 18:55:06 +08:00
luwenpeng
3575cf9367 add test case: overload evict udp (old/new) session 2024-01-26 14:23:57 +08:00
luwenpeng
6050d15e29 add test case: overload evict tcp (old/new) session 2024-01-26 14:13:54 +08:00
luwenpeng
5ba0e4bb3b session manager add udp eviction filter test case 2024-01-25 18:35:31 +08:00
luwenpeng
2cef03eee2 session manager add tcp dupkt filter test case 2024-01-25 17:19:57 +08:00
luwenpeng
d3367fc86a add timeout test case
tcp timeout init (SYN / SYNACK)
    tcp timeout handshake
    tcp timeout data
    tcp timeout half closed (session opening / session active)
    tcp timeout time wait
    udp timeout data (session opening / session active)
2024-01-25 16:09:13 +08:00
luwenpeng
3f1a1f3fc3 add udp init -> opening -> active -> closing -> closed test case 2024-01-24 16:45:24 +08:00
luwenpeng
5a3179044d add udp init -> opening test case 2024-01-24 12:04:20 +08:00
luwenpeng
bbec791d6b add tcp init -> opening -> active -> closing -> closed test case 2024-01-24 11:25:33 +08:00
luwenpeng
73b2bce8cf add tcp opening -> closing test case 2024-01-24 10:08:15 +08:00
luwenpeng
62b61fcc8d add tcp active -> closing test case 2024-01-23 18:23:56 +08:00
luwenpeng
0df12ed331 add tcp opening -> active test case 2024-01-23 14:56:59 +08:00
luwenpeng
1f668b1a01 update session finite state machine & add tcp init -> opening test case 2024-01-23 14:30:46 +08:00
luwenpeng
4fbafab4e3 session manager: support session timeouts & tcp dupkt filter & udp eviction filter 2024-01-18 14:34:55 +08:00
luwenpeng
8f685bc018 rename security_zone to domain 2024-01-15 14:31:38 +08:00
luwenpeng
a045c04f8d session manager not trigger event 2024-01-15 11:21:11 +08:00
luwenpeng
37f4680dbc Add stellar thread cycle 2024-01-09 18:03:24 +08:00
luwenpeng
6b3fc4b560 Add Packet/IPv4/TCP/UDP helpers API 2024-01-03 16:20:27 +08:00
luwenpeng
b353c9c824 Split session_manager_dispatch into session_manager_dispatch and session_manager_expire 2023-12-22 18:57:39 +08:00
luwenpeng
6ed321caea Move test cases to test dir 2023-12-22 16:03:22 +08:00