Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

TFTP ERROR (tftp_error)

Reached from

Lower layerSelectorValue
tftpopcode5 (0x0005) (re-decodes this layer)

Fields

FieldTypeDefaultAutoDescription
opcodeenum(16)5 (error)TFTP opcode (1 = RRQ, 2 = WRQ, 3 = DATA, 4 = ACK, 5 = ERROR, 6 = OACK).
error_codeenum(16)1 (file_not_found)TFTP error code (1 = file not found, 2 = access violation, …).
messagecstring"File not found"Error message (NUL-terminated).

opcode

ValueName
1 (0x0001)rrq
2 (0x0002)wrq
3 (0x0003)data
4 (0x0004)ack
5 (0x0005)error
6 (0x0006)oack

error_code

ValueName
0 (0x0000)not_defined
1 (0x0001)file_not_found
2 (0x0002)access_violation
3 (0x0003)disk_full
4 (0x0004)illegal_operation
5 (0x0005)unknown_tid
6 (0x0006)file_exists
7 (0x0007)no_such_user
8 (0x0008)option_negotiation

Constraints

LevelRule
warningopcode = 5

Sample templates

  • tftp-error — templates/protocols/app/tftp-error.wpg.yaml