Commit Graph

59 Commits

Author SHA1 Message Date
luwenpeng
169607cd1e refactor: rename stellar dir to core 2024-08-16 17:29:12 +08:00
luwenpeng
839e848473 refactor: move packet_ldbc_hash to packet.cpp 2024-08-16 17:11:40 +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
d2de4bd328 refactor: move duplicated_packet_filter to packet dir 2024-08-16 11:43:45 +08:00
luwenpeng
42f44b53b1 bugfix: packet parser adds checks for packets with UDP port 2152 but not GTP-U 2024-08-14 17:25:46 +08:00
luwenpeng
03468d55be refactor: packet dump utils 2024-08-13 10:24:26 +08:00
luwenpeng
8054b9c032 feature: support crafting L3 packets with L3 payload 2024-08-12 10:51:02 +08:00
luwenpeng
776090331e feature: add debug_plugin for development debugging 2024-08-01 11:49:45 +08:00
luwenpeng
18153550d9 test: add imitate_udp_packet test case (UDP over GER, with GRE payload length, with UDP payload) 2024-07-30 18:21:51 +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
9e338ffccb feature: add GRE utils, support overwrite checksum of GTPv0/GTPv1 header 2024-07-11 14:26:19 +08:00
luwenpeng
6d552acfd0 Optimize GTP utility functions 2024-07-11 14:20:23 +08:00
luwenpeng
a7a432f266 test: add imitate_tcp_packet test case (TCP over GTP, with TCP payload) 2024-07-09 11:47:09 +08:00
luwenpeng
c87ad330e0 feature: add GTP utils, support overwrite message length of GTP header 2024-07-09 11:17:03 +08:00
luwenpeng
b435ec2ea1 test: update imitate_tcp_packet test case 2024-07-04 17:37:54 +08:00
luwenpeng
5a540d542d test: add imitate_tcp_packet test case (TCP over IPv6 over IPv4, with TCP payload) 2024-07-03 15:22:47 +08:00
luwenpeng
e502b565e5 test: add imitate_tcp_packet test case (TCP over IPv4, with TCP options, with TCP payload) 2024-07-03 10:21:18 +08:00
luwenpeng
5591227b9a test: change the name of the packet test case 2024-07-02 10:09:54 +08:00
luwenpeng
71422ebb36 refactor: packet module (split to parse/build/layer/tunnel/utils) 2024-06-24 17:07:05 +08:00
luwenpeng
d8963af5f8 Add packet_build.cpp support imitate_tcp_packet() / imitate_udp_packet() 2024-06-24 14:31:22 +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
luwenpeng
1f78881cbb rename struct packet_layer to struct raw_layer 2024-06-14 10:58:40 +08:00
luwenpeng
01958b56c5 rename layer_type to layer_proto 2024-06-12 18:21:45 +08:00
luwenpeng
4c0ad823d4 Add L2TP utils 2024-06-07 14:47:38 +08:00
luwenpeng
a50ecb3dbb Add GRE utils 2024-06-05 16:44:32 +08:00
luwenpeng
3ce5ed11db Add VXLAN utils 2024-06-05 14:36:04 +08:00
luwenpeng
bb469ca1ed Add VLAN utils 2024-06-05 12:06:34 +08:00
luwenpeng
a1e693a735 Refactoring the MPLS utils 2024-06-05 10:40:51 +08:00
luwenpeng
18fe1e2e41 Add support for parsing PW Ethernet and Enhanced MPLS parsing 2024-06-02 00:07:33 +08:00
luwenpeng
f3b92a8a15 Add support for parsing PPP headers with variable lengths 2024-05-31 17:00:45 +08:00
luwenpeng
54385ed08b When the packet length is greater than the IP expected length, the padding data at the end of the frame will be trimmed. 2024-05-24 19:10:33 +08:00
luwenpeng
6c1f9d390c packet parser support L2TPv2 2024-05-24 16:14:20 +08:00
luwenpeng
be9a68935b Update the format of tuple to string output 2024-05-20 15:44:04 +08:00
luwenpeng
74f0504d3d Update Stellar export header and add stellar_get_current_thread_index() function 2024-04-23 14:38:58 +08:00
luwenpeng
8a41a79f06 Add support for parsing ICMP and ICMPv6 packets in packet parser 2024-04-22 16:38:24 +08:00
luwenpeng
24e109e34f Export tuple.h / packet.h / session.h to the include directory 2024-04-10 15:37:42 +08:00
luwenpeng
a509f0ce3b Update API of manipulation session 2024-04-01 17:15:19 +08:00
luwenpeng
512dfddd03 reactor packet I/O & duplicated packet filter & evicted session filter 2024-03-10 19:07:26 +08:00
luwenpeng
d7370e0e19 rename xxx_tostring() -> xxx_to_str() 2024-03-08 13:43:03 +08:00
luwenpeng
7952ae7283 Add packet IO module
* support marsio
    * support dumpfile ( 1 thread read dumpfile & N thread handle packet)
2024-02-28 16:31:26 +08:00
luwenpeng
2e748e0821 add IPv4 & IPv6 frag reassemble test case 2024-02-26 16:21:25 +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