Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-04-23 | correct indentation; no functional change | Jonathan Gray | |
ok tb@ | |||
2023-03-08 | Delete obsolete /* ARGSUSED */ lint comments. | Philip Guenther | |
ok miod@ millert@ | |||
2022-10-04 | Sort commands in help output, add help to manual | Klemens Nanni | |
OK millert Feedback OK jmc | |||
2022-10-04 | Only print prompt in interactive usage | Klemens Nanni | |
Scripting tftp(1) makes it non-interactive, yet the prompt is still printed and may mess up the shell's PS1: $ echo put nonexistent | tftp localhost tftp> tftp: open: nonexistent: No such file or directory tftp> $ The fix seems easy and works as expected for multiple commands as well: $ echo 'verbose\nput nonexistent' | ./obj/tftp localhost Verbose mode on. tftp: open: nonexistent: No such file or directory $ OK millert | |||
2018-09-20 | fix indentation | Jonathan Gray | |
ok krw@ millert@ | |||
2018-04-26 | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | Philip Guenther | |
Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | |||
2017-09-10 | Use monotonic clock for statistics display. From Scott Cheloha. | Theo Buehler | |
ok dlg | |||
2017-01-21 | The POSIX APIs that that sockaddrs all ignore the s*_len field in the | Philip Guenther | |
incoming socket, so userspace doesn't need to set it unless it has its own reasons for tracking the size along with the sockaddr. ok phessler@ deraadt@ florian@ | |||
2016-03-16 | More "(<blah> *)0" -> NULL, avoiding any stdarg functions. | Kenneth R Westerback | |
Feedback millert@ kettenis@ | |||
2015-11-11 | creat() -> open equiv; from Frederic Nowak | Theo de Raadt | |
2015-10-18 | Add "dns" to the pledges. Previously these worked because of "inet", | Theo de Raadt | |
alas "dns" is now a mandatory statement if you want to do dns! | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-07 | tame "stdio inet rpath wpath cpath" supports all the functions of tftp. | Theo de Raadt | |
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-10-21 | cope with sending or receiving files beyond 65536 blocks in length. | David Gwynne | |
reported by justin mayes on misc@ ok deraadt@ | |||
2013-11-26 | unsigned char casts for ctype | Theo de Raadt | |
ok okan | |||
2012-05-21 | fix put usage | Gleydson Soares | |
ok sthen@ henning@ dlg@ "looks right" deraadt@ | |||
2012-05-02 | strncpy() -> strlcpy() | Gleydson Soares | |
ok henning@ | |||
2012-05-01 | IPv6 support; mostly a sync with netbsd code done by itojun@ | Gleydson Soares | |
tweaks/OK henning@ sthen@ jmc@ jasper@ feedback/tests weerd@ brad@ (thanks) | |||
2012-03-01 | -This option devlivers the retransmission timeout, | David Gwynne | |
+This option delivers the retransmission timeout, | |||
2009-10-28 | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | Theo de Raadt | |
unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms | |||
2009-10-22 | use the UNIX-related macros (.At and .Ux) where appropriate. | Igor Sobrado | |
ok jmc@ | |||
2007-09-10 | Proper use of fseek/fseeko macros. | Tobias Stoeckmann | |
OK joris@, otto@ | |||
2007-08-06 | the ellipsis is not an optional argument; while here, sync the usage | Igor Sobrado | |
and synopsis of commands lots of good ideas by jmc@ ok jmc@ | |||
2007-05-31 | convert to new .Dd format; | Jason McIntyre | |
2007-05-11 | Delinting from tbert <bret dot lambert at gmail dot com> | Ray Lai | |
OK moritz@ | |||
2006-07-26 | Make tftp atoi() free. | Marcus Glocker | |
2006-07-26 | TIMEOUT* values are not part of the protocol. tftp.h is a namespace | Theo de Raadt | |
export of the protocol. you shall not add non-protocol stuff to such a file, period. | |||
2006-07-26 | Mini KNF. No binary changes. | Marcus Glocker | |
2006-07-26 | Fixing several timeout quirks at tftpd and tftp: | Marcus Glocker | |
- move TIMEOUT* defines to arpa/tftp.h, as they are used several times in tftpd and tftp, and the values are part of the RFC definition. - tftpd and tftp did count the total retransmission time in retries instead in seconds. fixed. - tftpd rexmt timeout was hardcoded by a define and therefore didn't changed when the timeout option was sent. fixed. - limit total retransmission timeout in tftp to also 255 seconds. - replace obvious atoi()'s by strtonum(). ok claudio@ | |||
2006-07-24 | eliminate hyphen madness; | Jason McIntyre | |
2006-07-24 | tweaks; | Jason McIntyre | |
2006-07-24 | Adding TFTP Option Extension to the tftp client according to RFC 2347. | Marcus Glocker | |
Implemented options are: - TFTP Blocksize Option, RFC 2348 - TFTP Timeout Interval and Transfer Size Options, RFC 2349 We have now on the tftp client side the same options supported as in our tftp server. ok claudio@ | |||
2006-07-20 | Add blksize option support for tftpd according to RFC 2348. | Marcus Glocker | |
Note: While testing the new option, we noticed that our stable tftpd has a problem if any option is set (e.g. tsize) and you try to put a file. This has nothing todo with our new blksize option. We fix this as next. ok claudio@ | |||
2006-07-12 | knf. no binary change. | Marcus Glocker | |
ok beck@ claudio@ | |||
2006-05-08 | Remove unsave setjmp/longjmp calls that were used in signal handlers with | Claudio Jeker | |
a more sane poll loop. Includes some style(9) changes. Diff made by Marcus Glocker | |||
2006-01-23 | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | Todd C. Miller | |
2006-01-02 | +.Xr tftp-proxy 8 , | Jason McIntyre | |
2004-04-10 | improve BUGS: | Jason McIntyre | |
- current implementations do not support transfers >65535 blocks - 32767 block limit does not apply to this tftp implementation other stuff: - kill unnecessary Ns macros - uppercase tftp where applicable discussed w/ tom, and wording improvements from him; | |||
2004-02-19 | fix mem leak. | Mike Pechkin | |
hackers@ ok | |||
2003-12-22 | do not re-include name in err() call; andrushock@korovino.net | Theo de Raadt | |
2003-09-29 | correction to SYNOPSIS and usage(): host argument must be specified | Jason McIntyre | |
if using port argument; from simon@freebsd | |||
2003-09-25 | - clarify "put" and "get" commands. This is based on a FreeBSD PR submitted | Jason McIntyre | |
by Gary W. Swearingen and fixed by Simon L. Nielsen in rev. 1.15; - some other small clarifications to the man page - sync usage()'s with the man page | |||
2003-09-24 | knf | Theo de Raadt | |
2003-09-24 | fix automatic connection which is supposed to be done in put command; | Theo de Raadt | |
found by jmc, fixed by me | |||
2003-06-26 | another proto repair | Theo de Raadt | |
2003-06-25 | protos | Theo de Raadt | |
2003-06-25 | ansi | Theo de Raadt | |
2003-06-10 | mostly ansi cleanup; pval ok | Theo de Raadt | |
2003-06-03 | Remove the advertising clause in the UCB license which Berkeley | Todd C. Miller | |
rescinded 22 July 1999. Proofed by myself and Theo. |