IN.TFTPD(8)

NAME
in.tftpd - Trivial File Transfer Protocol Server.

SYNOPSIS
in.tftpd [options] path

DESCRIPTION
in.tftpd is a TFTP (rfc1350) server. By default it is started by inetd, but may run as a stand alone daemon. This server is multithreaded and supports all options described in rfc2090 (multicast still experimental), rfc2347 (option extension), rfc2348 (blksize) and rfc2349 (tsize and timeout).

OPTIONS
This program supports both the usual GNU command line syntax, with long options starting with two dashes (`-') as well as short options. A description of the options is included below.

-t, --tftpd-timeout <value>
    Number of seconds of inactivity before the server exits. Default is 300 seconds.

-r, --retry-timeout <value>
    How many seconds to wait for a reply before retransimitting a packet. Default is 5 seconds. This can be overridden by the tftp client.

-m, --maxthread <value>
    Maximum number of concurrent threads allowed. Default is 100.

-v, --verbose[=value]
    Increase or set the logging level. No args will increase by one the current value. Default is LOG_NOTICE, see syslog(3) for log level. Current value range from 0 (LOG_EMERG) to 7 (LOG_DEBUG).

--no-timeout
    disable 'timeout' from RFC2349. This will prevent the server from acknowledging timeout option requested by the client.

--no-tsize
    disable 'tsize' from RFC2349. This will prevent the server from acknowledging tsize option requested by the client.

--no-blksize
    disable 'blksize' from RFC2348. This will prevent the server from acknowledging blksize request by the client.

--no-multicast
    disable 'multicast' from RFC2090. This will prevent the server from acknowledging multicast request by the client.

--logfile <logfile>
    Log to a specific file instead of only syslog. 'nobody' (or any user used to run the server) must have permissions on the given file. Assuming the file is /var/log/atftpd.log, simply run: "touch /var/log/atftpd.log" and then "chown nobody.nogroup /var/log/atftpd.log". When the server is ran in daemon mode, /dev/stdout or /dev/stderr can be used.

--daemon
    Run as a daemon. Do not use this option if atftpd is started by inetd.

--no-fork
    When --daemon is specified, this option will prevent the server from forking to backgroung. It is useful for debugging purpose or specialized usage.

--user <user[.group]>
    By default, the server change identity to the user nobody and group nogroup. Specify an alternate user.group with this option.

--group <group>
    Alternate way of specifing the group. If group is specified with --user and --group, the last option will be used.

--port
    Specify the port on which atftpd listen. Useful in when --daemon is specified.

--mcast_ttl
    Specify the ttl to be used for multicast datagram. By default a value of 1 is used.

--mcast_addr
    Specify the IP address range to be used for multicast transfer. Format string may comprise range and list of values: "239.255.0.0-31,128-132,200". Default value is "239.255.0.0-255".

--mcast_port
    Specify TCP port to use for multicast transfer. Format string may contain range and list of port number: "1753-2000,8000-9000". default value is "1753".

-h, --help
    Show summary of options.

-V, --version
    Show version of program.

path
    This is the root directory used by the in.tftpd server. All requested files from a TFTP client must reside in this directory. If not specified, the directory defaults to /tftpboot. Since in.tftpd run as the 'nobody' user, the permission of the directory must be set properly to allow file reading and writing.

STATS
Starting with release 0.2, the server collects some statistics. Currently the server compute system load, time between connections and some thread statistics like number of file sent, received, number of abort... To see those stats in the logs, you need to set --verbose=6 (LOG_NOTICE) or higher.

SEE ALSO
inetd(8), RFC1350, RFC2090, RFC2347, RFC2348 and RFC2349.

AUTHOR
This manual page was written by Remi Lefebvre <remi@debian.org> and Jean-Pierre Lefebvre <helix@step.polymtl.ca>.