summaryrefslogtreecommitdiff
path: root/usr.sbin/tftpd
AgeCommit message (Expand)Author
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
2012-03-15Add sys/queue.h. ok dlgNicholas Marriott
2012-03-08-pedantic wasnt supposed to be commited.David Gwynne
2012-03-07dont mix code and declarations.David Gwynne
2012-03-04tweak the description of -r further;Jason McIntyre
2012-03-04document what tftpd expects when talking to the rewrite socket.David Gwynne
2012-03-02tweaks;Jason McIntyre
2012-03-02CFLAGS+= -Wall -Werror and the resulting cleanupDavid Gwynne
2012-03-02a persistent event driven tftp daemon.David Gwynne