🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by Adam Funk Thu, 22 May 2014 09:59
hostname in NNTP protocol
#257661
Author: Adam Funk
Date: Thu, 22 May 2014 09:59
17 lines
1703 bytes
I know that HTTP requests include the hostname of the request, so that
if (for example) www.foo.example.com:80 and www.bar.example.org:80 are
hosted on the same IP address, the server knows which one's pages to
serve.

>From looking at RFC 3977, I think that this is *not* the case for
NNTP, so that if news.example.com:119 and nntp.example.com:119 are
hosted on the same IP address, the NNTP server has no way of knowing
which hostname was used by the client.  Is that correct?

Thanks,
Adam


-- 
The generation of random numbers is too important to be left to
chance.                                     [Robert R. Coveyou]
Re: hostname in NNTP protocol
#257673
Author: Ralph Fox
Date: Thu, 22 May 2014 11:01
20 lines
2010 bytes
On Thu, 22 May 2014 10:59:32 +0100, Adam Funk wrote:

> I know that HTTP requests include the hostname of the request, so that
> if (for example) www.foo.example.com:80 and www.bar.example.org:80 are
> hosted on the same IP address, the server knows which one's pages to
> serve.

That is the case since HTTP version 1.1.

> From looking at RFC 3977, I think that this is *not* the case for
> NNTP, so that if news.example.com:119 and nntp.example.com:119 are
> hosted on the same IP address, the NNTP server has no way of knowing
> which hostname was used by the client.  Is that correct?

You are correct; this is *not* the case for NNTP.


-- 
Kind regards
Ralph
Re: hostname in NNTP protocol
#257697
Author: Adam Funk
Date: Thu, 22 May 2014 12:06
27 lines
2207 bytes
On 2014-05-22, Ralph Fox wrote:

> On Thu, 22 May 2014 10:59:32 +0100, Adam Funk wrote:
>
>> I know that HTTP requests include the hostname of the request, so that
>> if (for example) www.foo.example.com:80 and www.bar.example.org:80 are
>> hosted on the same IP address, the server knows which one's pages to
>> serve.
>
> That is the case since HTTP version 1.1.
>
>> From looking at RFC 3977, I think that this is *not* the case for
>> NNTP, so that if news.example.com:119 and nntp.example.com:119 are
>> hosted on the same IP address, the NNTP server has no way of knowing
>> which hostname was used by the client.  Is that correct?
>
> You are correct; this is *not* the case for NNTP.

Thanks for the confirmation.


-- 
A recent study conducted by Harvard University found that the average
American walks about 900 miles a year. Another study by the AMA found
that Americans drink, on average, 22 gallons of alcohol a year. This
means, on average, Americans get about 41 miles to the gallon.
                 http://www.cartalk.com/content/average-americans-mpg
Re: hostname in NNTP protocol
#257696
Author: Shmuel Metz
Date: Thu, 22 May 2014 13:21
18 lines
2227 bytes
In <4du05bxeec.ln2@news.ducksburg.com>, on 05/22/2014
   at 10:59 AM, Adam Funk <a24061@ducksburg.com> said:

>From looking at RFC 3977, I think that this is *not* the case for
>NNTP, so that if news.example.com:119 and nntp.example.com:119 are
>hosted on the same IP address, the NNTP server has no way of knowing
>which hostname was used by the client.  Is that correct?

Yes.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
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