Commit Graph

68 Commits

Author SHA1 Message Date
yangwei
1bdfc4506c feat(plugin_manager): add session plugin with hook 2024-09-04 14:44:30 +08:00
root
6f1ac6b36b add socks_decoder, stratum_decoder and session_flags 2024-09-03 07:01:58 +00:00
luwenpeng
a8206cffc0 rename flow_direction to flow_type 2024-09-02 17:49:33 +08:00
luwenpeng
f8ec4dc5a7 move stellar_core/stellar_stat from core to infra 2024-09-02 16:55:02 +08:00
lijia
94a75460e9 rename *.cpp to *.c; renmae API. move benchmarks/* to test/decoder/http; fix TSG-22347 2024-09-02 09:42:09 +08:00
yangwei
aa5c41e4d7 🦄 refactor(infra/log & http test case): mv log to deps/logger
trim http test case cmake
2024-08-30 15:04:46 +08:00
yangwei
b2647a5a75 🦄 refactor(plugin_manager): refactor intrinsic topic name 2024-08-28 19:58:28 +08:00
luwenpeng
283d591e6b fix compile error 2024-08-28 19:00:32 +08:00
luwenpeng
3e6b837318 export stellar_reload_log_level symbol 2024-08-28 18:05:39 +08:00
yangwei
16b18624ab 🦄 refactor(directory structure): restructure and rename src to infra 2024-08-28 14:52:26 +08:00
luwenpeng
2db9347109 rename log_level_check() to log_check_level() 2024-08-26 11:05:43 +08:00
luwenpeng
4e524a8781 logger changes from global static variables to one instance per stellar 2024-08-23 19:01:42 +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
a0fb57e843 refactor: update packet get layer/tunnel API 2024-08-21 18:18:13 +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
520eb085b8 feature: stellar dev API support stellar_new()/stellar_run()/stellar_free()/stellar_loopbreak() 2024-08-19 17:28:45 +08:00
luwenpeng
4ee08c136a refactor: rename packet_craft.cpp/h to packet_builder.cpp/h 2024-08-16 14:15:03 +08:00
luwenpeng
6e1c25a445 optimizate: clean up unused code && code formatting 2024-08-14 17:25:46 +08:00
yangwei
2d408b3503 feat(exdata & mq header): define default free_cb 2024-08-12 15:48:37 +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
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
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
ec38d90241 bugfix: PACKET_GETALL_TUNNELS 2024-07-01 14:17:07 +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
c3fd452793 Add test case for tunnel 2024-06-19 14:43:32 +08:00
luwenpeng
327d6e7b14 Support struct tunnel 2024-06-17 17:42:30 +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
8092b3a90e update inject packet API 2024-05-29 19:01:05 +08:00
luwenpeng
ba1e651876 build stellar and stellar-devel rpm 2024-05-29 16:14:38 +08:00
luwenpeng
f82b85c979 Optimize integration testing
- Add injection package plug-in
- Add libstellar_dynamic.so to facilitate unit testing of upper-level plug-ins
2024-05-28 14:30:42 +08:00
luwenpeng
94fc1af6bd Install header files during rpm install 2024-05-24 16:41:51 +08:00
luwenpeng
6c1f9d390c packet parser support L2TPv2 2024-05-24 16:14:20 +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