🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
5 messages
5 total messages Started by Andy Kriger Sat, 08 Mar 1997 00:00
Keep-alive
#15647
Author: Andy Kriger
Date: Sat, 08 Mar 1997 00:00
11 lines
775 bytes
I am working on a newsreader client and my news server has a 30 second
timeout. This mean repeated connecting. My current newsreader (Free
Agent) has a keep-alive option. Is there a standard keep-alive message
or is this as simple as sending a period and ignoring the "500 What?"
response.

thx


Re: Keep-alive
#15655
Author: James Brister
Date: Sat, 08 Mar 1997 00:00
28 lines
1756 bytes
vision@halcyon.com (Andy Kriger) writes:

> I am working on a newsreader client and my news server has a 30 second
> timeout. This mean repeated connecting. My current newsreader (Free
> Agent) has a keep-alive option. Is there a standard keep-alive message
> or is this as simple as sending a period and ignoring the "500 What?"
> response.

Don't do that. The timeouts are there for a reason -- to reduce resource
consumption on the server when someone walks away from their computer for a
couple hours and forgets to close their newsreader. It will also defeat PPP
idle timeouts and keep telephone connections open, which for people who pay
for all phone calls by the minute (most of the free world), will be
aggravating to say the least.

30 seconds is the default timeout for the first command, after that the
timeout is 10 minutes. If you force the connection to stay open then you'll
be adding unnecessary burden on the news server. If Free Agent issues
unecessary commands just to keep the link open then that's pretty
unneighbourly of it.

James
-- 
James Brister                                            brister@vix.com
Internet Software Consortium    http://www.isc.org/isc   inn@isc.org 

Re: Keep-alive
#15708
Author: Brad Templeton
Date: Mon, 10 Mar 1997 00:00
26 lines
1527 bytes
In article <5fuiel$q5s@papaioea.manawatu.gen.nz>,
Alan Brown <alan@news.manawatu.gen.nz> wrote:
>In article <yy3wwriovjv.fsf@velo.pp.vix.com>,
>James Brister  <brister@vix.com> wrote:
>
>>...If Free Agent issues
>>unecessary commands just to keep the link open then that's pretty
>>unneighbourly of it.
>
>Initial versions did.
>
>The release versions (1.0 and 1.1) default to having this off.

It shouldn't even be something you can turn on.   If I had an NNTP server
I would put code in that detected somebody doing this and bounced them
and disabled their access if they had a fixed IP address.


The server pays a higher price to bounce a user that comes back than the
client does, so if the server has a short timeout, it probably has a reason.
-- 
Brad Templeton, publisher, ClariNet Communications Corp.	 info@clari.net
The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.)  http://www.clari.net/brad/

Re: Keep-alive
#15717
Author: Alan Brown
Date: Mon, 10 Mar 1997 00:00
21 lines
1229 bytes
In article <yy3wwriovjv.fsf@velo.pp.vix.com>,
James Brister  <brister@vix.com> wrote:

>...If Free Agent issues
>unecessary commands just to keep the link open then that's pretty
>unneighbourly of it.

Initial versions did.

The release versions (1.0 and 1.1) default to having this off.

AB

-- 
o Stamp out unauthorised relay-hosting. This SMTP "feature" shouldn't default 
  "on" - See http://www.vix.com/spam/ and http://www.sendmail.org/antispam.html
o Junk email returned, in bulk, back to sender; w/copies to all postmasters.
o Received junkmail constitutes a request for aggressive site security probing.

Re: Keep-alive
#15730
Author: Joe Greco
Date: Tue, 11 Mar 1997 00:00
27 lines
1731 bytes
In news.software.nntp article <yy3wwriovjv.fsf@velo.pp.vix.com>, James Brister <brister@vix.com> wrote:
:vision@halcyon.com (Andy Kriger) writes:
:Don't do that. The timeouts are there for a reason -- to reduce resource
:consumption on the server when someone walks away from their computer for a
:couple hours and forgets to close their newsreader. It will also defeat PPP
:idle timeouts and keep telephone connections open, which for people who pay
:for all phone calls by the minute (most of the free world), will be
:aggravating to say the least.
:
:30 seconds is the default timeout for the first command, after that the
:timeout is 10 minutes. If you force the connection to stay open then you'll
:be adding unnecessary burden on the news server. If Free Agent issues
:unecessary commands just to keep the link open then that's pretty
:unneighbourly of it.

And here all this time I thought it was clueless lusers telnetting to
my NNTP port!

Maybe I shouldn't have programmed NNRP to return the contents of RFC977
after the fifth HELP command.

Maybe exit(0); would be a better choice.

... JG

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