Questions tagged [nntp]

NNTP is the Network News Transport Protocol used to transfer Usenet news around. Notice that questions about the usage of news clients are considered off-topic.

The Network News Transfer Protocol (NNTP) is an application protocol used for transporting Usenet news articles (netnews) between news servers and for reading and posting articles by end user client applications.

The messages and protocol are defined in RFCs from The Internet Engineering Task Force (IETF). The messages are defined in RFC 5536 and the way these are transferred is defined in RFC 5537.

Users read messages using a client which connects to a server. Servers pass messages between each other so that all messages in the group that the server manages are available to the client. Or, as the netnews RFC 5537 say in 1.1, "Basic Concepts":

"Netnews" is a set of protocols for generating, storing, and retrieving news "articles" whose format is defined in [RFC5536], and for exchanging them amongst a readership that is potentially widely distributed. It is organized around "newsgroups", with the expectation that each reader will be able to see all articles posted to each newsgroup in which he participates. These protocols most commonly use a flooding algorithm that propagates copies throughout a network of participating servers. Typically, only one copy is stored per server, and each server makes it available on demand to readers able to access that server.

"Usenet" is a particular worldwide, publicly accessible network based on the Netnews protocols. It is only one such possible network; there are deployments of the Netnews protocols other than Usenet (such as ones internal to particular organizations). This document discusses the more general Netnews architecture and protocols.

Clients tend to be applications that run on users' machines although there are some gateways to Usenet including Google Groups.

56 questions
0
votes
1 answer

Decoding NNTP headers from (UTF-8?)

I'k working on some Python 3 code to grab NNTP messages, parse the headers,, and process the data. My code works fine for the first several hundred messages then I throw an exception. The exception is: sys.exc_info() (,…
catdude
  • 33
  • 1
  • 7
0
votes
1 answer

Program gets stuck attempting to create NNTP connection

My program starts a connection to a usenet server like this: s = nntplib.NNTP(self.nserver, 119, self.nuser, self.npass) But sometimes there's a problem. The connection is not made and the program waits for a response indefinitely. How can I make…
Jelle De Loecker
  • 20,999
  • 27
  • 100
  • 142
0
votes
1 answer

StreamReader doesn't retrieve everything from NetworkStream (TCP and C#)

I'm working on a project, where you have to retrieve data from a server and display it in the UI. It's a newsgroups server, that contains about 250 groups in total. The output from the server SHOULD as far as I understand, be stored in a…
0
votes
1 answer

Python error while connecting to nntp server

Traceback (most recent call last): File "", line 1, in server = NNTP('http://www.news.readfreenews.net') File "C:\Python27\lib\nntplib.py", line 112, in __init__ self.sock = socket.create_connection((host, port)) …
Dickson Xavier
  • 99
  • 1
  • 1
  • 11
0
votes
1 answer

Posting large files to usenet using Python & nntplib: How are large files split?

I'm intrigued by uBackup, using Usenet for backing up large files. I thought it would be a good idea to use python for this, but I'm having problems understanding the correct protocol for posting large files. I know you need to compress your files…
Jelle De Loecker
  • 20,999
  • 27
  • 100
  • 142
0
votes
0 answers

Stream does not respond while reading from NNTP server

I'm trying to implement my own NNTP client (a console program at the moment). My Connection class inherits from TcpClient, and has the following code: Connect(hostname, port); NetworkStream stream = GetStream(); StreamReader reader = new…
Marlon
  • 45
  • 7
0
votes
1 answer

NNTP get MessageId after article POST

I just started using http://nntpclientlib.codeplex.com/ and just posted my first article. But I don't know how to get the message-Id to the article that I posted. I have set up the article with only a subject, newsgroup and from-headers. I got a…
Daniel M
  • 177
  • 1
  • 1
  • 13
0
votes
1 answer

.net: does anyone know a free library to download nntp messages

I'm using ip*works for downloading newsgroup messages and inserting them into a database. ipworks is "comfortable" to use because it automatically splits nntp data return into different objects (or variables). So I have "author" "date" "topic"…
stighy
  • 7,260
  • 25
  • 97
  • 157
0
votes
2 answers

NNTP (usenet newsgroup) downloader for .NET

I would like to try to download usenet newsgroup messages. Anybody know how? I'd take a look at IPWorks but I don't understand how to download it. Any suggestions?
stighy
  • 7,260
  • 25
  • 97
  • 157
0
votes
1 answer

Can't get nntp client (nodejs) working

I'm trying to post a message to a group on the usenet using the 'nntp' package for node. I can't get the example to work, the only example that works for me is "Get a list of all newsgroups beginning with 'alt.binaries.'". Code for uploading…
rikudesu
  • 3
  • 3
0
votes
1 answer

NNTP client - Java - Download Article is downloaded 3 extra garbage bytes randomly

I wrote this NNTP client... and I am trying to use it as part of a bigger project, but it seems that the downloadArticle(string msgID) is downloading some extra bytes, but randomly. For example, one time I will run the application and it will…
Ryan
  • 1
0
votes
1 answer

python nntp get headers by date range

How do I retrieve the newest headers or headers by date range for a particular group? end goal would be to just download the headers I need instead of downloading all the groups headers. Thoughts?
gkalltheway
  • 51
  • 1
  • 6
0
votes
1 answer

L&H_Reader news reader? What's this?

A message source shows User-Agent: L&H_Reader What news reader is this?
Marcel Stör
  • 22,695
  • 19
  • 92
  • 198
0
votes
1 answer

Good backend for downloading nzb files to seperate directories

I'm laying out a download management that will segregate each users downloads, separate watched directories each download to their own folders, can't see each others queues, etc. I wanted to use Hellanzb with xml-rpc, however it does not seem to…
Chance
  • 113
  • 1
  • 1
  • 6
0
votes
1 answer

Apache Commons - NNTP - "Article To List" - AWT

I am currently using Apache Commons Net to develop my own NNTP reader. Using the tutorial available I was able to use some of their code to allow me to get articles back. The Code I am using from NNTP Section - System.out.println("Retrieving…
ILikeTurtles
  • 1,012
  • 4
  • 16
  • 47