Date: Thu, 6 Jun 2019 08:39:30 +0200 From: Andrea Venturoli <ml@netfence.it> To: freebsd-questions@freebsd.org, dave.mehler@gmail.com Subject: Re: to jail or not to jail Message-ID: <4d1e0daa-90c6-1729-6ccd-b44200d87034@netfence.it> In-Reply-To: <CAPORhP410HKPOmqXJ-0VPo%2BpO7GY_vd3b0WHtkRJKXiXR=vozw@mail.gmail.com> References: <CAPORhP4pbfCC96PXOeErJgswX_2dh%2BmXcBb1TrH6F0f5oN-wDw@mail.gmail.com> <20190603101917.GA76784@home.lan> <CAPORhP410HKPOmqXJ-0VPo%2BpO7GY_vd3b0WHtkRJKXiXR=vozw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 6/6/19 6:41 AM, David Mehler wrote: > 2. I'm needing each jail to log to the host machine. I'm wanting to do > this because I've got fail2ban going on the host and want to ban > addresses that are hitting on the jails. In the jail: _ add syslogd_enable="NO" to /etc/rc.conf; _ service syslogd stop. In the host: _ add "-l /usr/jails/{myjail}/var/run/log" to syslogd_flags in /etc/rc.conf (or whatever if you use other files); _ service syslogd restart. Standard security considerations apply. bye av.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4d1e0daa-90c6-1729-6ccd-b44200d87034>