diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2001-02-01 16:44:04 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2001-02-01 16:44:04 +0000 |
| commit | 610a5778c5c8d73cb2bbbe7761f8cb312dc96392 (patch) | |
| tree | 201726ab6d3926ac9639b0be8a4461fd45c51b66 /usr.sbin/syslogd | |
| parent | 1c59150ad7f1c8cbac72f0a1c662d910b25a3282 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/syslogd')
| -rw-r--r-- | usr.sbin/syslogd/syslog.conf.5 | 3 | ||||
| -rw-r--r-- | usr.sbin/syslogd/syslogd.8 | 22 |
2 files changed, 19 insertions, 6 deletions
diff --git a/usr.sbin/syslogd/syslog.conf.5 b/usr.sbin/syslogd/syslog.conf.5 index d77e6b260054..c44142338efe 100644 --- a/usr.sbin/syslogd/syslog.conf.5 +++ b/usr.sbin/syslogd/syslog.conf.5 @@ -117,8 +117,7 @@ may be used to specify exactly what is logged. The default set of comparison flags are .Dq => (or, if you prefer, -.Do >= -.Dc ), +.Dq >= ) , which means that messages from the specified .Em facility list of a priority diff --git a/usr.sbin/syslogd/syslogd.8 b/usr.sbin/syslogd/syslogd.8 index 6e4611d822ea..83cf993b89d1 100644 --- a/usr.sbin/syslogd/syslogd.8 +++ b/usr.sbin/syslogd/syslogd.8 @@ -81,7 +81,13 @@ options may be specified. .Ar Allowed_peer can be any of the following: .Bl -tag -width "ipaddr/masklen[:service]XX" -.It Ar ipaddr/masklen Ns Op Ar :service +.It Xo +.Sm off +.Ar ipaddr +.No / Ar masklen +.Op : Ar service +.Sm on +.Xc Accept datagrams from .Ar ipaddr (in the usual dotted quad notation) with @@ -116,13 +122,21 @@ by 24 otherwise. If is IPv6 address, a missing .Ar masklen will be substituted by 128. -.It Ar domainname Ns Op Ar :service +.It Xo +.Sm off +.Ar domainname Op : Ar service +.Sm on +.Xc Accept datagrams where the reverse address lookup yields .Ar domainname for the sender address. The meaning of .Ar service is as explained above. -.It Ar *domainname Ns Op Ar :service +.It Xo +.Sm off +.No * Ar domainname Op : Ar service +.Sm on +.Xc Same as before, except that any source host whose name .Em ends in @@ -218,7 +232,7 @@ The message sent to should consist of a single line. The message can contain a priority code, which should be a preceding decimal number in angle braces, for example, -.Sq Aq 5. +.Sq Aq 5 . This priority code should map into the priorities defined in the include file .Aq Pa sys/syslog.h . |
