-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to set TCP flags #284
Comments
It looks like a bug, I see why it is not working and I will look at it this weekend. |
I think I have the TCP flags working, please give the fix-tcp-flags branch a try and let me know. |
Thanks Keith, seems to be working a first glance, however I'm getting this crash when loading Lua scripts on the Note that my script doesn't start sending packets (that's left to the user), so appears to be an issue during packet initialization |
OK thanks, please try the fixes-for-release branch if you have time. It most likely will not fix this problem and it will take me a few days to be able to look into the problem. |
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
The text was updated successfully, but these errors were encountered: