Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix indentation | 2018-09-20 | 1 | -2/+2 | |
| | | | | ok krw@ millert@ | ||||
* | Use <fcntl.h> instead of <sys/file.h> for open() and friends. | 2018-04-26 | 1 | -2/+2 | |
| | | | | | | | Delete a bunch of unnecessary #includes and sort to match style(9) while doing the above cleanup. ok deraadt@ krw@ | ||||
* | Use monotonic clock for statistics display. From Scott Cheloha. | 2017-09-10 | 1 | -7/+8 | |
| | | | | ok dlg | ||||
* | The POSIX APIs that that sockaddrs all ignore the s*_len field in the | 2017-01-21 | 1 | -3/+2 | |
| | | | | | | | 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@ | ||||
* | More "(<blah> *)0" -> NULL, avoiding any stdarg functions. | 2016-03-16 | 1 | -2/+2 | |
| | | | | Feedback millert@ kettenis@ | ||||
* | creat() -> open equiv; from Frederic Nowak | 2015-11-11 | 1 | -3/+3 | |
| | |||||
* | Add "dns" to the pledges. Previously these worked because of "inet", | 2015-10-18 | 1 | -2/+2 | |
| | | | | alas "dns" is now a mandatory statement if you want to do dns! | ||||
* | Change all tame callers to namechange to pledge(2). | 2015-10-09 | 1 | -3/+3 | |
| | |||||
* | tame "stdio inet rpath wpath cpath" supports all the functions of tftp. | 2015-10-07 | 1 | -1/+4 | |
| | |||||
* | Replace <sys/param.h> with <limits.h> and other less dirty headers where | 2015-01-16 | 1 | -3/+3 | |
| | | | | | | | | | 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) | ||||
* | cope with sending or receiving files beyond 65536 blocks in length. | 2014-10-21 | 1 | -11/+16 | |
| | | | | | | reported by justin mayes on misc@ ok deraadt@ | ||||
* | unsigned char casts for ctype | 2013-11-26 | 1 | -3/+3 | |
| | | | | ok okan | ||||
* | fix put usage | 2012-05-21 | 1 | -2/+2 | |
| | | | | | ok sthen@ henning@ dlg@ "looks right" deraadt@ | ||||
* | strncpy() -> strlcpy() | 2012-05-02 | 1 | -5/+4 | |
| | | | | ok henning@ | ||||
* | IPv6 support; mostly a sync with netbsd code done by itojun@ | 2012-05-01 | 4 | -101/+160 | |
| | | | | | | tweaks/OK henning@ sthen@ jmc@ jasper@ feedback/tests weerd@ brad@ (thanks) | ||||
* | -This option devlivers the retransmission timeout, | 2012-03-01 | 1 | -3/+3 | |
| | | | | +This option delivers the retransmission timeout, | ||||
* | rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and | 2009-10-27 | 3 | -33/+3 | |
| | | | | | | | 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 | ||||
* | use the UNIX-related macros (.At and .Ux) where appropriate. | 2009-10-22 | 1 | -3/+3 | |
| | | | | ok jmc@ | ||||
* | Proper use of fseek/fseeko macros. | 2007-09-10 | 1 | -3/+3 | |
| | | | | OK joris@, otto@ | ||||
* | the ellipsis is not an optional argument; while here, sync the usage | 2007-08-06 | 1 | -5/+4 | |
| | | | | | | | | and synopsis of commands lots of good ideas by jmc@ ok jmc@ | ||||
* | convert to new .Dd format; | 2007-05-31 | 1 | -2/+2 | |
| | |||||
* | Delinting from tbert <bret dot lambert at gmail dot com> | 2007-05-11 | 2 | -7/+17 | |
| | | | | OK moritz@ | ||||
* | Make tftp atoi() free. | 2006-07-26 | 1 | -6/+6 | |
| | |||||
* | TIMEOUT* values are not part of the protocol. tftp.h is a namespace | 2006-07-26 | 1 | -1/+5 | |
| | | | | | export of the protocol. you shall not add non-protocol stuff to such a file, period. | ||||
* | Mini KNF. No binary changes. | 2006-07-26 | 1 | -3/+3 | |
| | |||||
* | Fixing several timeout quirks at tftpd and tftp: | 2006-07-26 | 3 | -15/+19 | |
| | | | | | | | | | | | | | - 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@ | ||||
* | eliminate hyphen madness; | 2006-07-24 | 1 | -3/+3 | |
| | |||||
* | tweaks; | 2006-07-24 | 1 | -18/+27 | |
| | |||||
* | Adding TFTP Option Extension to the tftp client according to RFC 2347. | 2006-07-24 | 3 | -36/+269 | |
| | | | | | | | | | | | | 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@ | ||||
* | Add blksize option support for tftpd according to RFC 2348. | 2006-07-20 | 3 | -18/+17 | |
| | | | | | | | | | | 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@ | ||||
* | knf. no binary change. | 2006-07-12 | 4 | -286/+300 | |
| | | | | ok beck@ claudio@ | ||||
* | Remove unsave setjmp/longjmp calls that were used in signal handlers with | 2006-05-08 | 2 | -217/+284 | |
| | | | | | a more sane poll loop. Includes some style(9) changes. Diff made by Marcus Glocker | ||||
* | Include <sys/param.h> instead of <sys/types.h> so we get MAXHOSTNAMELEN | 2006-01-23 | 1 | -3/+3 | |
| | |||||
* | +.Xr tftp-proxy 8 , | 2006-01-02 | 1 | -1/+2 | |
| | |||||
* | improve BUGS: | 2004-04-10 | 1 | -13/+16 | |
| | | | | | | | | | | | | - 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; | ||||
* | fix mem leak. | 2004-02-19 | 1 | -2/+3 | |
| | | | | hackers@ ok | ||||
* | do not re-include name in err() call; andrushock@korovino.net | 2003-12-22 | 1 | -4/+4 | |
| | |||||
* | correction to SYNOPSIS and usage(): host argument must be specified | 2003-09-29 | 2 | -6/+5 | |
| | | | | | | if using port argument; from simon@freebsd | ||||
* | - clarify "put" and "get" commands. This is based on a FreeBSD PR submitted | 2003-09-25 | 2 | -46/+84 | |
| | | | | | | 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 | ||||
* | knf | 2003-09-24 | 3 | -41/+37 | |
| | |||||
* | fix automatic connection which is supposed to be done in put command; | 2003-09-24 | 1 | -2/+3 | |
| | | | | found by jmc, fixed by me | ||||
* | another proto repair | 2003-06-26 | 1 | -3/+3 | |
| | |||||
* | protos | 2003-06-25 | 1 | -4/+4 | |
| | |||||
* | ansi | 2003-06-25 | 3 | -52/+34 | |
| | |||||
* | mostly ansi cleanup; pval ok | 2003-06-10 | 2 | -61/+29 | |
| | |||||
* | Remove the advertising clause in the UCB license which Berkeley | 2003-06-03 | 6 | -39/+15 | |
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | ||||
* | nuke strcpy + -Wall | 2003-04-17 | 4 | -28/+26 | |
| | | | | parts from and ok mickey@ | ||||
* | lots of sprintf -> snprintf and strcpy -> strlcpy; checked by tedu | 2003-03-13 | 1 | -12/+12 | |
| | |||||
* | use socklen_t where needed | 2002-09-06 | 1 | -3/+3 | |
| | |||||
* | Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. | 2002-02-16 | 4 | -43/+43 | |
| |