Thread View: news.software.nntp
9 messages
9 total messages
Started by Lukaszek N.
Wed, 06 Mar 2002 19:00
NNTP protocol?
Author: Lukaszek N.
Date: Wed, 06 Mar 2002 19:00
Date: Wed, 06 Mar 2002 19:00
13 lines
1335 bytes
1335 bytes
Hello. I think this question is in the FAQ (if there is some) so, please answer or give me a FAQ address. I'm looking for a NNTP protocol - described as well as it possible. I want to write (just a try ;) simple (very) nntp server - just for fun. thanks in advance and best regards Luke
Re: NNTP protocol?
Author: Jon Bell
Date: Wed, 06 Mar 2002 20:52
Date: Wed, 06 Mar 2002 20:52
11 lines
1161 bytes
1161 bytes
In article <a65ovr$i5g$1@news.tpi.pl>, Lukaszek N. <ask.me@if.you.must.know> wrote: >I'm looking for a NNTP protocol - described as well as it possible. As a start, read RFC 977, which you can find (among many other places) at <http://www.faqs.org/rfcs/rfc977.html> -- Jon Bell <jtbell@presby.edu> Presbyterian College Dept. of Physics and Computer Science Clinton, South Carolina USA
Re: NNTP protocol?
Author: Curt Welch
Date: Wed, 06 Mar 2002 21:20
Date: Wed, 06 Mar 2002 21:20
17 lines
1590 bytes
1590 bytes
jtbell@presby.edu (Jon Bell) wrote: > In article <a65ovr$i5g$1@news.tpi.pl>, > Lukaszek N. <ask.me@if.you.must.know> wrote: > >I'm looking for a NNTP protocol - described as well as it possible. > > As a start, read RFC 977, which you can find (among many other places) at > <http://www.faqs.org/rfcs/rfc977.html> The USEFOR site is a good place to find links to all the important Usenet RFCs. http://www.landfield.com/usefor/ -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Re: NNTP protocol?
Author: The Archiver
Date: Thu, 07 Mar 2002 08:15
Date: Thu, 07 Mar 2002 08:15
60 lines
2584 bytes
2584 bytes
"Lukaszek N." <ask.me@if.you.must.know> wrote:
>I think this question is in the FAQ (if there is some) so, please answer or
>give me a FAQ address.
>I'm looking for a NNTP protocol - described as well as it possible.
>I want to write (just a try ;) simple (very) nntp server - just for fun.
- - - - -
RFC977
RFC2980
USEFOR-mailing list & drafts
NNTP-Ext-mailing list & drafts
Read This Before You Write a Newsreader, News Transport System, etc.
By Tom Limoncelli Version 1.12. Updated 1995-03-30 (still valid)
"How to become a Usenet site" (FAQ on the newsgroups)
The "Hamster" news-server.
The MyNews-Server: http://www.winews.net
- - - - -
Welcome to the news-server-programmers.
Just a few additional tips. These are personal experiences,
because I've written a news-server myself from scratch:
If you are not interested in writing software for 2-3 years, then
get the "Hamster" news-server-software.
This is freeware - the sources are available - and a large team
of programmers is working on them all the time.
They would be happy to have more manpower.
If you _want_ to write the news-server then here the basic pitfalls:
* Care about expiry for every file you create from the beginning.
(Later it is a PITA)
* Also take care about 'repair' (reconstruction) of everything
in case of crashes.
* Dont write messages to single files or to one file/newsgroup.
You need large files.
* Care about hanging & closing sockets all the time.
Use timeouts - and be prepared that they happen all the time.
* Dont open & close connections all the time.
* Never rely on a specific size for data/lines/messages.
Even 8 kB in one (header) line happens.
And even 10 MB large messages are coming in.
* Take care about FQDNs and Message-ID creation.
Good luck.
--
The Archiver
-------------------------------
www.winews.net
Re: NNTP protocol?
Author: Lukaszek N.
Date: Thu, 07 Mar 2002 15:22
Date: Thu, 07 Mar 2002 15:22
28 lines
1992 bytes
1992 bytes
Hello. I want to thank to all who help me. Maybe I explain why I want to write something similar to the nntp server. I live in Poland. Here are many NNTP servers with all pl.* tree. But my friend removed from Poland to HongKong - and now he can't use pl*. tree beacues polish servers blocking his connection. So I thought, i can build my own server, only for him and for me - and I can pull this groups which we need - using connection: my server - normal polish server. And now the main question (I really don't want to write it :) can Hamster pull other newsgroups? You know, what I mean... I got Windows 2000 Server. It has his own NNTP server. Of course I can build groups and others, but it is impossible to share other groups from other servers (I asked all over the world ;)). Is it possible to pull other groups with Hamster? thanks in advance best regards Luke PS: big sorry for my english :(
Re: NNTP protocol?
Author: Lukaszek N.
Date: Thu, 07 Mar 2002 18:45
Date: Thu, 07 Mar 2002 18:45
12 lines
1482 bytes
1482 bytes
Uzytkownik "=-lordsnow-=" <lordsnow@home.nl> napisal w wiadomosci news:3c8a9af4.5037961@news... > Tell him to make use of a proxy server to channel stuff thru.. I don't know if it is possible, but I try to work it out. Anyway, the adventures of writing nntp server may worth anything ;))) best regards Luke
Re: NNTP protocol?
Author: The Archiver
Date: Fri, 08 Mar 2002 07:28
Date: Fri, 08 Mar 2002 07:28
78 lines
3492 bytes
3492 bytes
"Lukaszek N." <ask.me@if.you.must.know> wrote: >But my friend removed from Poland to HongKong - and now he can't use pl*. >tree beacues polish servers blocking his connection. >So I thought, i can build my own server, only for him and for me - and I can >pull this groups which we need - using connection: my server - normal polish >server. So you dont want to write a news-server :-) This would really be an overkill to your problem. I see a few solutions for you: * You ask some of the Polish ISPs if he would create a "usual" news-account with authentication by username/password instead of "dial-in" authentication by IP-Number. You should ask them with an "appeal to the honour". If Polish Provider do not help Polish people who are living in foreign country then it wouls be a shame. * Perhaps you have a Polish NSP which offers already commercial News (pay-NSP). * Perhaps there are other Pay-NSPs worldwide who do deliver the pl.* hierarchy. (There are also _free_ NSPs for the text-newsgroups). * You install a proxy-server which permits your friend to access polish servers through your computer. Then he can access your news-server through your computer. Unfortunately this is a potential security risk - you need proxy authentication - which is hard to setup for newbies. * You install a local, personal news-server and grant your friends access to your computer (any news-server does it). You need a "Dynamic IP Name" (dyndns.org) - so he knows where you are logged in. * You - and your friend - install a MyNews Server. You both use the 'Community': 'poland' If you both login into MyNews then your two MyNews can fully automatic exchange your newsgroups. You can use also use authentication/name/password. And you can try to find other polish people living in foreign countries and join your "very private" polish part of Usenet. >And now the main question (I really don't want to write it :) can Hamster >pull other newsgroups? Yes. Hamster is not really designed to grant others access - but it does. >You know, what I mean... I got Windows 2000 Server. >It has his own NNTP server. Of course I can build groups and others, but it >is impossible to share other groups from other servers (I asked all over the >world ;)). Using the Windows 2000 Server as a private server is possible. But you'll need a lot of help and support. And for M$ products this is usually expensive. Hamster & MyNews are designed for personal use. There the users help each each other. >Is it possible to pull other groups with Hamster? Yes. >PS: big sorry for my english :( We are all strangers - nearly everywhere. -- Juergen
Re: NNTP protocol?
Author: Lukaszek N.
Date: Fri, 08 Mar 2002 07:45
Date: Fri, 08 Mar 2002 07:45
18 lines
1384 bytes
1384 bytes
Uzytkownik "=-lordsnow-=" <lordsnow@home.nl> napisal w wiadomosci news:3c88f8db.12546285@news... > *laughs* :D > Same reason I do most of my programming too :) :)))))) > Good luck! Thank You :D best regards Luke
Re: NNTP protocol?
Author: Bruce Esquibel
Date: Fri, 08 Mar 2002 15:08
Date: Fri, 08 Mar 2002 15:08
19 lines
1714 bytes
1714 bytes
Lukaszek N. (ask.me@if.you.must.know) wrote: : I want to thank to all who help me. : Maybe I explain why I want to write something similar to the nntp server. : I live in Poland. Here are many NNTP servers with all pl.* tree. : But my friend removed from Poland to HongKong - and now he can't use pl*. : tree beacues polish servers blocking his connection. : So I thought, i can build my own server, only for him and for me - and I can : pull this groups which we need - using connection: my server - normal polish : server. If you don't want to go through all that work, your friend should be able to get to gail.ripco.com on port 120, we carry all the pl.* groups. It's read-only but might help until you figure out another solution. -bruce bje@ripco.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