Article View: news.software.nntp
Article #3196Re: INN & UnixWare Part 2:
From: Jack Gross
Date: Fri, 23 Dec 1994 14:42
Date: Fri, 23 Dec 1994 14:42
91 lines
4462 bytes
4462 bytes
In article <3ddb4b$6bs@gateway.dircsa.org.au>,
Arthur Marsh <arthur@gateway.dircsa.org.au> wrote:
>Jack Gross (gross@fsg.prusec.com) wrote:
>
>: About a month ago I posted a message concerning using INN on UnixWare 1.1.2
>: with domain sockets. I told folks to get ptf149 which is a patch
>: for unix domain sockets.
>
>: I then noticed that inetd would go crazy and no longer service requests
>: if the system got very busy. Novell then researched this and recommended
>: ptf678 "fix for sockmod's incorrect handling of disconnect indication"
>: and since applying this ptf all is well.
>
>: I would suggest this to any and all of you who are running INN on UnixWare
>: as it works quite well. Many thanks to Novell for a quick resolution
>: to this problem.
>
>Any reasons to do this when INN is already running without domain sockets?
>
>
>
>: --
>: Jack Gross
>: Prudential Securities Inc.
>: (212)778-4582
>--
>Arthur Marsh, telephone +61-8-370-2365, fax +61-8-370-2133, +61-8-223-5082
> arthur@gateway.dircsa.org.au, arthur@cswamp.apana.org.au
>.endofsig
From the INN FAQ part 1.
Subject: Warnings to people that must set HAVE_UNIX_DOMAIN to DONT
Disclaimer: First of all, if you have to set HAVE_UNIX_DOMAIN to DONT,
YOU HAVE TO SET IT to DONT. It's not a choice you can make, it's a
description of the operating system that you've purchased. If you've
wrongly set this variable to DO your system isn't going to work *at*
*all*.
When you use POST (the NNTP command), you are talking to nnrpd. nnrpd
cleans up your headers, adds the missing headers that it is allowed to
add, checks whatever it checks, and then submits the finalized version
to innd. How does it talk to innd?
If you have HAVE_UNIX_DOMAIN set to DO, nnrpd opens a Unix domain
socket and sends the text. At this point it is talking to innd
somewhat like ctlinnd does. innd can trust that the post isn't
forged since it is coming from a program trustworthy enough to
get to the socket (which isn't much).
If you have HAVE_UNIX_DOMAIN set to DONT, it has no choice but to open
a socket to port 119, issue the "IHAVE" command, and send the text that
way (just like a remote newsreader). This means that innd (not another
nnrpd) has to be at the other end of the pipe. If it opens the
connection and sees a "nnrpd" you're hosed and you get "441 480
Transfer permission denied". (Better the "441 480" message than an
infinate loop of nnrpd's connecting to nnrpd's!) To get innd to not
hand off the connection to a nnrpd process, you must have the host's
name in the hosts.nntp file. (don't forget to do "ctlinnd reload
hosts.nntp")
If you have your host's name in the hosts.nntp file, then any
newsreader running on your nntphost must be "INN-aware" (i.e. that they
issue the "mode reader" command) or they must read news via the file
system instead of NNTP.
If you have NNTP-based newsreaders that can't send the "mode reader"
command, you can try including "server: localhost" in your inn.conf
file, but then you must have a different inn.conf file for the other
machines. If you can't do that, you have no other options but to
recompile your newsreaders.
Remember, if you change your inn.conf file, you must shutdown and
restart innd. There is no "ctlinnd reload inn.conf" command.
--
Tom Limoncelli -- tal@plts.org (home) -- tal@big.att.com (work)
"I just *LOVE* scanning for life forms!"
I hope that answers the question.
--
Jack Gross
Prudential Securities Inc.
(212)778-4582
Technical Details
Message-ID:
<3denk3$3cbd@zenith3.fsg.prusec.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.unixware.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!swrinde!pipex!uunet!prusec.prusec.com!fsg.prusec.com!not-for-mailReferences:
<3d4i66$3316@zenith4.fsg.prusec.com> <3ddb4b$6bs@gateway.dircsa.org.au>Show Full Headers
Complete Article Headers
Message-ID: <3denk3$3cbd@zenith3.fsg.prusec.com> Subject: Re: INN & UnixWare Part 2: Date: Fri, 23 Dec 1994 14:42:11 +0000 From: gross@fsg.prusec.com (Jack Gross) References: <3d4i66$3316@zenith4.fsg.prusec.com> <3ddb4b$6bs@gateway.dircsa.org.au> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.unixware.mbox.zip!nntp.gmd.de!newsserver.jvnc.net!howland.reston.ans.net!swrinde!pipex!uunet!prusec.prusec.com!fsg.prusec.com!not-for-mail Newsgroups: comp.unix.unixware,news.software.nntp Organization: Prudential Securities Inc. Lines: 90 Distribution: inet NNTP-Posting-Host: zenith3.fsg.prusec.com X-ORIGINAL-NEWSGROUPS: comp.unix.unixware,news.software.nntp