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

TftpServer reports incorrect tsize #45

Open
mrmiller opened this issue Apr 8, 2014 · 0 comments
Open

TftpServer reports incorrect tsize #45

mrmiller opened this issue Apr 8, 2014 · 0 comments
Labels
plan to fix A valid problem that I plan to fix

Comments

@mrmiller
Copy link

mrmiller commented Apr 8, 2014

Currently, when a client sends an RRQ and requests the 'tsize' option, TftpServer (via TftpStates.TftpState.returnSupportedOptions) replies with 'tsize' set to 1. According to the spec, tsize should be the size in bytes of the file:

http://tools.ietf.org/html/rfc2349
"In Read Request packets, a size of "0" is specified in the request and the size of the file, in octets, is returned in the OACK."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plan to fix A valid problem that I plan to fix
Projects
None yet
Development

No branches or pull requests

2 participants