From 09ff32299be6abf1d2d926f7f7c9080d6a296680 Mon Sep 17 00:00:00 2001 From: bluhm Date: Tue, 20 Jan 2015 22:10:37 +0000 Subject: [PATCH] Document how to send syslog messages over TCP or TLS. OK jmc@ --- usr.sbin/syslogd/syslog.conf.5 | 6 ++++-- usr.sbin/syslogd/syslogd.8 | 8 ++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5 index d79d8ebc478..8a5a42a4fa6 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.26 2014/08/25 20:25:46 bluhm Exp $ +.\" $OpenBSD: syslog.conf.5,v 1.27 2015/01/20 22:10:37 bluhm Exp $ .\" $NetBSD: syslog.conf.5,v 1.4 1996/01/02 17:41:46 perry Exp $ .\" -.Dd $Mdocdate: August 25 2014 $ +.Dd $Mdocdate: January 20 2015 $ .Dt SYSLOG.CONF 5 .Os .Sh NAME @@ -229,6 +229,8 @@ and .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. +The prefixes tcp[46]:// or tls[46]:// send messages over TCP or +TLS, respectively, with an optional IP version 4 or 6. .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 053826caacd..b25d0915dbe 100644 --- a/usr.sbin/syslogd/syslogd.8 +++ b/usr.sbin/syslogd/syslogd.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: syslogd.8,v 1.31 2014/09/08 00:43:42 doug Exp $ +.\" $OpenBSD: syslogd.8,v 1.32 2015/01/20 22:10:37 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: September 8 2014 $ +.Dd $Mdocdate: January 20 2015 $ .Dt SYSLOGD 8 .Os .Sh NAME @@ -57,11 +57,11 @@ The options are as follows: .It Fl 4 Forces .Nm -to use IPv4 addresses only. +to use only IPv4 addresses for UDP. .It Fl 6 Forces .Nm -to use IPv6 addresses only. +to use only IPv6 addresses for UDP. .It Fl a Ar path Specify a location where .Nm -- 2.20.1