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

Ignored non IP/IPv6 packets on ndpiReader #2600

Closed
wants to merge 3 commits into from
Closed

Conversation

lucaderi
Copy link
Member

Please sign (check) the below before submitting the Pull Request:

Link to the related issue:

Describe changes:
ndpiReader does not currently discard non IP/IPv6 pockets as it should

@lucaderi lucaderi requested a review from IvanNardi October 19, 2024 13:31
@lucaderi lucaderi changed the title Ignored non IP/IPv5 packets on ndpiReader Ignored non IP/IPv6 packets on ndpiReader Oct 19, 2024
Copy link

sonarcloud bot commented Oct 19, 2024

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Снимок экрана от 2024-10-19 16-37-39

I think it's because there's no Ethernet header.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The eth type is wrong but underneath there is an IPv4 protocol.

@IvanNardi will address the issue this PR was trying to solve and provide a better fix.

@lucaderi lucaderi closed this Oct 19, 2024
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

Successfully merging this pull request may close these issues.

2 participants