Article View: news.software.nntp
Article #12755Re: "Good Net-Keeping Seal of Approval" for NNTP servers?
From: Brad Templeton
Date: Wed, 27 Nov 1996 00:00
Date: Wed, 27 Nov 1996 00:00
57 lines
3565 bytes
3565 bytes
In article <E1Jpxy.CBD@zorch.SF-Bay.ORG>, Scott Hazen Mueller <scott@zorch.sf-bay.org> wrote: >>This would be fast, fast, fast. Firewalls I guess are the main problem, >>particularly for the return packet. > >Firewalls would definitely be the problem. Hit your favorite search engine >and look for "firewalls" and "realaudio". The application win would have to >be extremely compelling if it's to build an installed base. Also, the >protocol should be designed so as to be "firewall-friendly" from the start. >For example, using random UDP port numbers (as clients typically do) would not >be firewall-friendly. > > \scott > It has to be more than firewall friendly, I think it needs to get through the firewalls *today* and that's a tall order. If we put up a protocol that needs to be opened up in the firewalls it will have trouble. I think there is an RFC about a daemon for doing UDP replies, I don't know if firewalls let it through or not. In general to do this you would have a special deamon listen to a fixed UDP port for replies to DNNP (Datagram Net News Protocol) messages which would go to UDP port 119. (You could, in theory have both the replies and requests go to the same port, but I am not sure that is the best idea.) (Note NNDP is a poor name because it's hard to tell aurally from NNTP) Anyway, a request for an article (or web page for that matter, an DHTP would be a good idea too) would be sent to UDP port 119 (or whatever) containing a serial number to be included in the reply. The reply would go back to the DNNP reply port, and the daemon there would read it, look at the serial number, and use that to dispatch the packet to a process on the local machine or network. Probably the daemon would have a local TCP connection to the requesting process and would have been told to expect a packet with a given serial number. It would forward that packet to the process. Sending it by UDP to a random port is too risky unless the port number is encrypted in a way known only inside the machine, otherwise you would be effectively opening up your internal UDP space which is dangerous. A bit messy, but it means the over-the-internet packet load is extremely small. If, in fact, the only process that uses this protocol is a threaded NNRP server, the TCP/IP process can be skipped, since this process gets all incoming DNNP reply packets. Of course, this protcol should be designed, unlike most internet protocols, with some security in mind, including fields in the packets for optional encryption and signature, etc. -- Brad Templeton, publisher, ClariNet Communications Corp. info@clari.net The net's #1 E-Newspaper (1,400,000 paid sbscrbrs.) http://www.clari.net/brad/
Technical Details
Message-ID:
<57iet7$98h@fugue.clari.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.net-abuse.misc.mbox.zip!not-for-mailReferences:
<trans-ya023180001911961144110001@ssbunews.ih.lucent.com> <57es53$auc@tines.hsc.fr> <57fom4$8i4@fugue.clari.net> <E1Jpxy.CBD@zorch.SF-Bay.ORG>Show Full Headers
Complete Article Headers
Message-ID: <57iet7$98h@fugue.clari.net> Subject: Re: "Good Net-Keeping Seal of Approval" for NNTP servers? Date: Wed, 27 Nov 1996 00:00:00 +0000 From: brad@clarinet.com (Brad Templeton) References: <trans-ya023180001911961144110001@ssbunews.ih.lucent.com> <57es53$auc@tines.hsc.fr> <57fom4$8i4@fugue.clari.net> <E1Jpxy.CBD@zorch.SF-Bay.ORG> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.admin.net-abuse.misc.mbox.zip!not-for-mail X-Deja-AN: 201119566 Sender: brad@clari.net Organization: ClariNet Communications Corp. Newsgroups: news.admin.net-abuse.misc,news.software.nntp