summaryrefslogtreecommitdiffstats
path: root/libexec/tftpd/tftpd.8
Commit message (Collapse)AuthorAgeFilesLines
* Remove the 3rd clause ("advertising clause") of the BSD license asbrueffer2014-02-171-5/+1
| | | | | | | permitted by the University of Berkeley on July 22, 1999. Reviewed by: imp MFC after: 1 week
* mdoc: Only use macros inside a reference block.joel2012-05-231-8/+4
|
* Remove trailing whitespace per mdoc lint warningeadler2012-03-291-3/+3
| | | | | | | Disussed with: gavin No objection from: doc Approved by: joel MFC after: 3 days
* Pull in some wording to the tftpd.8 man pagerodrigc2011-07-311-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | from NetBSD, with some slight changes: ========================================================================================= http://cvsweb.netbsd.org/bsdweb.cgi/src/libexec/tftpd/tftpd.8?only_with_tag=MAIN#rev1.22 Revision 1.22 or diffs], Fri Jan 8 21:05:14 2010 UTC (18 months, 2 weeks ago) by christos Patrick Welche <prlw1@cam.ac.uk> - add -p pathsep option - make wrap to zero work, but produce a warning While here: - fix gcc warnings, in particular variable clobbered warnings (compiling with fewer warnings does not really fix the problem) ========================================================================================= These wording changes clarify the default rollover behavior as a "kludge". Also, the block numbers and octet counts for 65535 blocks and 32767 blocks are more accurate than the existing documented numbers. Requested by: Pawan Gupta <pawang at juniper dot net> Obtained from: Juniper Networks Approved by: re (kib)
* Acknowledge Edwin Groothuis for the major rewrite herodrigc2011-06-241-0/+6
| | | | did of the tftpd and tftp code to support TFTP blocksize.
* Update references to RFC's that the newer TFTP implementation supports.rodrigc2011-06-221-3/+25
|
* Fix typo.rodrigc2011-06-221-1/+1
| | | | Reported by: Nick Mann <njm at njm dot me dot uk>
* Clarify tftpd's -d flag in the new TFTP implementation.rodrigc2011-06-221-3/+21
| | | | Bump date.
* Clarify that the TFTP blocksize (RFC2348) or non-standardrodrigc2011-06-161-2/+3
| | | | TFTP rollover option can be used to transfer larger files.
* Use a defined FreeBSD version.delphij2010-10-061-2/+2
| | | | MFC after: 3 days
* Go ahead and merge the work edwin@ on tftpd into the tree. It is aimp2010-05-041-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lot better than what's in the tree now. Edwin tested it at a prior employer, but can't test it today. I've found that it works a lot better with the various uboot versions that I've used in my embedded work. Here's the pkg-descr from the port that describes the changes: It all started when we got some new routers, which told me the following when trying to upload configuration or download images from it: The TFTP server doesn't support the blocksize option. My curiousity was triggered, it took me some reading of RFCs and other documentation to find out what was possible and what could be done. Was plain TFTP very simple in its handshake, TFTP with options was kind of messy because of its backwards capability: The first packet returned could either be an acknowledgement of options, or the first data packet. Going through the source code of src/libexec/tftpd and going through the code of src/usr.bin/tftp showed that there was a lot of duplicate code, and the addition of options would only increase the amount of duplicate code. After all, both the client and the server can act as a sender and receiver. At the end, it ended up with a nearly complete rewrite of the tftp client and server. It has been tested against the following TFTP clients and servers: - Itself (yay!) - The standard FreeBSD tftp client and server - The Fedora Core 6 tftp client and server - Cisco router tftp client - Extreme Networks tftp client It supports the following RFCs: RFC1350 - THE TFTP PROTOCOL (REVISION 2) RFC2347 - TFTP Option Extension RFC2348 - TFTP Blocksize Option RFC2349 - TFTP Timeout Interval and Transfer Size Options RFC3617 - Uniform Resource Identifier (URI) Scheme and Applicability Statement for the Trivial File Transfer Protocol (TFTP) It supports the following unofficial TFTP Options as described at http://www.compuphase.com/tftp.htm: blksize2 - Block size restricted to powers of 2, excluding protocol headers rollover - Block counter roll-over (roll back to zero or to one) From the tftp program point of view the following things are changed: - New commands: "blocksize", "blocksize2", "rollover" and "options" - Development features: "debug" and "packetdrop" If you try this tftp/tftpd implementation, please let me know if it works (or doesn't work) and against which implementaion so I can get a list of confirmed working systems. Author: Edwin Groothuis <edwin@FreeBSD.org>
* Fix several typos in macros or macro misusage.uqs2010-03-121-1/+1
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Add "with" to make the line go smoother.edwin2007-11-231-1/+1
|
* Add the -W options, which acts the same as -w but will generateedwin2007-11-231-3/+29
| | | | | | | | | | | unique names based on the submitted filename, a strftime(3) format string and a two digit sequence number. By default the strftime(3) format string is %Y%m%d (YYYYMMDD), but this can be changed by the -F option. PR: bin/106049 (based on patch in that PR) Approved by: grog@ (mentor)
* Correct a typo.bz2007-06-031-1/+1
| | | | | PR: 106049 Submitted by: edwin (as part of a larger patch)
* Markup fixes.ru2006-09-171-1/+1
|
* - Improve and extend mark-up.yar2006-08-071-20/+32
| | | | | | | | | | - Don't use full path in .Nm (we just don't do that). - Correct some frivolous and poorly rendering language, such as using possessive case for .Nm or .Fl . - Use the same capitalization for "user ID" as in setuid(2) and getuid(2). - Bring SEE ALSO in accord with the text. MFC after: 5 days
* mdoc(7) fixes.ru2004-07-071-2/+5
|
* Add two new flags: -w, which allows new files to be created,mdodd2004-05-241-1/+10
| | | | | | and -U, which allows the umask to be set. Obtained from: Patton Electronics, Co.
* The .Nm utilitycharnier2002-07-061-3/+4
|
* Remove whitespace at EOL.dd2001-07-151-7/+7
|
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* mdoc(7) police: normalize .Nd.ru2001-04-181-2/+1
|
* First appeared in 4.3, not 5.0kris2001-03-041-1/+1
|
* Fix tftpd and tftp to support file transfers of over 65535 blocksasmodai2001-02-021-0/+5
| | | | | | | (about 31 MB - 32 MB). Submitted (partially) by: Pascal Hofstee <daeron@wit401305.student.utwente.nl>
* Add -c/C which chroots by IP of tftp client, (i.e. /tftproot/127.0.0.1/).billf2001-01-251-3/+26
|
* mdoc(7) police: use the new features of the Nm macro.ru2000-11-201-1/+1
|
* Some more slight doco fixes: update date, and add a bit more to the history.wollman2000-09-141-2/+10
|
* Allow tftpd to run as a specified user, not just `nobody'.wollman2000-09-141-25/+48
| | | | | | | | | Update documentation to reflect new option. Also fix documentation style and add missing references. PR: 21268 Submitted by: "Aleksandr A. Babaylov" <babolo@links.ru> Reviewed by: imp
* Add $FreeBSD$ lines to man pages that are missing them to make itmpp1999-08-281-0/+1
| | | | | | | easier for translation teams. PR: docs/13418 Submitted by: Alexey Zelkin <phantom@cris.net>
* Mention that syslog.conf(5) does not log LOG_FTP messages by default.jkoshy1998-06-051-2/+6
| | | | PR: 5287
* Use full path in synopsis. Syslog will add trailing \n.charnier1997-12-031-12/+22
|
* Clarify the actions of -s and the list of allowable names.imp1997-10-061-1/+5
|
* Reviewed by: Bill Fenner <fennder@parc.xerox.com>imp1996-09-221-0/+15
| | | | | | | | | | | Reviewed by: Garrett Wollman <wollman@freebsd.org> Submitted by: Warner Losh <imp@village.org> Close PR bin/1145: Add -s flag to tftpd. This enables the so-called secure mode of tftpd where it chroots to a given directory before allowing access to the files. In addition, it runs as nobody when in this mode. Reviewed a long time ago by Bill and Garrett. Apply my patch from the pr, and close the PR.
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-271-0/+106
OpenPOWER on IntegriCloud