summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.8
diff options
context:
space:
mode:
authordd <dd@FreeBSD.org>2001-09-01 08:42:49 +0000
committerdd <dd@FreeBSD.org>2001-09-01 08:42:49 +0000
commit396c50b0c10ef7bd39a5ac7d7232a64ee4e41160 (patch)
tree6f788de6ece24520f83741e4da05c85409167f99 /usr.sbin/syslogd/syslogd.8
parentc96eebc7a1aa275953e64896ff9b2e3aae631004 (diff)
downloadFreeBSD-src-396c50b0c10ef7bd39a5ac7d7232a64ee4e41160.zip
FreeBSD-src-396c50b0c10ef7bd39a5ac7d7232a64ee4e41160.tar.gz
Introduce a -b option that allows the user to specify which address to
bind to. This is useful for hosts running jails that need syslog to maintain an open socket to log to a remote host. Reviewed by: sheldonh
Diffstat (limited to 'usr.sbin/syslogd/syslogd.8')
-rw-r--r--usr.sbin/syslogd/syslogd.85
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8
index 5e56d25..641bb4a 100644
--- a/usr.sbin/syslogd/syslogd.8
+++ b/usr.sbin/syslogd/syslogd.8
@@ -42,6 +42,7 @@
.Nm
.Op Fl 46Adknsuv
.Op Fl a Ar allowed_peer
+.Op Fl b Ar bind_address
.Op Fl f Ar config_file
.Op Fl m Ar mark_interval
.Op Fl p Ar log_socket
@@ -151,6 +152,10 @@ 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 Fl d
Put
.Nm
OpenPOWER on IntegriCloud