yangwei
|
a7837d6c93
|
🎈 perf(clock_gettime): COARSE to reduce overhead
|
2024-08-12 15:45:50 +08:00 |
|
yangwei
|
2ff76d6598
|
🎈 perf(packet_io_stat): cacheline aligned struct
|
2024-08-12 15:45:50 +08:00 |
|
yangwei
|
3a7cb200ea
|
🎈 perf(packet utils): inline packet set route ctx
|
2024-08-12 15:45:50 +08:00 |
|
yangwei
|
0deeb7f3e7
|
🎈 perf(timer, packet_io_yield): update parameter
|
2024-08-12 15:45:50 +08:00 |
|
yangwei
|
49539eb253
|
🎈 perf(pacekt and tcp_segment init): reduce memset
|
2024-08-12 15:45:50 +08:00 |
|
luwenpeng
|
0414710399
|
optimizate: session table support overwrite HASH_INITIAL_NUM_BUCKETS
|
2024-08-12 15:32:37 +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
|
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
|
1f09f43f52
|
feature: session manager support lookup session by session ID
|
2024-07-29 10:44:57 +08:00 |
|
luwenpeng
|
62b9c0c99c
|
feature: add 'quiet' option to avoid automatic update of LRU list by find session
|
2024-07-25 18:50:15 +08:00 |
|
luwenpeng
|
5fdf0e2aa4
|
feature: session pool support forearch session by index
|
2024-07-25 18:32:14 +08:00 |
|
luwenpeng
|
f43da9002b
|
optimizate: rename IP type to address family
|
2024-07-25 18:29:57 +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
|
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
|
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
|
83bffdd008
|
refactor stellar config
|
2024-06-25 19:12:21 +08:00 |
|
luwenpeng
|
276bdd1b99
|
refactor stellar stat
|
2024-06-25 14:08:33 +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
|
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
|
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 |
|