luwenpeng
|
f43da9002b
|
optimizate: rename IP type to address family
|
2024-07-25 18:29:57 +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
|
d31cfd02fd
|
feature: enhance packet parser to verify IPv4/IPv6 header versions
|
2024-07-12 14:17:20 +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
|
d816ad058f
|
bugfix: ensure packet_get_payload returns null when packet_get_payload_len is 0
|
2024-07-11 14:15:06 +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
|
2c0ec4072f
|
enhance: imitate_tcp_packet() support setting tcp options
|
2024-07-02 17:55:55 +08:00 |
|
luwenpeng
|
5591227b9a
|
test: change the name of the packet test case
|
2024-07-02 10:09:54 +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
|
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
|
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
|
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
|
e8c61a1752
|
Add test case: inject IPv4 based TCP payload packet after recv C2S first payload
|
2024-05-22 11:38:32 +08:00 |
|
luwenpeng
|
be9a68935b
|
Update the format of tuple to string output
|
2024-05-20 15:44:04 +08:00 |
|
luwenpeng
|
8d8a266f60
|
Optimize the output of log and stat
|
2024-05-16 11:52:14 +08:00 |
|
luwenpeng
|
b33dafff53
|
Add packet injector test frame
|
2024-05-15 14:48:15 +08:00 |
|
luwenpeng
|
cc380d9271
|
rename session_direction to flow_direction
|
2024-05-09 14:57:12 +08:00 |
|
luwenpeng
|
37d12ebcfc
|
inject TCP RST test pass
|
2024-05-08 18:24:26 +08:00 |
|
luwenpeng
|
611fda598f
|
Adjust thread index type to uint16 for future expansion & Organize stellar directory files
|
2024-04-25 18:17: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 |
|