221 lines
3.7 KiB
HTML
221 lines
3.7 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Newsreaders and INN</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.57"><LINK
|
|
REL="HOME"
|
|
TITLE="Linux Network Administrators Guide"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Internet News"
|
|
HREF="x-087-2-inn.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Some INN Internals"
|
|
HREF="x18201.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Installing INN"
|
|
HREF="x18301.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Linux Network Administrators Guide</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x18201.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 23. Internet News</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="x18301.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="AEN18278"
|
|
>23.2. Newsreaders and INN</A
|
|
></H1
|
|
><P
|
|
>
|
|
Newsreaders running on the same machine as the server (or having mounted
|
|
the server's news spool via NFS) can read articles from the
|
|
spool directly. To post an article composed by the user, they invoke the
|
|
<B
|
|
CLASS="COMMAND"
|
|
>inews</B
|
|
> program, which adds any header fields that are
|
|
missing and forwards them to the daemon via NNTP.</P
|
|
><P
|
|
> Alternatively, newsreaders can access the server remotely via
|
|
NNTP. This type of connection is handled differently from NNTP-based
|
|
news feeds, to avoid tying up the daemon. Whenever a newsreader
|
|
connects to the NNTP server, <B
|
|
CLASS="COMMAND"
|
|
>innd</B
|
|
> forks a
|
|
separate program called <B
|
|
CLASS="COMMAND"
|
|
>nnrpd</B
|
|
>, which handles
|
|
the session while <B
|
|
CLASS="COMMAND"
|
|
>innd</B
|
|
> returns to the more
|
|
important things (receiving incoming news, for
|
|
example).<A
|
|
NAME="AEN18294"
|
|
HREF="#FTN.AEN18294"
|
|
>[1]</A
|
|
> You may be wondering how the
|
|
<B
|
|
CLASS="COMMAND"
|
|
>innd</B
|
|
> process can distinguish between an incoming
|
|
news feed and a connecting newsreader. The answer is quite simple: the
|
|
NNTP protocol requires that an NNTP-based newsreader issue a
|
|
<B
|
|
CLASS="COMMAND"
|
|
>mode reader</B
|
|
> command after connecting to the server;
|
|
when this command is received, the server starts the
|
|
<B
|
|
CLASS="COMMAND"
|
|
>nnrpd</B
|
|
> process, hands the connection to it, and
|
|
returns to listening for connections from another news server. There
|
|
used to be at least one DOS-based newsreader which was not configured
|
|
to do this, and hence failed miserably when talking to INN, because
|
|
<B
|
|
CLASS="COMMAND"
|
|
>innd</B
|
|
> itself does not recognize any of the commands
|
|
used to read news if it doesn't know the connection is from a news
|
|
reader.</P
|
|
><P
|
|
>We'll talk a little more about newsreader access to INN under
|
|
"Controlling Newsreader Access," later in the chapter.</P
|
|
></DIV
|
|
><H3
|
|
CLASS="FOOTNOTES"
|
|
>Notes</H3
|
|
><TABLE
|
|
BORDER="0"
|
|
CLASS="FOOTNOTES"
|
|
WIDTH="100%"
|
|
><TR
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
WIDTH="5%"
|
|
><A
|
|
NAME="FTN.AEN18294"
|
|
HREF="x18278.html#AEN18294"
|
|
>[1]</A
|
|
></TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
WIDTH="95%"
|
|
><P
|
|
> The name apparently stands for NetNews Read
|
|
& Post Daemon. </P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x18201.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x18301.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Some INN Internals</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="x-087-2-inn.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Installing INN</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |