freebsd-dev/libexec/tftpd
Alan Somers 6301d64774 tftpd: reject unknown opcodes
If tftpd receives a command with an unknown opcode, it simply exits 1.  It
doesn't send an ERROR packet, and the client will hang waiting for one.  Fix
it.

PR:		226005
MFC after:	3 weeks
2018-03-10 01:50:43 +00:00
..
tests tftpd: reject unknown opcodes 2018-03-10 01:50:43 +00:00
Makefile Add some functional tests for tftpd(8) 2018-03-09 15:30:20 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tftp-file.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-file.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-io.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-io.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-options.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-options.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-transfer.c tftpd: Flush files as soon as they are fully received 2018-03-09 23:25:18 +00:00
tftp-transfer.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-utils.c libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftp-utils.h libexec: adoption of SPDX licensing ID tags. 2017-11-27 15:25:02 +00:00
tftpd.8 Remove the 3rd clause ("advertising clause") of the BSD license as 2014-02-17 22:27:32 +00:00
tftpd.c tftpd: reject unknown opcodes 2018-03-10 01:50:43 +00:00