Commit Graph

42 Commits

Author SHA1 Message Date
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
ade7b4c8ab Add support for parsing Teredo IPv6 tunneling 2024-06-04 18:08:45 +08:00
luwenpeng
8c4f4c9f72 Add support for parsing IP Authentication Header 2024-06-04 15:48:34 +08:00
luwenpeng
ae2e36b382 Bugfix: packet parser
* Corrected the acquisition of GRE header length
    * Check whether the total length of IP is less than the length of IP header
2024-06-03 17:53:43 +08:00
luwenpeng
eb1056b4f9 Add IP proto utils function 2024-06-02 00:36:50 +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
2d958dbe07 bugfix: calculate L2TPv2 offset 2024-05-30 18:45:47 +08:00
luwenpeng
1a7f74025b packet parser suppoort skip IPv6 extension headers 2024-05-30 17:55:21 +08:00
luwenpeng
963aa259b1 Add tools packet_parser 2024-05-29 17:55:44 +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
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
17f5d338de Add packet utils to packet.h 2024-04-14 13:14:48 +08:00
luwenpeng
621a4cf292 Refactor Packet I/O 2024-04-11 10:55:06 +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
814a0d739f Add linux kernel interval tree 2024-03-27 17:16:59 +08:00
luwenpeng
36b9a8282a Add interval tree 2024-03-21 10:06:11 +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
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
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
03f428681e update TCP utils 2024-02-21 11:49:20 +08:00
luwenpeng
c37f9869a6 update UDP utils 2024-02-21 11:14:21 +08:00
luwenpeng
8f685bc018 rename security_zone to domain 2024-01-15 14:31:38 +08:00
luwenpeng
2aeb699359 Session manager add builtin ex data 2023-12-22 14:45:37 +08:00
luwenpeng
2c26879182 implementation session manager 2023-12-20 19:20:14 +08:00
luwenpeng
2e56bd810c Add packet helpers 2023-12-18 16:56:37 +08:00
luwenpeng
dda0cdf104 Add packet parser 2023-12-15 18:57:13 +08:00