🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
4 messages
4 total messages Started by prozac Sun, 04 Jul 1999 00:00
IHAVE command
#38418
Author: prozac
Date: Sun, 04 Jul 1999 00:00
12 lines
917 bytes
Hi

Im intrested in understanding IHAVE command - Is a client / server command
or command of 2 servers exchanging articles ??

Is NNTP the protocol that  exchanges articles between servers ??

Thanks.



Re: IHAVE command
#38414
Author: Curt Welch
Date: Sun, 04 Jul 1999 00:00
27 lines
1790 bytes
"prozac" <prozac@microsoft.com> wrote:
> Hi
>
> Im intrested in understanding IHAVE command - Is a client / server
> command or command of 2 servers exchanging articles ??

It's used when two server exchange news.  Most servers these days
use the newer CHECK/TAKETHIS set of commands instead of IHAVE but they
all support IHAVE.

The use of IHAVE is very simple.  The server that has an article and
want's to send it to another server makes the connection, and sends
the IHAVE command which has an argument of the message-id of the article.
The receiving server sends back a result code saying either; I already
have that article, don't send it; I don't have that article, please send
it; or some other server has already told me they are going to send that
article to me so please try again later.

> Is NNTP the protocol that  exchanges articles between servers ??

Yes.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Re: IHAVE command
#38419
Author: Tyrant
Date: Mon, 05 Jul 1999 00:00
62 lines
3091 bytes
I have been using telnet on a lot of servers, partly to get expierence with
how nntp works, and partly so I can find open access servers which carry a
group I subscribe to (who's members are having problems with servers, posts
going missing, servers going down at random). I check if they have the
group, if they allow posting, and if they allow ihave sending (so I can
forward important articles to them to speed up propogation). A great many
servers respond to ihave with an unrecognised or unsupported responce, while
many others say they dont allow it or request authorisation.

I was under the impression that all servers had to support it (ie not reply
with an unrecognised command reply), even if they didnt allow it's use.

--

Nick Turner
The Tyrant
UFF #0002

--

------------------------------------------------------------------------

"Every man is but a spark in the darkness. By the time he is noticed he is
gone forever. A retinal after image that fades and is obscured by newer,
brighter lights."

------------------------------------------------------------------------


Curt Welch <curt@kcwc.com> wrote in message
news:19990704112756.748$1A@newsreader.com...
> "prozac" <prozac@microsoft.com> wrote:
> > Hi
> >
> > Im intrested in understanding IHAVE command - Is a client / server
> > command or command of 2 servers exchanging articles ??
>
> It's used when two server exchange news.  Most servers these days
> use the newer CHECK/TAKETHIS set of commands instead of IHAVE but they
> all support IHAVE.
>
> The use of IHAVE is very simple.  The server that has an article and
> want's to send it to another server makes the connection, and sends
> the IHAVE command which has an argument of the message-id of the article.
> The receiving server sends back a result code saying either; I already
> have that article, don't send it; I don't have that article, please send
> it; or some other server has already told me they are going to send that
> article to me so please try again later.
>
> > Is NNTP the protocol that  exchanges articles between servers ??
>
> Yes.
>
> --
> Curt Welch
http://CurtWelch.Com/
> curt@kcwc.com                          Webmaster for
http://NewsReader.Com/



Re: IHAVE command
#38450
Author: Curt Welch
Date: Tue, 06 Jul 1999 00:00
28 lines
2114 bytes
> I was under the impression that all servers had to

There's really no such thing as "had to" in NNTP.  I've never seen
a server that actually matched any of the RFCs completely.  The RFCs tend
to get written after the fact and in addition to just documenting the way
things are, they try to "fix" a few minor issues.  But some of these
"fixes" have never been implemented by anybody I know of.  If you want to
know what NNTP is really like, you have to just what you are doing.  Just
thest all the servers and see what they actually do.

> support it (ie not
> reply with an unrecognised command reply), even if they didnt allow it's
> use.

If your connection isn't authorized to feed news, then it's not really
important how the server responds to an ihave command.  Some return the
480 "no permission" code, others return one of the 5xx "What?" codes.

On some systems, it's actually a different program which is responding
to your request (e.g. nnrpd vs innd) -- and if you are talking to nnrpd
then it doesn't know about the IHAVE command (only innd does) so returning
a 5xx code makes some sense in that context.

-- 
Curt Welch                                            http://CurtWelch.Com/
curt@kcwc.com                          Webmaster for http://NewsReader.Com/

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads