When I launch pktgen and run it (via script myscript.lua then start all) I'm seeing the generated TCP traffic still use DEFAULT_TCP_FLAGS (ACK) instead of the tcp_flags value. I'm not sure what representation it expects, but I've tried both the numerical value for the SYN flag (2) as well as "S" to no avail. Additionally, running set all tcp flag set syn yields no difference. When I recompile pktgen with DEFAULT_TCP_FLAGS set to SYN_FLAG it works, so it appears as if never overwrites the default value.
Hi,
I'm using this project with packets generated from an Lua script which appears as follows:
When I launch pktgen and run it (via
script myscript.lua
thenstart all
) I'm seeing the generated TCP traffic still useDEFAULT_TCP_FLAGS
(ACK) instead of thetcp_flags
value. I'm not sure what representation it expects, but I've tried both the numerical value for the SYN flag (2) as well as"S"
to no avail. Additionally, runningset all tcp flag set syn
yields no difference. When I recompile pktgen withDEFAULT_TCP_FLAGS
set toSYN_FLAG
it works, so it appears as if never overwrites the default value.pktgen version: 24.07.0