Raspberry5 mailformed TFTP ACK packets

Open
#1,898 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
raspberry-pi

Research direction

Start by inspecting the linked raspberry5_ack.pcapng.gz capture, or the referenced raspberry5_ack_pad.pcapng.gz file, with the filter tftp.opcode == 4. Compare the Raspberry 5 ACK packet structure with Raspberry 4 behavior; done means identifying and correcting the bootloader behavior that adds zero padding beyond the UDP length.

Written by the indexing model from the issue text.

Description

At netboot, a Raspberry5 board sends malformed UDP packets padded with zeros while pulling resources from the TFTP server. As it may be seen in the raspberry5_ack_pad.pcapng.gz, a Raspberry 5 may acknowledge a TFTP data packet with ACK being padded with zeros. While it does not affect the boot process because the UDP length field is set to correct length, it is still an incorrect bootloader behavior.

raspberry5_ack.pcapng.gz

Filter: tftp.opcode == 4

That behavior has never happened with Raspberry 4 boards.

Dominant language
No language data
Stars
5.6k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/firmware

All issues in raspberrypi/firmware

Similar issues

More Embedded & IoT issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.