TFTP ACK (tftp_ack)
- Layer: Application and control
- Header: 4 octets (fixed)
- Notes: Application protocols
Reached from
| Lower layer | Selector | Value |
|---|---|---|
tftp | opcode | 4 (0x0004) (re-decodes this layer) |
Fields
| Field | Type | Default | Auto | Description |
|---|---|---|---|---|
opcode | enum(16) | 4 (ack) | TFTP opcode (1 = RRQ, 2 = WRQ, 3 = DATA, 4 = ACK, 5 = ERROR, 6 = OACK). | |
block | uint(16) | 1 | Block number (starting at 1). |
opcode
| Value | Name |
|---|---|
| 1 (0x0001) | rrq |
| 2 (0x0002) | wrq |
| 3 (0x0003) | data |
| 4 (0x0004) | ack |
| 5 (0x0005) | error |
| 6 (0x0006) | oack |
Constraints
| Level | Rule |
|---|---|
| warning | opcode = 4 |
Sample templates
- tftp-ack —
templates/protocols/app/tftp-ack.wpg.yaml