📄 rfc850.txt
字号:
Responding-System: cbosgd.UUCP cbosgd:osg,cb,btl,bell,net,fa,to,test ucbvax:net,fa,to.ucbvax:L: cbosg:net,fa,bell,btl,cb,osg,to.cbosg:F:/usr/spool/outnews/cbosg cbosgb:osg,to.cbosgb:F:/usr/spool/outnews/cbosgb sescent:net,fa,bell,btl,cb,to.sescent:F:/usr/spool/outnews/sescent npois:net,fa,bell,btl,ug,to.npois:F:/usr/spool/outnews/npois mhuxi:net,fa,bell,btl,ug,to.mhuxi:F:/usr/spool/outnews/mhuxi3.6 Senduuname senduuname (no arguments)The "uuname" program is run, and the output is mailed tothe author of the control message (Reply-to, if present,otherwise From). This program lists all uucp neighbors ofthe local site. This information is used to make maps ofthe UUCP network. The sys file is not the same as theUUCP L.sys file. The L.sys file should never betransmitted to another party without the consent of thesites whose passwords are listed therein.It is optional for a site to provide this information.Some reply should be made to the author of the controlmessage, so that a transmission error won't be blamed. Itis also permissible for a site to run the uuname program(or in some other way determine the uucp neighbors) andedit the output, either automatically or manually, beforemailing the reply back to the author. The file shouldcontain one site per line, beginning with the uucp sitename. Additional information may be included, separatedfrom the site name by a blank or tab. The phone number orpassword for the site should NOT be included, as the replyis considered to be in the public domain. (The uunameprogram will send only the site name and not the entirecontents of the L.sys file, thus, phone numbers andpasswords are not transmitted.)The purpose of this message is to generate and maintainUUCP mail routing maps. Thus, connections over which mailcan be sent using the site!user syntax should be included,regardless of whether the link is actually a UUCP link atthe physical level. If a mail router should use it, itshould be included. Since all information sent inresponse to this message is optional, sites are free toedit the list, deleting secret or private links they donot wish to publicise.3.7 Version version (no arguments)The name and version of the software running on the localsystem is to be mailed back to the author of the article(Reply-to if present, otherwise From). - 13 -4. Transmission MethodsUSENET is not a physical network, but rather a logicalnetwork resting on top of several existing physicalnetworks. These networks include, but are not limited to,UUCP, the ARPANET, an Ethernet, the BLICN network, an NSCHyperchannel, and a Berknet. What is important is thattwo neighboring systems on USENET have some method to geta new article, in the format listed here, from one systemto the other, and once on the receiving system, processedby the netnews software on that system. (On UNIX systems,this usually means the "rnews" program being run withthe article on the standard input.)It is not a requirement that USENET sites have mailsystems capable of understanding the ARPA Internet mailsyntax, but it is strongly recommended. Since From,Reply-To, and Sender lines use the Internet syntax,replies will be difficult or impossible without aninternet mailer. A site without an internet mailer canattempt to use the Path header line for replies, but thisfield is not guaranteed to be a working path for replies.In any event, any site generating or forwarding newsmessages must have an internet address that allows them toreceive mail from sites with internet mailers, and theymust include their internet address on their From line.4.1 Remote ExecutionSome networks permit direct remote command execution. Onthese networks, news may be forwarded by spooling thernews command with the article on the standard input. Forexample, if the remote system is called "remote", newswould be sent over a UUCP link with the command "uux -remote!rnews", and on a Berknet, "net -mremote rnews".It is important that the article be sent via a reliablemechansim, normally involving the possibility of spooling,rather than direct real-time remote execution. This isbecause, if the remote system is down, a direct executioncommand will fail, and the article will never bedelivered. If the article is spooled, it will eventuallybe delivered when both systems are up.4.2 Transfer by MailOn some systems, direct remote spooled execution is notpossible. However, most systems support electronic mail,and a news article can be sent as mail. One approach isto send a mail message which is identical to the newsmessage: the mail headers are the news headers, and themail body is the news body. By convention, this mail issent to the user "newsmail" on the remote machine. - 14 -One problem with this method is that it may not bepossible to convince the mail system that the From line ofthe message is valid, since the mail message was generatedby a program on a system different from the source of thenews article. Another problem is that error messagescaused by the mail transmission would be sent to theoriginator of the news article, who has no control overnews transmission between two cooperating hosts and doesnot know who to contact. Transmission error messagesshould be directed to a responsible contact person on thesending machine.A solution to this problem is to encapsulate the newsarticle into a mail message, such that the entire article(headers and body) are part of the body of the mailmessage. The convention here is that such mail is sent touser "rnews" on the remote system. A mail message bodyis generated by prepending the letter "N" to each lineof the news article, and then attaching whatever mailheaders are convenient to generate. The N's are attachedto prevent any special lines in the news article frominterfering with mail transmission, and to prevent anyextra lines inserted by the mailer (headers, blank lines,etc.) from becoming part of the news article. A programon the receiving machine receives mail to "rnews",extracting the article itself and invoking the "rnews" program. An example in this format might look like this: Date: Monday, 3-Jan-83 08:33:47 MST From: news@cbosgd.UUCP Subject: network news article To: rnews@npois.UUCP NRelay-Version: B 2.10 2/13/83 cbosgd.UUCP NPosting-Version: B 2.9 6/21/82 sask.UUCP NPath: cbosgd!mhuxj!harpo!utah-cs!sask!derek NFrom: derek@sask.UUCP (Derek Andrew) NNewsgroups: net.test NSubject: necessary test NMessage-ID: <176@sask.UUCP> NDate: Monday, 3-Jan-83 00:59:15 MST N NThis really is a test. If anyone out there more than 6 Nhops away would kindly confirm this note I would Nappreciate it. We suspect that our news postings Nare not getting out into the world. NUsing mail solves the spooling problem, since mail mustalways be spooled if the destination host is down.However, it adds more overhead to the transmission process(to encapsulate and extract the article) and makes itharder for software to give different priorities to newsand mail. - 15 -4.3 BatchingSince news articles are usually short, and since a largenumber of messages are often sent between two sites in aday, it may make sense to batch news articles. Severalarticles can be combined into one large article, usingconventions agreed upon in advance by the two sites. Onesuch batching scheme is described here; its use is stillconsidered experimental.News articles are combined into a script, separated by aheader of the form: ##! rnews 1234where 1234 is the length, in bytes, of the article. Eachsuch line is followed by an article containing the givennumber of bytes. (The newline at the end of each line ofthe article is counted as one byte, for purposes of thiscount, even if it is stored as CRLF.) For example, a batchof articles might look like this: #! rnews 374 Relay-Version: version B 2.10 2/13/83; site cbosgd.UUCP Posting-Version: version B 2.10 2/13/83; site eagle.UUCP Path: cbosgd!mhuxj!mhuxt!eagle!jerry From: jerry@eagle.uucp (Jerry Schwarz) Newsgroups: net.general Subject: Usenet Etiquette -- Please Read Message-ID: <642@eagle.UUCP> Date: Friday, 19-Nov-82 16:14:55 EST Here is an important message about USENET Etiquette. #! rnews 378 Relay-Version: version B 2.10 2/13/83; site cbosgd.UUCP Posting-Version: version B 2.10 2/13/83; site eagle.UUCP Path: cbosgd!mhuxj!mhuxt!eagle!jerry From: jerry@eagle.uucp (Jerry Schwarz) Newsgroups: net.followup Subject: Notes on Etiquette article Message-ID: <643@eagle.UUCP> Date: Friday, 19-Nov-82 17:24:12 EST There was something I forgot to mention in the last message.Batched news is recognized because the first character inthe message is "#". The message is then passed to theunbatcher for interpretation. - 16 -5. The News Propagation AlgorithmThis section describes the overall scheme of USENET andthe algorithm followed by sites in propagating news to theentire network. Since all sites are affected byincorrectly formatted articles and by propagation errors,it is important for the method to be standardized.USENET is a directed graph. Each node in the graph is ahost computer, each arc in the graph is a transmissionpath from one host to another host. Each arc is labelledwith a newsgroup pattern, specifying which newsgroupclasses are forwarded along that link. Most arcs arebidirectional, that is, if site A sends a class ofnewsgroups to site B, then site B usually sends the sameclass of newsgroups to site A. This bidirectionality isnot, however, required.USENET is made up of many subnetworks. Each subnet has aname, such as "net" or "btl". The special subnet"net" is defined to be USENET, although the union of allsubnets may be a superset of USENET (because of sites thatget local newsgroup classes but do not get net.all). Eachsubnet is a connected graph, that is, a path exists fromevery node to every other node in the subnet. Inaddition, the entire graph is (theoretically) connected.(In practice, some political considerations have causedsome sites to be unable to post articles reaching the restof the network.)An article is posted on one machine to a list ofnewsgroups. That machine accepts it locally, thenforwards it to all its neighbors that are interested in atleast one of the newsgroups of the message. (Site A deemssite B to be "interested" in a newsgroup if thenewsgroup matches the pattern on the arc from A to B.This pattern is stored in a file on the A machine.) Thesites receiving the incoming article examine it to makesure they really want the article, accept it locally, andthen in turn forward the article to all their interestneighbors. This process continues until the entirenetwork has seen the article.An important part of the algorithm is the prevention ofloops. The above process would cause a message to loopalong a cycle forever. In particular, when site A sendsan article to site B, site B will send it back to site A,which will send it to site B, and so on. One solution tothis is the history mechanism. Each site keeps track ofall articles it has seen (by their message ID) andwhenever an article comes in that it has already seen, theincoming article is discarded immediately. This solutionis sufficient to prevent loops, but additionaloptimizations can be made to avoid sending articles tosites that will simply throw them away. - 17 -One optimization is that an article should never be sentto a machine listed in the Path line of the header. Whena machine name is in the Path line, the message is knownto have passed through the machine. Another optimizationis that, if the article originated on site A, then site Ahas already seen the article. (Origination can bedetermined by the Posting-Version line.)Thus, if an article is posted to newsgroup "net.misc",it will match the pattern "net.all" (where "all" is ametasymbol that matches any string), and will be forwardedto all sites that subscribe to net.all (as determined bywhat their neighbors send them). These sites make up the"net" subnetwork. An article posted to "btl.general" will reach all sites receiving "btl.all", but will notreach sites that do not get "btl.all". In effect, thearticles reaches the "btl" subnetwork. An articleposted to newsgroups "net.micro,btl.general" will reachall sites subscribing to either of the two classes. - 18 -
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -