Роман Донченко
2008-Oct-07 19:56 UTC
[syslinux] tftp behaves erroneously on "File not found"
Hello, Looks like tftp-hpa handles missing files somewhat incorrectly. When it receives the error 1 (File not found), it sends back an acknowledgement for block #1 and creates an empty file. Protocol says errors terminate the connection. I can't try other errors, as I can't cause them; but they may cause the same behaviour. -- Roman.
H. Peter Anvin
2008-Oct-07 23:05 UTC
[syslinux] tftp behaves erroneously on "File not found"
????? ???????? wrote:> > Looks like tftp-hpa handles missing files somewhat incorrectly. When it > receives the error 1 (File not found), it sends back an acknowledgement for > block #1 and creates an empty file. Protocol says errors terminate the > connection. > > I can't try other errors, as I can't cause them; but they may cause the same > behaviour. >What operation is this? Server or client? -hpa
Роман Донченко
2008-Oct-08 15:46 UTC
[syslinux] tftp behaves erroneously on "File not found"
> What operation is this? Server or client?Client. E.g.: $ tftp 192.168.27.1 tftp> get nonexistent Error code 1: File not found tftp> quit $ ls -l nonexistent -rw-rw-r-- 1 rdonch rdonch 0 ??? 8 19:45 nonexistent Roman.