Skip to content
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

IP ToS option is not working #158

Open
DanielNeto opened this issue Jun 25, 2021 · 0 comments
Open

IP ToS option is not working #158

DanielNeto opened this issue Jun 25, 2021 · 0 comments

Comments

@DanielNeto
Copy link

Hi,

It seems the -tos option is not working. I built the lastest release using the Dockerfile provided in the code and ran a client and server container based on centos 7. When inspecting the packets from the client, the ToS field in the IP header was not set.

I ran the server and client as following:

Dockerfile to test:

FROM centos:7

COPY ethr /

Server:

docker run --rm --name server ethr-test ./ethr -s

Client:

docker run --rm --name client ethr-test ./ethr -c 172.17.0.2 -b 10M -p tcp -t b -tos 56

I inspected the packets in the docker0 interface using Wireshark and this is how they looked:

log_ethr_with_tos

I tried different values for ToS but none of them worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant