From owner-freebsd-questions@FreeBSD.ORG Mon Jan 30 15:59:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7198B106566B for ; Mon, 30 Jan 2012 15:59:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id CBB178FC14 for ; Mon, 30 Jan 2012 15:59:53 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [IPv6:2001:8b0:151:1:fa1e:dfff:feda:c0bb]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q0UFxoBB026219 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 30 Jan 2012 15:59:50 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.4.3 smtp.infracaninophile.co.uk q0UFxoBB026219 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1327939190; bh=gjxvvsT78kJuc5K3EfbWLmE96xCTaI4QyjksHktUdHc=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc; b=xHTA0OXWcbUdqof3B8/6fnqVcefoea3Dg/aYNUaSXPyM7pagtlLWN5U3zssTiSvlc ibtABXMg4GjmtYNZ7x8Yng66qhtw0LwuYkcyi6xGeoKaDqvzXoVp+i07Q+GuawL3li Vht/3Hhuet/ApSOPwsPYDj3NbE6oAqAl3qH1h8tA= Message-ID: <4F26BE75.5080708@infracaninophile.co.uk> Date: Mon, 30 Jan 2012 15:59:49 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <31C3E932-AC4E-473B-89ED-FFB21CAA7C34@todoo.biz> In-Reply-To: <31C3E932-AC4E-473B-89ED-FFB21CAA7C34@todoo.biz> X-Enigmail-Version: 1.3.4 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig65334C6455C25499A55F6041" X-Virus-Scanned: clamav-milter 0.97.3 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: Setting up a syslog server in a jail X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jan 2012 15:59:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig65334C6455C25499A55F6041 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 30/01/2012 15:40, bsd wrote: > I am still not able to get the log correctly sent to the specified jail= =85 ??=20 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=3D"-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 --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig65334C6455C25499A55F6041 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk8mvnUACgkQ8Mjk52CukIysJwCghsh5kO19mgdw/3UQQlf+/mNy WkoAn1T9PrZbvV3xNpnBjAlfYlyTyNHa =kpPr -----END PGP SIGNATURE----- --------------enig65334C6455C25499A55F6041--