summaryrefslogtreecommitdiff
path: root/libexec/tftpd/tftpd.8
diff options
context:
space:
mode:
authorJolan Luff <jolan@cvs.openbsd.org>2007-11-26 18:39:07 +0000
committerJolan Luff <jolan@cvs.openbsd.org>2007-11-26 18:39:07 +0000
commit69c2f70394f999c3c4f79549af738509b8c9757b (patch)
tree67e78f4c34954b5ca1a319f491e0e3054413912f /libexec/tftpd/tftpd.8
parentba88f5b4144794595fbec4b6825f61b9b8bc8ddd (diff)
add logging option, ok deraadt@
Diffstat (limited to 'libexec/tftpd/tftpd.8')
-rw-r--r--libexec/tftpd/tftpd.822
1 files changed, 17 insertions, 5 deletions
diff --git a/libexec/tftpd/tftpd.8 b/libexec/tftpd/tftpd.8
index 78339330241..77677bf98d6 100644
--- a/libexec/tftpd/tftpd.8
+++ b/libexec/tftpd/tftpd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tftpd.8,v 1.22 2007/05/31 19:19:41 jmc Exp $
+.\" $OpenBSD: tftpd.8,v 1.23 2007/11/26 18:39:06 jolan Exp $
.\"
.\" Copyright (c) 1983, 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -28,9 +28,9 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)tftpd.8 6.7 (Berkeley) 5/13/91
-.\" $OpenBSD: tftpd.8,v 1.22 2007/05/31 19:19:41 jmc Exp $
+.\" $OpenBSD: tftpd.8,v 1.23 2007/11/26 18:39:06 jolan Exp $
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: November 26 2007 $
.Dt TFTPD 8
.Os
.Sh NAME
@@ -42,7 +42,7 @@ Trivial File Transfer Protocol server
.Nm tftpd
.Op Ar directory ...
.Nm tftpd
-.Op Fl cs
+.Op Fl cls
.Op Ar directory
.Sh DESCRIPTION
.Nm
@@ -100,6 +100,12 @@ will allow new files to be created; otherwise uploaded files must already
exist.
Files are created with default permissions allowing anyone to read
or write to them.
+.It Fl l
+If the
+.Fl l
+flag is used, the client IP, type of request, and filename will be logged using
+syslog with a facility of
+.Dv LOG_INFO .
.It Fl s
When using the
.Fl s
@@ -116,7 +122,8 @@ compatibility with SunOS boot ROMs which do not include a directory name.
.Xr tftp 1 ,
.Xr inetd 8 ,
.Xr pxeboot 8 ,
-.Xr tftp-proxy 8
+.Xr tftp-proxy 8 ,
+.Xr syslogd 8
.Sh HISTORY
The
.Nm
@@ -132,6 +139,11 @@ The
.Fl c
flag was added in
.Ox 2.1 .
+.Pp
+The
+.Fl l
+flag was added in
+.Ox 4.3 .
.Sh BUGS
Many TFTP clients will not transfer files over 16744448 octets
.Pq 32767 blocks .