A TFTP Client in C. RFC 1350 defines the TFTP protocol, hence thirteen fifty.
Supported RFC's:
- 1350 - TFTP specification
- 2347 - Option specification
- 2348 - Blocksize option
- 7440 - Windowsize option
These errors will be returned in the following format: {{err:[number]}}\n Areas in quotes, e.g. "option: '%s'\n" are output format specifiers to make it easier to regex.
- Bad port number
- Bad blocksize
- Bad windowsize
- Bad timeout
- Bad usage, missing target or filename
- Unrecognized option in configuration "option: '%s'\n"
- Could not get address info
- Could not create socket with those DNS addresses
- Unable to set socket timeout
- Failed to send RRQ
- Did not receive response to RRQ within timeout
- Reached max retries
- Error receiving packet
- Error sending retry ACK
- Error sending ACK
- Error packet: error 0
- Error packet: error 1
- Error packet: error 2
- Error packet: error 3
- Error packet: error 4
- Error packet: error 5
- Error packet: error 6
- Error packet: error 7
- Error packet: error 8
- Could not send OACK error packet
- Found option without corresponding "value: '%s'\n"
- Found blocksize in server options even though client did not request
- Found windowsize in server options even though client did not request
- Got unknown option in "OACK: '%s'\n"
- Could not send ACK to OACK