Equivalent to Syslog's -a for extra socket listening?
I'm reading up on chrooting bind and need a log socket inside the chroot jail. Is there an equivalent to Syslogd's -a switch that creates a second socket to listen on? I suspect not, and that I will have to create it myself and then just add a source for the extra unix-stream definition to my conf. Thanks for any feedback you can give on this. Hari Sekhon
On Fri, Aug 25, 2006 at 04:07:43AM +0100, Hari Sekhon wrote:
I'm reading up on chrooting bind and need a log socket inside the chroot jail. Is there an equivalent to Syslogd's -a switch that creates a second socket to listen on?
I suspect not, and that I will have to create it myself and then just add a source for the extra unix-stream definition to my conf.
Wow, when I first saw your name I thought it said "Hari Seldon", a character from some of my favorite science fiction. Anyways, here's what you need: http://www.campin.net/syslog-ng/faq.html#chroot syslog-ng will create the socket. -- Nate The only way to convince some people that HTML is about content, not style is with a <PLANK>2x4</PLANK>.
Thanks for that, hit it on the head. I'll add the necessary unix-stream definition(s). OT: I've heard people mention Hari Seldon before but I have idea what they are talking about, I must find out what this show is and then go watch it... see what all the fuss is about. Personally I'd rather be called Kosh from Babylon 5. I don't expect anyone to understand, but then who understands a Vorlon... -h On 25/08/06, Nate Campi <nate@campin.net> wrote:
On Fri, Aug 25, 2006 at 04:07:43AM +0100, Hari Sekhon wrote:
I'm reading up on chrooting bind and need a log socket inside the chroot jail. Is there an equivalent to Syslogd's -a switch that creates a second socket to listen on?
I suspect not, and that I will have to create it myself and then just add a source for the extra unix-stream definition to my conf.
Wow, when I first saw your name I thought it said "Hari Seldon", a character from some of my favorite science fiction.
Anyways, here's what you need:
http://www.campin.net/syslog-ng/faq.html#chroot
syslog-ng will create the socket. -- Nate
The only way to convince some people that HTML is about content, not style is with a <PLANK>2x4</PLANK>.
_______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
participants (2)
-
Hari Sekhon
-
Nate Campi