Article View: news.software.nntp
Article #70557Re: controlchan logging on OpenBSD
From: Russ Allbery
Date: Sun, 02 Jan 2005 21:10
Date: Sun, 02 Jan 2005 21:10
27 lines
2409 bytes
2409 bytes
Maurice Janssen <mauricej@xs4all.nl> writes:
> Russ Allbery wrote:
>> What version of Perl are you running? This is supposed to not matter
>> any more with current versions of Perl and Sys::Syslog; it's supposed
>> to try TCP, UDP, and then /dev/log in sequence until one of them works.
>> That code is only in there for versions of Perl older than 5.6.1, I
>> thought.
> Ah, that might explain it. By default, syslogd on OpenBSD runs in
> secure more, discarding anything it receives on the UDP socket.
> Only if the -u switch is used, the input is logged.
I think the problem may be that it's *listening* to the UDP socket, but
discarding everything it gets. If it didn't listen to the socket at all,
I wonder if the fallback would work.
In any case, I wonder if we should go for changing the default order,
telling Sys::Syslog to try unix and stream first, and only if they fail,
to fall back on TCP and UDP. Since unix and stream should at least have
clear failure modes.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<87d5wnill1.fsf@windlord.stanford.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!199.218.7.141!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mailReferences:
<cr8f0c$795$1@linux.z74.net> <87vfafiqtg.fsf@windlord.stanford.edu> <cr9m85$lnv$1@linux.z74.net>Show Full Headers
Complete Article Headers
Message-ID: <87d5wnill1.fsf@windlord.stanford.edu> Subject: Re: controlchan logging on OpenBSD Date: Sun, 02 Jan 2005 13:10:18 -0800 From: Russ Allbery <rra@stanford.edu> References: <cr8f0c$795$1@linux.z74.net> <87vfafiqtg.fsf@windlord.stanford.edu> <cr9m85$lnv$1@linux.z74.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!internal1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!wns13feed!worldnet.att.net!199.218.7.141!news.glorb.com!logbridge.uoregon.edu!newsfeed.stanford.edu!shelby.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 27 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 1104700218 3566 171.64.19.147 (2 Jan 2005 21:10:18 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.1007 (Gnus v5.10.7) XEmacs/21.4 (Corporate Culture, linux) Cancel-Lock: sha1:+ExfVI6CqMF60VjMplLZ5tVA1Sc=