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

remove_header issue #60

Open
fefer opened this issue Jul 24, 2018 · 0 comments
Open

remove_header issue #60

fefer opened this issue Jul 24, 2018 · 0 comments
Assignees

Comments

@fefer
Copy link
Contributor

fefer commented Jul 24, 2018

The remove_header function works properly only when the packet header is in the beginning. However, other cases are still not being properly removed. Considering the following packet header arriving:

Ethernet -> IPv4 -> TCP -> Data

If for some reason we want tao remove TCP and keep the rest, ideally case would be:

Ethernet -> IPv4 -> Data

However, currently macsad removes part of Ethernet header, cause it found the TCP header and removed the size of the TCP header from the beginning of the packet. The result would be:

Ethernet (part of it) -> IPv4 -> TCP -> Data

We plan to enhance the remove_header support.

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

No branches or pull requests

2 participants