Setting up a syslog server in a jail
Matthew Seaman
m.seaman at infracaninophile.co.uk
Mon Jan 30 15:59:54 UTC 2012
On 30/01/2012 15:40, bsd wrote:
> I am still not able to get the log correctly sent to the specified jail… ??
Are you running syslogd in the host environment? If so, it's probably
bound to INADDR_ANY and thus pre-empted your jailed syslog from binding
to a network port.
Try adding
syslogd_flags="-ss"
in the host environment. That prevents syslogd from listening via a
network port at all, although it will still happily log messages from
the local machine.
Use sockstat(1) to diagnose what addresses syslogd(8)s have bound to.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard
Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matthew at infracaninophile.co.uk Kent, CT11 9PW
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120130/55604306/signature.pgp
More information about the freebsd-questions
mailing list