News server [message #183961] |
Tue, 12 December 2006 10:28  |
Eclipse User |
|
|
|
Originally posted by: achille.example.com
Greetings
Who keeps track of the news server? Who may I contact?
(It's about the port 80 -- it's not working and we can't
use it at our worksplace )
|
|
|
|
|
Re: News server [message #184559 is a reply to message #184502] |
Thu, 14 December 2006 12:05  |
Eclipse Webmaster Messages: 607353 Registered: July 2009 |
Senior Member |
|
|
Seems interesting. I don't know if we have a need for it, but your
analysis looks sane and I'd like to see your implementation :-) If it
works good, we might use it!
Denis
Achille wrote:
> Denis Roy <webmaster@eclipse.org> wrote:
>> Achille wrote:
>>> Who keeps track of the news server? Who may I contact?
>> You can contact webmaster@eclipse.org. We did fix this yesterday,
>> however, so it should be working for you:
>>
>> telnet news.eclipse.org 80
>> Trying 206.191.52.34...
>> Connected to news.eclipse.org (206.191.52.34).
>> Escape character is '^]'.
>> 200 utils.eclipse.org InterNetNews NNRP server INN 2.4.2 ready (posting ok).
>
> I was wondering whether some decision was made to have news.eclipse.org
> to be used as a web server due to the domain.
>
> This dawned on me some time ago, but due to the way the protocol works,
> one should be able to have port 80 both as an http server and as a nntp
> server. NNTP clients generally wait for the server intro (200), then start
> introducing commands. Http clients will not wait and will immediately
> send off a request.
>
> Thus:
> * Open a socket and listen
> * When a connection is made, wait ~200-500 milliseconds:
>
> If a request comes in and it's a http request, send a 301 - Moved
> reply to the desired page (eclipse.org/news ?).
>
> Else, pipe the connection to the nntp server (119)
>
> I'd be happy to implement this if deemed useful
>
> ~ Achille
|
|
|
Powered by
FUDForum. Page generated in 0.28845 seconds