Network News Transport Protocol or also known as NNTP, is a protocol that has been created primarily for what is reading and posting news articles on Usenet (User Network). Its function is to be able to push news articles between servers.
NNTP started working from March 1986, where it was created by Brian Kantor and Phil Lapsley, in collaboration with Stan Barber and Erik Fair. And it was until 2006 when improvements to this protocol including new tools in its operation.
Therefore, in this post we are going to explain a little more about what the protocol for network news transfers, as well as its main operation.
What is the NNTP and what is its function in a computer network?
The NNTP, is he news transfer protocol which is mainly used by the network “Usenet Internet Service”, which is based on Strips of text sent over 7 bit ASCII TCP channels. It is used mainly to be able to upload, download and transfer the different news articles between the servers.
In the same way, all of this was created to give users the opportunity to store new articles on a server with a central database, allowing visitors to selectections only the element they want to read.
The operation of this tool is very simple, it has a server where it is located hosted all news articles, they already connect to him clients over the network. In other words, a connection between server and client. What allows to achieve a very low number of duplicate items.
All this becomes an advantage for the news service, avoiding that there is a duplication of all previous news. All this connection that is established is executed through the TCP protocol, where port 119 is reserved for NNTP. But there are some exemptions, and it is that when the client connects to the server through the SSL used is port 563.
It is important to mention that each of the articles saved on the server is located referenced with the name of the client machine that published it. This reference is in the field called nntp-posting-host.
How does the network news transport protocol work?
This protocol uses two methods to be able to transfer the news in network, for this use the passive and active method, which we show you below:
Pushing method (Active)
This first method consists of the client sends an article to the server, this him returns a response code which will let you know that you already have said text, something like the famous delivery messages. All this is done under the order of IHAVE msgid. A method that is also known as Push.
However, this method has a disadvantage, and is that the text is searched individually, this forces a large number of accesses to the database and one big load for server, which can cause delays or delays in its operation.
Pulling method (Passive)
In this case it is about being able to obtain a list with certain number of items whose date is later than the one previously specified by the client. All this works under the order NEWSNEWS.
Once the list has been displayed, the client should only select those that he does not have from the list to be transferred. This whole technique is also known as throw. This whole process is constantly regulated by a strict control by the server, considering that it can exist confidential information and that can be seen by other clients.
What are the benefits of the NNTP protocol in a computer network?
Every protocol is created and released to the market in order to provide you with a ease to its users, in this case NNTP takes care of what is the transfer of articles and thus make this process easier for customers.
Therefore, here we present you the main benefits of using this tool in computer networks:
- Customers have the opportunity to list available newsgroups so that they are downloaded and sent through the servers.
- NNTP allows publish articles by specific orders on the servers.
- Every time a text is published it is creating a new article, therefore, the only information that will appear will be the message header. While at the time of send a text it is one that is already created and exists, therefore, complete information about it will appear in the header. All this offers an indicator to know when it was posted the message.
- Both readers and transfer clients can perform the downloads of the texts.
- Allows a simultaneous access of clients to a single news item or to several.
What other protocols for the transport of news networks exist and how do they differ from this one?
The Internet has become one of the largest entities in the world and in turn very complex. This is how there are many protocols specialized in network transport and that they work daily in order to improve and facilitate the experiences of each of the users.
Because of this, Here we show you other protocols specialized in network transport:
Hypertext Transfer Protocol (HTTP)
HTTP is currently one of the most popular and used on the Internet, he is in charge of managing the transfer of web pages that are sent through browsers. This is how this protocol is responsible for handling a large number of pages such as the World Wide Web (www).
Thanks to World Wide Web, the HTTP protocol has become one of the most popular network, since today there are millions of www pages. they add it daily.
Simple Mail Transfer Protocol (SMTP)
Usually all the e-mails what are sent and received from the Internet have to go from one server to another, this is done thanks to a unique electronic exchange protocol, which is known as SMTP. He himself takes care of boost delivery of messages to each of your clients, using the most popular emails such as Gmail, Yahoo, Microsoft Outlook, among others.
File Transfer Protocol (FTP)
As we already know, most of the web pages in the world use the HTTP protocol. Without However, there is a very high probability that many of them made their way to servers where different protocols reside, as is that of FTP file transfer, this being the main protocol for transferring entire files from one computer to another over an internet network.
It is also important to mention that FTP has a variant which is SFTP, this allows transfer of confidential files through a secure environment, avoiding that these can end up in the hands of the wrong customers.
If you have any questions, leave them in the comments, we will answer you as soon as possible, and it will also be of great help to more members of the community. Thank you! 😉