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

net: ipv4: Zephyr replies to link-layer broadcast packet #16276

Closed
rmstoi opened this issue May 21, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@rmstoi
Copy link
Collaborator

commented May 21, 2019

Zephyr replies to a packet with link-layer broadcast destination but not IP mutlicast or broadcast destination address. According to RFC 1122 3.3.6 such packets should be silently discarded.

ll-bcast-icmp4.pcap.gz
ll-bcast-tcp4.pcap.gz
ll-bcast-udp4.pcap.gz

jukkar added a commit to jukkar/zephyr that referenced this issue May 21, 2019

net: ethernet: Drop pkt if MAC dst is bcast address but IP is not
Drop packet if it has broadcast destination MAC address but the IPv4
destination address is not multicast or broadcast address.
See RFC 1122 ch 3.3.6 for details.

Fixes zephyrproject-rtos#16276

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>

jukkar added a commit to jukkar/zephyr that referenced this issue May 21, 2019

net: ethernet: Drop pkt if MAC dst is bcast address but IP is not
Drop packet if it has broadcast destination MAC address but the IPv4
destination address is not multicast or broadcast address.
See RFC 1122 ch 3.3.6 for details.

Fixes zephyrproject-rtos#16276

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>

jukkar added a commit to jukkar/zephyr that referenced this issue May 21, 2019

net: ethernet: Drop pkt if MAC dst is bcast address but IP is not
Drop packet if it has broadcast destination MAC address but the IPv4
destination address is not multicast or broadcast address.
See RFC 1122 ch 3.3.6 for details.

Fixes zephyrproject-rtos#16276

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>

jukkar added a commit that referenced this issue May 21, 2019

net: ethernet: Drop pkt if MAC dst is bcast address but IP is not
Drop packet if it has broadcast destination MAC address but the IPv4
destination address is not multicast or broadcast address.
See RFC 1122 ch 3.3.6 for details.

Fixes #16276

Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.