summaryrefslogtreecommitdiffstats
path: root/libexec/tftpd
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Ensure that things returned by gethostname() andbrian1999-04-071-4/+4
| | | | | | | | | | friends are terminated and allow for a maximum host name length of MAXHOSTNAMELEN - 1. Put parenthesis around sizeof args. Make some variables static. Fix telnetd -u (broken by my last commit) Prompted by: bde
* Use realhostname() rather than various combinations ofbrian1999-04-062-19/+10
| | | | | | gethostbyaddr() & gethostbyname(). Remove brokeness in ftpd for hosts of MAXHOSTNAMELEN length.
* Rename a function name so that it doesn't conflict with a future system call.dg1998-10-301-5/+5
|
* Mention that syslog.conf(5) does not log LOG_FTP messages by default.jkoshy1998-06-051-2/+6
| | | | PR: 5287
* openlog() needs to have LOG_NDELAY added, or else the syslog() calls afterphk1998-04-121-2/+2
| | | | | | | | the chroot will not get sent to syslogd. PR: 4910 Reviewed by: phk Submitted by: Jim Mercer <jim@komodo.reptiles.org>
* Use full path in synopsis. Syslog will add trailing \n.charnier1997-12-032-27/+39
|
* Clarify the actions of -s and the list of allowable names.imp1997-10-061-1/+5
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-281-2/+2
| | | | posix standard on the topic.
* Fix non explloitable buffer overflows (since the largest packet processedimp1997-03-241-3/+4
| | | | | precludes it) to keep people from whining about it in the newsgroups and mailing lists.
* Revert $FreeBSD$ to $Id$peter1997-02-222-2/+2
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-142-2/+2
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Truncate the file when opening it with write intent. Otherwise,joerg1996-11-301-2/+2
| | | | | | | | there's a good chance that garbage will remain at the end. Closes PR # bin/2112: tftpd doesn't truncate ... Reviewed by: fenner
* add forgotten $Id$wosch1996-09-222-0/+3
|
* Reviewed by: Bill Fenner <fennder@parc.xerox.com>imp1996-09-222-1/+47
| | | | | | | | | | | 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.
* I think the security check to invalidate ALL write requests was just a littlejkh1995-02-261-2/+2
| | | | excessive, and violates the specification defined in the manpage to boot.
* Update to new make macros and disable Kerberos because we haven't got itwollman1994-08-051-1/+1
| | | | set up right yet.
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-273-0/+765
OpenPOWER on IntegriCloud