Skip to content

net: echo server sends unknown packets on start #14663

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

Closed
rmstoi opened this issue Mar 19, 2019 · 0 comments
Closed

net: echo server sends unknown packets on start #14663

rmstoi opened this issue Mar 19, 2019 · 0 comments
Assignees
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Milestone

Comments

@rmstoi
Copy link
Collaborator

rmstoi commented Mar 19, 2019

When started, native posix echo server sends several unknown packets. They seem to be malfmormed ICMPv6 packets (MLD?)

zephyr-init-unknown.pcapng.gz

@rmstoi rmstoi added bug The issue is a bug, or the PR is fixing a bug area: Networking labels Mar 19, 2019
@laperie laperie added the priority: low Low impact/importance bug label Mar 19, 2019
@tbursztyka tbursztyka assigned tbursztyka and unassigned jukkar Mar 19, 2019
tbursztyka pushed a commit to tbursztyka/zephyr that referenced this issue Mar 19, 2019
IPv6 next header might be something else (here NET_IPV6_NEXTHDR_HBHO)
but when finalizing it is mandatory to give the actual last header
protocol type. In this case IPPROTO_ICMPV6, so the checksum can be
computed properly then by net_icmpv6_finalize() called from
net_ipv6_finalize().

Fixes zephyrproject-rtos#14663

Signed-off-by: Tomasz Bursztyka <[email protected]>
@tbursztyka tbursztyka added this to the v1.14.0 milestone Mar 19, 2019
nashif pushed a commit that referenced this issue Mar 19, 2019
IPv6 next header might be something else (here NET_IPV6_NEXTHDR_HBHO)
but when finalizing it is mandatory to give the actual last header
protocol type. In this case IPPROTO_ICMPV6, so the checksum can be
computed properly then by net_icmpv6_finalize() called from
net_ipv6_finalize().

Fixes #14663

Signed-off-by: Tomasz Bursztyka <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Networking bug The issue is a bug, or the PR is fixing a bug priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

4 participants