Date: Fri, 14 Jan 2000 22:57:33 +0800 From: Peter Wemm <peter@netplex.com.au> To: Dag-Erling Smorgrav <des@flood.ping.uio.no> Cc: billf@FreeBSD.ORG, pekkas@netcore.fi, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/15414: syslogd -ss disables all network logging functions Message-ID: <20000114145733.DC8F71CA0@overcee.netplex.com.au> In-Reply-To: Message from Dag-Erling Smorgrav <des@flood.ping.uio.no> of "14 Jan 2000 15:27:06 %2B0100." <xzpiu0wohj9.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav wrote: > <billf@FreeBSD.ORG> writes: > > Synopsis: syslogd -ss disables all network logging functions [..] > If syslogd is started with -ss, it will not be able to log to a remote > machine because -ss instructs it to not open an UDP socket at all. > > What the originator really wants is -s, which instructs syslogd to > open a socket but only use it for *sending* log messages. Incomig > messages will be logged and discarded. One could argue that syslogd > should not even bother with that, but it *has* to bind the socket > because the receiving end will reject packets which do not originate > from port 514, and there is no way to make the socket write-only > (except maybe setting the receive buffer size to 0... I'll have to try > that). Or 'open(); bind(); sendto(); close()' for each remote message.. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000114145733.DC8F71CA0>
