summaryrefslogtreecommitdiff
path: root/usr.bin/tftp
AgeCommit message (Collapse)Author
2014-10-21cope with sending or receiving files beyond 65536 blocks in length.David Gwynne
reported by justin mayes on misc@ ok deraadt@
2013-11-26unsigned char casts for ctypeTheo de Raadt
ok okan
2012-05-21fix put usageGleydson Soares
ok sthen@ henning@ dlg@ "looks right" deraadt@
2012-05-02strncpy() -> strlcpy()Gleydson Soares
ok henning@
2012-05-01IPv6 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-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo 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-22use the UNIX-related macros (.At and .Ux) where appropriate.Igor Sobrado
ok jmc@
2007-09-10Proper use of fseek/fseeko macros.Tobias Stoeckmann
OK joris@, otto@
2007-08-06the ellipsis is not an optional argument; while here, sync the usageIgor Sobrado
and synopsis of commands lots of good ideas by jmc@ ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-11Delinting from tbert <bret dot lambert at gmail dot com>Ray Lai
OK moritz@
2006-07-26Make tftp atoi() free.Marcus Glocker
2006-07-26TIMEOUT* values are not part of the protocol. tftp.h is a namespaceTheo de Raadt
export of the protocol. you shall not add non-protocol stuff to such a file, period.
2006-07-26Mini KNF. No binary changes.Marcus Glocker
2006-07-26Fixing 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-24eliminate hyphen madness;Jason McIntyre
2006-07-24tweaks;Jason McIntyre
2006-07-24Adding 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-20Add 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-12knf. no binary change.Marcus Glocker
ok beck@ claudio@
2006-05-08Remove unsave setjmp/longjmp calls that were used in signal handlers withClaudio Jeker
a more sane poll loop. Includes some style(9) changes. Diff made by Marcus Glocker
2006-01-23Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELENTodd C. Miller
2006-01-02+.Xr tftp-proxy 8 ,Jason McIntyre
2004-04-10improve 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-19fix mem leak.Mike Pechkin
hackers@ ok
2003-12-22do not re-include name in err() call; andrushock@korovino.netTheo de Raadt
2003-09-29correction to SYNOPSIS and usage(): host argument must be specifiedJason McIntyre
if using port argument; from simon@freebsd
2003-09-25- clarify "put" and "get" commands. This is based on a FreeBSD PR submittedJason 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-24knfTheo de Raadt
2003-09-24fix automatic connection which is supposed to be done in put command;Theo de Raadt
found by jmc, fixed by me
2003-06-26another proto repairTheo de Raadt
2003-06-25protosTheo de Raadt
2003-06-25ansiTheo de Raadt
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-04-17nuke strcpy + -WallHenning Brauer
parts from and ok mickey@
2003-03-13lots of sprintf -> snprintf and strcpy -> strlcpy; checked by teduTheo de Raadt
2002-09-06use socklen_t where neededTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-11-19kill more registersMike Pechkin
millert@ ok
2001-07-31o) better struct handling;Mike Pechkin
o) use __progname in openlog(3); o) better ERROR packets handling; millert@ ok
2001-07-17-Wall cleanup; ok deraadtPeter Valchev
2001-03-22use err/warn, space policeMichael Shalayeff
2000-12-07tftp argv parsing overflow; fix by vogelke@dnaco.net and ITheo de Raadt
2000-03-11Various cleanups and standardizations.Aaron Campbell
2000-03-06Some section re-ordering.Aaron Campbell
2000-02-01no need to extern int errno if errno.h is includedTheo de Raadt
1999-06-05- remove trailing white spaceAaron Campbell
- remove arguments from .Os macros - remove arguments from .Nm macros, where appropriate - some more Dq/Sq/Ql insanity - still lots to do in the usr.bin tree... :/
1998-10-30usr.bin/ man page fixes, t-zAaron Campbell