Commit Graph

87 Commits

Author SHA1 Message Date
luwenpeng
3636406c91 enhance: session manager stat add tcp_segs_consumed 2024-08-21 18:18:42 +08:00
luwenpeng
aed2daa1a4 feature: support outputting stderr and file logs at the same time 2024-08-21 18:18:42 +08:00
luwenpeng
f2f5441b4c refactor: rename packet_dump_stdio() to packet_print() 2024-08-21 18:18:42 +08:00
luwenpeng
a0fb57e843 refactor: update packet get layer/tunnel API 2024-08-21 18:18:13 +08:00
luwenpeng
1aece166cd refactor: rename struct raw_layer to struct layer_private 2024-08-21 18:18:12 +08:00
luwenpeng
b0b699e47b refactor: rename session_utils.cpp to session.cpp 2024-08-21 18:18:12 +08:00
yangwei
28936ec2ad feat(glimpse_detector test): enable test case 2024-08-21 18:04:16 +08:00
lijia
baefff5a16 enable http test case. 2024-08-21 10:05:10 +08:00
lijia
3cdfabb683 Adjust benchmark directory,enable HTTP test,rename variables,format codes 2024-08-21 09:38:18 +08:00
yangwei
dafbecd49a feat(integration decoders): http and glimpse_detector
compile pass, todo test
2024-08-21 09:38:18 +08:00
luwenpeng
b46a5d4b23 enhance: toml format 2024-08-20 19:23:18 +08:00
luwenpeng
29cbe532ef feature: packet I/O suppport dumpfile list mode 2024-08-19 18:40:49 +08:00
luwenpeng
520eb085b8 feature: stellar dev API support stellar_new()/stellar_run()/stellar_free()/stellar_loopbreak() 2024-08-19 17:28:45 +08:00
luwenpeng
60a4666427 refactor: move packet_layer / packet_tunnel to packet.cpp 2024-08-16 16:58:06 +08:00
luwenpeng
a2d68bb853 refactor: rename packet_utils.cpp to packet.cpp 2024-08-16 16:31:25 +08:00
luwenpeng
c298fdf289 refactor: mv eth/gre0/gre1/gtp1/gtp2/ip4/ip6/l2tp/mpls/tcp/udp/vlan/vxlan utils.h to packet_helper.h 2024-08-16 16:12:12 +08:00
luwenpeng
b36cd8cdad refactor: rename packet_def.h to packet_private.h 2024-08-16 15:13:37 +08:00
luwenpeng
4ee08c136a refactor: rename packet_craft.cpp/h to packet_builder.cpp/h 2024-08-16 14:15:03 +08:00
luwenpeng
ebf1dad62c refactor: rename packet_parse.cpp/h to packet_parser.cpp/h 2024-08-16 11:51:43 +08:00
luwenpeng
f4d437d58b refactor: rename id_generator to snowflake 2024-08-16 11:02:19 +08:00
luwenpeng
5c0a40638c refactor: move hexdump API to utils.h 2024-08-16 10:01:24 +08:00
luwenpeng
b0e08133b7 enhance: add configuration items to adjust the scheduling parameters of the main loop 2024-08-15 19:04:11 +08:00
luwenpeng
7e377952a2 enhance: debug plugin support log per session TCP segment 2024-08-14 17:25:46 +08:00
luwenpeng
6e1c25a445 optimizate: clean up unused code && code formatting 2024-08-14 17:25:46 +08:00
luwenpeng
d0abc8817b feature: debug plugin support output per session stat 2024-08-13 15:24:13 +08:00
luwenpeng
03468d55be refactor: packet dump utils 2024-08-13 10:24:26 +08:00
luwenpeng
ea0d743b1a fix: cppcheck 2024-08-12 17:49:58 +08:00
yangwei
6bb5c44ee3 🐞 fix(warning as error): fix unused parameter warning 2024-08-12 15:48:37 +08:00
yangwei
f1b3928c70 🔧 build(enable cppcheck on build): eliminate cppcheck error 2024-08-12 15:48:31 +08:00
yangwei
526171618f 🔧 build(compile Werror): reduce warning 2024-08-12 15:47:05 +08:00
yangwei
0c6b441157 🐞 fix(packet inject test): reduce compile warning 2024-08-12 15:45:50 +08:00
yangwei
21f6a8258b 🐞 fix(improve robustness, check input para): 2024-08-12 15:45:50 +08:00
yangwei
6786372449 feat(plugin manager integration): packet and session exdata&mq 2024-08-12 15:45:50 +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
776090331e feature: add debug_plugin for development debugging 2024-08-01 11:49:45 +08:00
luwenpeng
48202b4d0a config: adjust the number of maz entries per bucket for IP reassembly 2024-07-30 19:17:29 +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
c87ad330e0 feature: add GTP utils, support overwrite message length of GTP header 2024-07-09 11:17:03 +08:00
luwenpeng
2c0ec4072f enhance: imitate_tcp_packet() support setting tcp options 2024-07-02 17:55:55 +08:00
luwenpeng
761329e530 feature: support packet dump to pcap 2024-07-01 15:51:36 +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
83bffdd008 refactor stellar config 2024-06-25 19:12:21 +08:00
luwenpeng
076b3c7b0b refactor: session module (split to define/utils/pool/table/timer/transition/manager) 2024-06-25 10:32:51 +08:00
luwenpeng
71422ebb36 refactor: packet module (split to parse/build/layer/tunnel/utils) 2024-06-24 17:07:05 +08:00
luwenpeng
ffead24e45 Set the log.toml configuration file rpm install noreplace 2024-06-21 14:29:21 +08:00
luwenpeng
48428e52fe replace 'ifndef define' to 'pragam once' 2024-06-19 15:06:14 +08:00
luwenpeng
c3fd452793 Add test case for tunnel 2024-06-19 14:43:32 +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