Академический Документы
Профессиональный Документы
Культура Документы
USENET
NEWS
Anu Suresh
How USENET i s
impl em ente d?
• Smaller newsgroups are
implemented as mailing lists.
• But Usenet is not generally
implemented using mailing lists due
to some reasons.
• Each site stores the incoming mail in
a single directory.
• These in turn have subdirectories.
• ie; each site needs only one copy of
each news article, no matter how
many people subscribe to its
CONT . . .
XYZ
NETWORK NEWS TRANSFER PROTOCOL (NNTP)
• To avoid the flooding of articles onto every
line within usenet, NNTP was introduced.
• In this, client issues commands in ASCII
and a server issuing responses as decimal
nos coded in ASCII.
• NNTP was designed for two purposes.
• First, to allow news articles to propagate
from one m/c to another over a reliable
connection.
• Second, to allow users to read news
remotely, whose desktop computers
cannot receive news.
NNTP. . .
• Both techniques are widely used, but
concentration is on how news articles
spread out over the n/w using NNTP.
• 2 general approaches are possible
here.
• First one, news pull, the client calls
one of its newsfeeds and asks for
new news.
• Second one, news push, the
newsfeed calls the client and
announces that it has news.
NNTP . . .
• To acquire recent articles, a client
must first establish a TCP connection
with port 119 on one of its
newsfeeds.
• Behind this port is the NNTP daemon.
• After the connection is established,
the client and server communicate
using a sequence of commands and
responses.
The principal NNTP
NNTP…. commands for news
diffusion
Command Meaning
LIST Give me a list of all newsgroups and
articles you have
NEWSGROUPS Give me a list of newsgroups created
after date/time
date time
GROUP grp Give me a list of all grp