一篇 Usenet 新闻文章位于 Usenet 服务器磁盘上的一个文件或某些其他磁盘数据结构中,其内容如下所示
Xref: news.starcomsoftware.com starcom.tech.misc:211 starcom.tech.security:452 Newsgroups: starcom.tech.misc,starcom.tech.security Path: news.starcomsoftware.com!purva!shuvam From: Shuvam <shuvam@starcomsoftware.com> Subject: "You just throw up your hands and reboot" (fwd) Content-Type: TEXT/PLAIN; charset=US-ASCII Distribution: starcom Organization: Starcom Software Pvt Ltd, India Message-ID: <Pine.LNX.4.31.0107022153490.30462-100000@starcomsoftware.com> Mime-Version: 1.0 Date: Mon, 2 Jul 2001 16:27:57 GMT Interesting quote, and interesting article. Incidentally, comp.risks may be an interesting newsgroup to follow. We must be receiving the feed for this group on our server, since we receive all groups under comp.*, unless specifically cancelled. Check it out sometime. comp.risks tracks risks in the use of computer technology, including issues in protecting ourselves from failures of such stuff. Shuvam > Date: Thu, 14 Jun 2001 08:11:00 -0400 > From: "Chris Norloff" <cnorloff@norloff.com> > Subject: NYSE: "Throw up your hands and reboot" > > When the New York Stock Exchange computer systems crashed for 85 > minutes (8 Jun 2001), Andrew Brooks, chief of equity trading at > Baltimore mutual fund giant T. Rowe Price, was quoted as saying "Hey, > we're all subject to the vagaries of technology. It happens on your > own PC at home. You just throw up your hands and reboot." > > http://www.washingtonpost.com/ac3/ContentServer?articleid=A42885-2001Jun8&pagename=article > > Chris Norloff > > > This is from -- > > From: risko@csl.sri.com (RISKS List Owner) > Newsgroups: comp.risks > Subject: Risks Digest 21.48 > Date: Mon, 18 Jun 2001 19:14:57 +0000 (UTC) > Organization: University of California, Berkeley > > RISKS-LIST: Risks-Forum Digest Monday 19 June 2001 > Volume 21 : Issue 48 > > FORUM ON RISKS TO THE PUBLIC IN COMPUTERS AND RELATED SYSTEMS (comp.risks) > ACM Committee on Computers and Public Policy, > Peter G. Neumann, moderator > > This issue is archived at <URL:http://catless.ncl.ac.uk/Risks/21.48.html> > and by anonymous ftp at ftp.sri.com, cd risks . > |
本节解释新闻源的基础知识,而无需深入了解软件和配置文件的细节。
这是将文章从一台服务器发送到另一台服务器的最常用方法,并且每当每天要传输大量文章时都会遵循此方法。这种方法需要对上游服务器的配置进行一次性修改,为每个传出的新闻源定义一个新的队列。
NNTP 是互联网上运营商级 Usenet 服务器移动排队新闻源的事实上的首选机制,不幸的是,对于许多其他 Usenet 服务器也是如此。我们在第 12.1 节> 中讨论了我们发现这种选择不幸的原因。但是在 NNTP 新闻源中,可以消除从队列文件构建批次的中间步骤---这既是它的优点又是它的缺点。
在排队的 NNTP 新闻源的情况下,文章会如上所述添加到队列文件中。NNTP 传输进程会定期唤醒,拾取队列文件,并与下游服务器建立 NNTP 连接。然后,它开始处理循环,其中对于每个排队的文章,它使用 NNTPIHAVE命令来通知下游服务器文章的消息 ID。下游服务器检查其本地存储库,以查看它是否已拥有该消息。如果不是,它会回复SENDME响应。然后,传输服务器以纯文本形式泵出文章内容。当队列中的所有文章都已如此处理后,发送服务器会关闭连接。如果 NNTP 连接在中间因任何原因中断,则发送服务器会截断队列文件,并且仅保留那些尚未传输的文章,从而最大限度地减少重复传输。
> 排队的 NNTP 新闻源与发送服务器建立到接收服务器的 NNTP 连接一起工作。这意味着接收服务器必须具有发送服务器知道或可以在 DNS 中查找的 IP 地址。如果接收服务器使用拨号连接定期连接到互联网并使用动态分配的 IP 地址工作,这可能会变得棘手。UUCP 新闻源没有此类问题,因为新闻源的发送服务器可以是 UUCP 服务器,即被动的。新闻源的接收服务器可以是 UUCP 主服务器,即主动方。因此,接收服务器可以启动 UUCP 连接并连接到发送服务器。因此,即使双方之一具有静态 IP 地址,UUCP 排队的新闻源也可以正常工作。
因此,NNTP 新闻源的发送速度可能比用于 UUCP 和其他旧方法的批次传输过程稍快,因为不需要构建批次。然而,NNTP 通常用于新闻源中,而这是不必要的,并且会导致带宽的巨大浪费。在我们研究 NNTP 与批次新闻源的效率问题之前,我们将介绍可以使用 NNTP 组织的另一种新闻源方式:拉取新闻源。
控制消息或多或少看起来像普通的 Usenet 文章。它们有一个额外的标头行,其值采用特定格式,但它们通常带有看起来像普通人编写的文章的正文文本。这是一个控制消息(一个虚假的控制消息,但这暂时可以了)
Xref: news.starcomsoftware.com control:814217 Path: news.starcomsoftware.com!linux594.dn.net!news.dn.hoopoo.com! feed-out.newsfeeds.com!newsfeeds.com!feed.newsfeeds.com! newsfeeds.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu! newsfeed.icl.net!newsfeed.skycache.com!Cidera!newsfeed.gamma.ru! Gamma.RU!carrier.kiev.ua!goblin.nadrabank.kiev.ua!not-for-mail From: tale@uunet.uu.net (David C Lawrence) Newsgroups: news.groups,humanities.hipcrime Subject: cmsg newgroup humanities.hipcrime Control: newgroup humanities.hipcrime Date: Sun, 18 Feb 2001 11:50:28 GMT Organization: The Cabal Lines: 20 Approved: tale@uunet.uu.net Message-ID: <3afWYZTIR.G5YOC2@uunet.uu.net> NNTP-Posting-Host: 203.145.147.67 X-Trace: goblin.nadrabank.kiev.ua 982528840 21455 203.145.147.67 (18 Feb 2001 20:40:40 GMT) X-Complaints-To: usenet@nadrabank.kiev.ua NNTP-Posting-Date: 18 Feb 2001 20:40:40 GMT X-No-Archive: Yes humanities.hipcrime is an unmoderated newsgroup which passed its vote for creation by 326:10 as reported in news.announce.newgroups on 18 Feb 2001. For your newsgroups file: humanities.hipcrime HipCrime for Humanity - you committed one now! Anyone can create a newsgroup in the alt, biz, comp, earth, humanities, misc, news, meow, rec, sci, soc, talk, us, or any other Usenet hierarchy. New newsgroup proposals may be optionally discussed in news.groups. Please be sure that your /usr/lib/news/control.ctl is configured correctly: ## NEWGROUP MESSAGES ## honor them all and log in \${LOG}/newgroup.log newgroup:*:alt.*|biz.*|comp.*|earth.*|humanities.*|misc.*|news.*|\ meaw.*|rec.*|sci.*|soc.*|talk.*|us.*:doit=newgroup ## RMGROUP MESSAGES ## drop them all and don't log rmgroup:*:*:drop Meow! David C Lawrence |
version:控制消息,导致您的 Usenet 软件向消息作者发送电子邮件,其中包含您正在使用的 Usenet 新闻软件的类型和版本。这也不是侵犯隐私,因为此信息应该是公共知识。
取消消息:最常发生的控制消息类型。它们指定文章的消息 ID,并导致取消(删除)该文章。如果您发布了一篇文章并在稍后片刻后悔了,您的 Usenet 新闻阅读器软件通常允许您通过生成取消消息来“取消”它。
请记住将control组的过期时间设置为一天甚至更短,以便可以尽快清除垃圾,就像junk新闻组一样。
控制消息架构的优点在于,它无缝集成到新闻源机制中,以实现对服务器网络的自动控制。控制操作不需要单独的连接通道。文章复制会自动传播带有可读文章的控制消息,从而保证跨异构网络技术的覆盖范围。