[FUG-BR] RES: Sugestão de serv idor Syslog

Nilton Jose Rizzo rizzo em i805.com.br
Quarta Março 26 16:46:03 BRT 2014


Sinceramente porque não usa o syslogd do sistema????



SYSLOGD(8)              FreeBSD System Manager's Manual             SYSLOGD(8)

NAME
     syslogd — log systems messages

SYNOPSIS
     syslogd [-468ACcdkNnosTuv] [-a allowed_peer] [-b bind_address]
             [-f config_file] [-l [mode:]path] [-m mark_interval]
             [-P pid_file] [-p log_socket]

DESCRIPTION
     The syslogd utility reads and logs messages to the system console, log
     files, other machines and/or users as specified by its configuration
     file.

<skip>

    -a allowed_peer
             Allow allowed_peer to log to this syslogd using UDP datagrams.
             Multiple -a options may be specified.

             The allowed_peer option may be any of the following:

             ipaddr/masklen[:service]    Accept datagrams from ipaddr (in the
                                         usual dotted quad notation) with
                                         masklen bits being taken into account
                                         when doing the address comparison.
                                         ipaddr can be also IPv6 address by
                                         enclosing the address with ‘[’ and
                                         ‘]’.  If specified, service is the
                                         name or number of an UDP service (see
                                         services(5)) the source packet must
                                         belong to.  A service of ‘*’ allows
                                         packets being sent from any UDP port.
                                         The default service is ‘syslog’.  If
                                         ipaddr is IPv4 address, a missing
                                         masklen will be substituted by the
                                         historic class A or class B netmasks
                                         if ipaddr belongs into the address
                                         range of class A or B, respectively,
                                         or by 24 otherwise.  If ipaddr is
                                         IPv6 address, a missing masklen will
                                         be substituted by 128.

             domainname[:service]        Accept datagrams where the reverse
                                         address lookup yields domainname for
                                         the sender address.  The meaning of
                                         service is as explained above.

             *domainname[:service]       Same as before, except that any
                                         source host whose name ends in
                                         domainname will get permission.

             The -a options are ignored if the -s option is also specified.

     -b bind_address[:service]

     -b :service
             Bind to a specific address and/or port.  The address can be spec‐
             ified as a hostname, and the port as a service name.  If an IPv6
             address is specified, it should be enclosed with ‘[’ and ‘]’.
             The default service is ‘syslog’.



O proprio FreeBSD tem isso porque reinventar a roda?


Rizzo



Mais detalhes sobre a lista de discussão freebsd