summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.8
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2000-12-16 18:25:48 +0000
committerume <ume@FreeBSD.org>2000-12-16 18:25:48 +0000
commit6b337143f034c6c48c1be74de60562e248ba61b8 (patch)
treef60e0e40e84b9a2ce5cabda779c28242448b909f /usr.sbin/syslogd/syslogd.8
parentbd199e398300ffe7763db31037bf1a6d19b2d407 (diff)
downloadFreeBSD-src-6b337143f034c6c48c1be74de60562e248ba61b8.zip
FreeBSD-src-6b337143f034c6c48c1be74de60562e248ba61b8.tar.gz
IPv6 support for syslogd.
Reviewed by: freebsd-current Obtained from: NetBSD
Diffstat (limited to 'usr.sbin/syslogd/syslogd.8')
-rw-r--r--usr.sbin/syslogd/syslogd.834
1 files changed, 30 insertions, 4 deletions
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8
index c4a0a9e..a13a4a7 100644
--- a/usr.sbin/syslogd/syslogd.8
+++ b/usr.sbin/syslogd/syslogd.8
@@ -54,6 +54,21 @@ machines and/or users as specified by its configuration file.
.Pp
The options are as follows:
.Bl -tag -width indent
+.It Fl 4
+Forces
+.Nm
+to use IPv4 addresses only.
+.It Fl 6
+Forces
+.Nm
+to use IPv6 addresses only.
+.It Fl A
+.Nm
+tries to send the message to only one address
+even if the host has more than one A or AAAA record.
+If this option is specified,
+.Nm
+tries to send the message to all addresses.
.It Fl a Ar allowed_peer
Allow
.Ar allowed_peer
@@ -71,8 +86,13 @@ Accept datagrams from
.Ar ipaddr
(in the usual dotted quad notation) with
.Ar masklen
-bits being taken into account when doing the address comparison. If
-specified,
+bits being taken into account when doing the address comparison.
+.Ar ipaddr
+can be also IPv6 address by enclosing the address with
+.Ql [
+and
+.Ql \&] .
+If specified,
.Ar service
is the name or number of an UDP service (see
.Xr services 5 ) Ns
@@ -84,12 +104,18 @@ allows packets being sent from any UDP port. The default
.Ar service
is
.Ql syslog .
-A missing
+If
+.Ar ipaddr
+is IPv4 address, a missing
.Ar masklen
will be substituted by the historic class A or class B netmasks if
.Ar ipaddr
belongs into the address range of class A or B, respectively, or
-by 24 otherwise.
+by 24 otherwise. If
+.Ar ipaddr
+is IPv6 address, a missing
+.Ar masklen
+will be substituted by 128.
.It Ar domainname Ns Op Ar :service
Accept datagrams where the reverse address lookup yields
.Ar domainname
OpenPOWER on IntegriCloud