summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.8
diff options
context:
space:
mode:
authorolli <olli@FreeBSD.org>2010-08-07 16:20:12 +0000
committerolli <olli@FreeBSD.org>2010-08-07 16:20:12 +0000
commitdf9856d691fbca1e8ff4b45603ecfbdd68871ea0 (patch)
tree4049e8751d59c1b4729c17a0cbab04c84dc26601 /usr.sbin/syslogd/syslogd.8
parent14181a6158ab7f64400289d8431445b3079ef76a (diff)
downloadFreeBSD-src-df9856d691fbca1e8ff4b45603ecfbdd68871ea0.zip
FreeBSD-src-df9856d691fbca1e8ff4b45603ecfbdd68871ea0.tar.gz
syslogd(8) already supports *sending* log messages to non-
standard ports, but it can't *receive* them (port 514 is hardcoded). This commit adds that missing feature. (NB: I actually needed this feature for a server farm where multiple jails run with shared IP addresses, and every jail should have its own syslogd process.) As a side effect, syslogd now compiles with WARNS=6. Approved by: des (mentor) MFC after: 3 weeks
Diffstat (limited to 'usr.sbin/syslogd/syslogd.8')
-rw-r--r--usr.sbin/syslogd/syslogd.827
1 files changed, 23 insertions, 4 deletions
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8
index aae9b4f..ff0141d 100644
--- a/usr.sbin/syslogd/syslogd.8
+++ b/usr.sbin/syslogd/syslogd.8
@@ -171,10 +171,29 @@ The
options are ignored if the
.Fl s
option is also specified.
-.It Fl b Ar bind_address
-Specify one specific IP address or hostname to bind to.
-If a hostname is specified,
-the IPv4 or IPv6 address which corresponds to it is used.
+.It Xo
+.Fl b
+.Sm off
+.Ar bind_address Op : Ar service
+.Sm on
+.Xc
+.It Xo
+.Fl b
+.Sm off
+.Li : Ar service
+.Sm on
+.Xc
+Bind to a specific address and/or port.
+The address can be specified as a hostname,
+and the port as a service name.
+If an IPv6 address is specified, it should be enclosed with
+.Ql \&[
+and
+.Ql \&] .
+The default
+.Ar service
+is
+.Ql syslog .
.It Fl C
Create log files that do not exist (permission is set to
.Li 0600 ) .
OpenPOWER on IntegriCloud