summaryrefslogtreecommitdiff
path: root/usr.sbin/tftpd
AgeCommit message (Expand)Author
2022-10-09Drop fattr promise unless file creation is allowedKlemens Nanni
2022-10-05sort options list;Jason McIntyre
2022-10-04Switch default to read-only, add -w for write access (previous default)Klemens Nanni
2022-10-04Drop cpath promise unless file creation is allowedKlemens Nanni
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-01-17Remove a __KAME__ block for extracting the scope_id from IPV6_PKTINFO.Claudio Jeker
2020-12-17Log reason a request is NAK'ed, as well as any problems sending theKenneth R Westerback
2020-01-09resend the current block if the other end acks the previous block again.David Gwynne
2019-07-03snprintf/vsnprintf return < 0 on error, rather than -1.Theo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-03-04add the STANDARDS sectionDavid Gwynne
2019-03-03This has nothing to do with DARPA.Theo de Raadt
2018-01-26Handle the transfer size option when faking up /etc/random.seed.Christian Weisgerber
2017-11-07Add support for client-specific directories (named after the client address)Jeremie Courreges-Anglas
2017-05-26Sync the severity of the syslog_* functions shared between identd, slowcgi,Florian Obser
2017-04-16Different compilers and versions of compilers have different warnings.Jonathan Gray
2016-09-26Exit early from rdaemon() is the passed fd is invalid.Jeremie Courreges-Anglas
2016-09-04Add format attribute to logger functions.Florian Obser
2016-03-31For consistency, omit the variable name in rdaemon() prototype.Jeremie Courreges-Anglas
2016-03-31Go in the background much later, to reduce possible silent failures.Jeremie Courreges-Anglas
2015-12-14move daemon(3) call before chroot(2) in tftpd.Sebastien Marie
2015-12-11Remove NULL-checks before free().mmcc
2015-10-18Add "dns" to the pledges. Previously these worked because of "inet",Theo de Raadt
2015-10-10pledge "stdio rpath wpath cpath fattr inet" after chroot and suchTheo de Raadt
2015-10-06do not need ioctl.hTheo de Raadt
2015-08-20use SOCK_NONBLOCK when making a socket instead of ioctl FIONBIO.David Gwynne
2015-07-20tweak the /etc/random.seed interception so it provides a FILE* viaDavid Gwynne
2015-07-18Have tftpd provide a block of random data when clients request the fileRyan Thomas McBride
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-17the easier way to put a buffer on the stack is to put it on the stack,Ted Unangst
2014-11-25evbuffer_read and evbuffer_write are wrappers around read and write,David Gwynne
2014-11-19move to stravis so doug@ will stop laughing at my misuse of strnvis.David Gwynne
2014-08-13Always call freeaddrinfo after getaddrinfo.Tobias Stoeckmann
2014-08-13use errc instead of juggling errno values in tftpd_listen.David Gwynne
2014-08-13setsockopt sets errno on failure, so we can use err instead of errx whenDavid Gwynne
2014-04-21th_code is in network byte orderDavid Gwynne
2013-11-26unsigned char for ctypeTheo de Raadt
2013-11-12ensure there are prototypesTheo de Raadt
2013-08-13when handling puts from a client (ie, tftpd is writing a file toDavid Gwynne
2013-06-01use the standardized names instead of S_IREAD and S_IWRITETheo de Raadt
2013-05-07getpwnam doesnt set errno on failure, so use errx, not err, to say itDavid Gwynne
2013-03-17i missed the bit of maxime villards diff that took the client_free out ofDavid Gwynne
2013-03-15let oack use the full buffer space to build its packet, not just the sizeDavid Gwynne
2013-03-15"correct" the order of calloc arguments.David Gwynne
2013-03-15fix up some lwarn()s that should be lwarnx()sDavid Gwynne
2013-03-15fix a huge bug in tftpd.David Gwynne
2012-09-12Define empty CDIAGFLAGS for programs that use Werror.Christiano F. Haesbaert
2012-07-13zap trailing whitespace; no binary changeGleydson Soares
2012-07-10fix the last outstanding functionality difference i could find betweenDavid Gwynne
2012-07-10libexec/tftpd handled the case where we'd get an ack for the previousDavid Gwynne