summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2014-08-25 20:25:46 +0000
committerbluhm <bluhm@openbsd.org>2014-08-25 20:25:46 +0000
commit882eb9d27549abf466ee92e9d374d8e8ac2737d5 (patch)
treeb743c3604adf6938b2f329276cde65c7c5b83f63
parentCall check_tty_name() and check_log_name() with the string size and (diff)
downloadwireguard-openbsd-882eb9d27549abf466ee92e9d374d8e8ac2737d5.tar.xz
wireguard-openbsd-882eb9d27549abf466ee92e9d374d8e8ac2737d5.zip
Document the IPv4/IPv6 command line switches and protocol loghost
prefixes. OK jmc@ henning@
-rw-r--r--usr.sbin/syslogd/syslog.conf.56
-rw-r--r--usr.sbin/syslogd/syslogd.814
2 files changed, 15 insertions, 5 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5
index d554d773357..d79d8ebc478 100644
--- a/usr.sbin/syslogd/syslog.conf.5
+++ b/usr.sbin/syslogd/syslog.conf.5
@@ -26,10 +26,10 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)syslog.conf.5 8.1 (Berkeley) 6/9/93
-.\" $OpenBSD: syslog.conf.5,v 1.25 2014/08/21 17:16:37 bluhm Exp $
+.\" $OpenBSD: syslog.conf.5,v 1.26 2014/08/25 20:25:46 bluhm Exp $
.\" $NetBSD: syslog.conf.5,v 1.4 1996/01/02 17:41:46 perry Exp $
.\"
-.Dd $Mdocdate: August 21 2014 $
+.Dd $Mdocdate: August 25 2014 $
.Dt SYSLOG.CONF 5
.Os
.Sh NAME
@@ -227,6 +227,8 @@ square brackets
and
.Ql ]\&
.Pc .
+A prefix udp4:// or udp6:// in front of the hostname and after the
+at sign will force IPv4 or IPv6 addresses for UDP transport.
.It
A comma separated list of users.
Selected messages are written to those users
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8
index 72fac71cb14..abca8ffc809 100644
--- a/usr.sbin/syslogd/syslogd.8
+++ b/usr.sbin/syslogd/syslogd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: syslogd.8,v 1.29 2014/07/23 05:57:36 deraadt Exp $
+.\" $OpenBSD: syslogd.8,v 1.30 2014/08/25 20:25:46 bluhm Exp $
.\"
.\" Copyright (c) 1983, 1986, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -30,7 +30,7 @@
.\" from: @(#)syslogd.8 8.1 (Berkeley) 6/6/93
.\" $NetBSD: syslogd.8,v 1.3 1996/01/02 17:41:48 perry Exp $
.\"
-.Dd $Mdocdate: July 23 2014 $
+.Dd $Mdocdate: August 25 2014 $
.Dt SYSLOGD 8
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Sh SYNOPSIS
.Nm syslogd
.Bk -words
-.Op Fl dhnu
+.Op Fl 46dhnu
.Op Fl a Ar path
.Op Fl f Ar config_file
.Op Fl m Ar mark_interval
@@ -54,6 +54,14 @@ configuration file.
.Pp
The options are as follows:
.Bl -tag -width Ds
+.It Fl 4
+Forces
+.Nm
+to use IPv4 addresses only.
+.It Fl 6
+Forces
+.Nm
+to use IPv6 addresses only.
.It Fl a Ar path
Specify a location where
.Nm