|
NAMEutftpd - a trivial file transfer protocol (TFTP) serverSYNOPSISutftp [options] [dirs]DESCRIPTIONutftpd sends and receives files with the TFTP protocol. It is normally started from inetd.TFTP doesn't support authentication, so the only way to authenticate TFTP clients is by using IP addresses.
OPTIONS
In case i screwed something up: short options use the same arguments as the long ones ORDERutftpd will, upon startup, in that order:receive the first packet from remote (it needs the address of the peer, to find his data in the configuration file). [just for the records: it can't use MSG_PEEK here because that would make inetd dance wild. Uah.] This needs to be done here and now simply because this packet has to be read, else awful things happen if utftpd exits before it reads the first packet. open a syslog connection open the configuration file, so it may reside outside the chrooted() area (see the --config-file option). This step is not done in traditional mode. resolve user / group names from a --global-uid option. chdir and then chroot to the --global-chroot directory, if given. change user/group IDs to the --global-uid values, if any. chdir to the --global-chdir directory, if given. read the configuration file see the --config-file option. This step is only done if a configuration file has been given on the command line. close the configuration file This step is only done if a configuration file has been given on the command line. go to daemon mode: fork itself in the background VERSION CONTROLutftpd knows about version control. If it's activated in the configuration file and the requested file has been put under version control (which you have to do yourself) then utftpd willon GET requests (RRQ) try to check out the latest revision and send that. It will never care about checked out copies it finds lying around. on PUT requests (WRQ) out an editable copy, receive the file and then check them in. It will deny access if the checkout fails. This behaviour allows you to manually check out a file, edit it, check it in again, without having to fear that utftpd overwrites the file you are editing, and is also the right way to not open a race condition (think of two clients wanting to write the same file, although this is a stupid thing to do anyway). SCCS is preferred over RCS. It's a usually not a bright idea to put binary files under revision control: VC systems tend to dislike them. Some implementations may be ok, so GNU RCS seems to work find, provided it also has GNU diff available. Version control support is not available in traditional access control mode. SEE ALSOutftpd_make(8), utftpd.conf(5), RFC 1350, RFC 2348, RFC 2349. Visit the GSP FreeBSD Man Page Interface. |