home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / uucp / 2037 < prev    next >
Encoding:
Text File  |  1992-11-09  |  15.1 KB  |  437 lines

  1. Newsgroups: comp.mail.uucp
  2. Path: sparky!uunet!cis.ohio-state.edu!zaphod.mps.ohio-state.edu!darwin.sura.net!sgiblab!daver!hico2!sonyd1.Broadcast.Sony.COM!blilly.UUCP!bruce
  3. From: bruce@blilly.UUCP (Bruce Lilly)
  4. Subject: UUCP map entries (long) (Was Re: Any easy way to filter this type of UUCP traffic?)
  5. References: <3953@ecicrl.ocunix.on.ca> <1992Nov7.232211.4599@blilly.UUCP> <3965@ecicrl.ocunix.on.ca>
  6. Organization: Bruce Lilly
  7. Date: Tue, 10 Nov 92 03:34:13 GMT
  8. Message-ID: <1992Nov10.033413.17188@blilly.UUCP>
  9. Reply-To: lilb@sony.compuserve.com
  10. Lines: 425
  11.  
  12. In article <3965@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) wrote:
  13. >In article <1992Nov7.232211.4599@blilly.UUCP> bruce@blilly.UUCP (Bruce Lilly) writes:
  14. >>[silly redirect overridden; this is a UUCP mail issue, not a
  15. >>news administrative issue]
  16. >
  17. >[The original post was x-posted to news.admin.misc.  Which is somewhat
  18. >silly, but certainly ain't my fault as you imply.
  19.  
  20. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  21. Newsgroups: news.admin.misc,comp.mail.uucp,comp.mail.sendmail,comp.mail.misc
  22. Subject: Re: Any easy way to filter this type of UUCP traffic?
  23. Message-ID: <3953@ecicrl.ocunix.on.ca>
  24. Date: 7 Nov 92 06:39:56 GMT
  25. References: <1992Nov5.165936.13003@igor.tamri.com> <1992Nov7.002938.8197@fasttech.com>
  26. Followup-To: news.admin.misc
  27. Organization: Elegant Communications Inc., Ottawa, Canada
  28.  
  29. As you can see from the headers above, the Followup-To was set
  30. to news.admin.misc.  I neither made nor now make any implication
  31. about whose "fault" it was.  I overrode it, as I stated.
  32.  
  33. >However, you also removed comp.mail.sendmail and comp.mail.misc.
  34. >Which makes it a good bet that the original poster doesn't see the
  35. >replies.  So, I've done the *proper* thing of putting comp.mail.sendmail
  36. >and comp.mail.misc back in, and then redirecting followups to
  37. >comp.mail.uucp.  Which is what you (or I, I guess) shoulda done in the
  38. >first place.]
  39.  
  40. Perhaps I'm mistaken, but I believe that the point of
  41. Followup-to is to place the follow-up(s) in one specific newsgroup,
  42. rather than to perpetuate the cross-posting. In any event,
  43. that's what happens using trn; the follow-up ended up with a
  44. single Newsgroups header entry of "news.admin.misc".
  45. I substituted what I felt to be the most appropriate newsgroup,
  46. viz. comp.mail.uucp. It wasn't an oversight on my part; I did it
  47. intentionally. If you think I did something wrong, please let me
  48. know. (perhaps via email or in news.software.readers)
  49.  
  50. Enough administrivia.
  51.  
  52. >>Pathalias will generate a ``backlink'' even if one half of the
  53. >>link is not explicitly listed in the maps.
  54. >
  55. >pathalias will indeed generate a backlink, but a backlink with
  56. >cost of DEAD.  Even if the forward link isn't marked terminal.
  57. >Long ago pathalias considered each link bidirectional at the same
  58. >cost, but the versions that you need to operate with the current
  59. >generation of maps do not do this.
  60. >
  61. >If you don't believe me, try it.  You'll want to play with the -l
  62. >and -c options to see the costs.
  63.  
  64. I believe you--I know what pathalias does.  But I don't really
  65. ``want to play with the [...] -c option'' as the internal
  66. calculations used by pathalias to select the least ``cost'' path
  67. are irrelevant...
  68.  
  69. >Here is a simple test:
  70. >
  71. >    foo        uunet
  72. >    uunet    ecicrl
  73. >    boo        ecicrl
  74. >
  75. >No explicit backlink from ecicrl to uunet.  (I should point out that
  76. >I do *not* have a link to uunet, private or otherwise)
  77. >
  78. >Here is the output of "pathalias -c -l boo" (print costs, "local site"
  79. >is "boo"):
  80. >
  81. >    0    boo    %s
  82. >    4000    ecicrl    ecicrl!%s
  83. >    100000000    uunet    ecicrl!uunet!%s
  84. >    100000000    foo    ecicrl!uunet!foo!%s
  85.  
  86. And there it is: a path even though the link was not explicitly
  87. declared.  Without the "-c" option to pathalias, it looks just
  88. like any other path. With the given input, the only way to get
  89. from "boo" to "uunet" is via "ecicrl". Patahlias will generate
  90. such a path whether or not the "ecicrl"->"uunet" link is declared:
  91.  
  92. echo "foo\\tuunet\\nuunet\\tecicrl\\nboo\\tecicrl\\necicrl\\tuunet(DEAD)" | pathalias -l boo
  93.  
  94. boo    %s
  95. ecicrl    ecicrl!%s
  96. uunet    ecicrl!uunet!%s
  97. foo    ecicrl!uunet!foo!%s
  98.  
  99. Voila! Exactly the same paths. (the ``costs'' used by pathalias in
  100. its internal calculations are irrelevant)
  101.  
  102. >>A backlink may indicate other problems with the maps, e.g. a
  103. >>site whose map entry has not been updated when another site
  104. >>mentioned in its map has been removed from service, or the link
  105. >>disconnected.
  106. >
  107. >This is irrelevant to this scenario.  The scenario is that
  108. >you are marked terminal to your email service, and you don't
  109. >advertise the backlink at all.  
  110.  
  111. Allow me to clarify (real examples from (reasonably) current
  112. maps):
  113.  
  114. # u.usa.in.1 created by uucpmap@gator.rn.com on Tue Oct 27 07:09:15 EST 1992
  115. [...]
  116. #N    sir-alan
  117. #S    SCO ODT 1.1
  118. #O    Bloomington Public Access UNIX
  119. #C    Michael L. Squires
  120. #E    mikes@iuvax.cs.indiana.edu or mikes@sir-alan.UUCP
  121. #T    +1 812 333 6564
  122. #P    546 N. Park Ridge Rd., Bloomington, IN 47408
  123. #L    39 08 N / 86 31 W city
  124. #R    "sir-alan" is a public access/BBS/archive site.  Dial-up at
  125. #R    812 333-0450
  126. #U
  127. #W    Michael L. Squires ; Fri May 1 14:00:00 EST 1992
  128. #
  129. sir-alan    ispin(DAILY), util20(DAILY)
  130.  
  131. [...]
  132. # u.usa.in.1 EOF
  133.  
  134. file {u.usa.pa.1}
  135. #    start of u.usa.pa.1: Sat Sep 26 12:49:22 EDT 1992
  136. #    maintained by nemap@harvard.edu
  137. #    Please send all updates/new-entries
  138. #    to: uucpmap@rutgers.{uucp,edu}
  139.  
  140. [...]
  141. #N    devon.lns.pa.us, devon
  142. #F    hobbes.cert.org, rutgers.edu
  143. #S    LAN Tech 80486/33 PC; ESIX System V/386 Release 4.0.3a
  144. #O    Personal System
  145. #C    Paul Sutcliffe Jr.
  146. #E    postmaster@devon.lns.pa.us
  147. #T    +1 717 285 4500
  148. #P    113 Hampden Drive, Mountville, PA, 17554-1838
  149. #L    40 02 N / 76 18 W city
  150. #R    registered in the US domain
  151. #U    cbmvax dastari gizmonic ncoast sojurn vogon1
  152. #W    paul@devon.lns.pa.us (Paul Sutcliffe Jr.); Sun Sep 20 14:05:32 EDT 1992
  153. #
  154. devon    .devon.lns.pa.us
  155. devon=    devon.lns.pa.us
  156. #
  157. devon    cai-usd(DAILY+FAST), <cbmvax>(EVENING+FAST), dastari(POLLED+FAST),
  158.     fauxpa(POLLED+HIGH), frontinc(POLLED+HIGH), gizmonic(POLLED+FAST),
  159.     mbitow(EVENING+HIGH), <ncoast>(EVENING+FAST), rehab1(DEAD),
  160.     <rutgers>(EVENING+FAST), <sei>(EVENING+FAST), <sir-alan>(EVENING+FAST),
  161.     sojurn(POLLED+FAST), sonata(DAILY+FAST), <util20>(POLLED+FAST),
  162.     vogon1(POLLED+FAST)
  163.  
  164. [...]
  165. #    end of u.usa.pa.1: Sat Sep 26 12:49:27 EDT 1992
  166.  
  167. file {u.usa.pa.2}
  168. #    start of u.usa.pa.2: Sat Sep 26 12:49:35 EDT 1992
  169. [...]
  170.  
  171. #N    pitt
  172. #S    VAX-11/780;  4.3 BSD
  173. #O    University of Pittsburgh, Computer Science Dept.
  174. #C    Robert Hoffman
  175. #E    pitt!hoffman
  176. #T    +1 412 624 8404
  177. #P    306 Alumni Hall, Pittsburgh, PA 15260-3803
  178. #L    40 26 N / 80 00 W city
  179. #R    
  180. #U    amanue blue.cis.pitt.edu cuphub darth gatech grgzfla k3ive
  181. #U    n3igw nss w2xo widener winfree yfn.ysu.edu
  182. #W    pitt!hoffman (Bob Hoffman); Mon Feb 10 09:55:56 EST 1992
  183. #
  184. #    POLLED means they call us.
  185. #
  186. pitt    .cs.pitt.edu
  187. pitt    .pitt.edu
  188. pitt    =vax.cs.pitt.edu
  189. pitt    allegra(DAILY), amanue(DAILY), bellcore(DAILY), bovik(POLLED),
  190.     cisunx(DIRECT), cuphub(DAILY), darth(DIRECT), davykrz(POLLED),
  191.     devel(DEMAND), dithridge(POLLED), dvr-pgh(POLLED),
  192.     edinboro(DAILY), fdrpc(POLLED), gcc(POLLED), grgzfla(POLLED),
  193.     holly(POLLED), investor(DIRECT), k3ive(POLLED), kd4nc(DAILY),
  194.     n3cvl(POLLED), n3igw(DAILY), n8emr(DAILY), nelslab(DIRECT),
  195.     neoucom(DAILY), nss(POLLED), psuvax1(DAILY), santiago(DEMAND),
  196.     setech(POLLED), sir-alan(DAILY), taz(POLLED), telerama(POLLED),
  197.     thumper(WEEKLY), trib1(POLLED), w2xo(DEMAND), washpenn(POLLED),
  198.     willett(POLLED), winfree(DAILY), wmcs(DAILY), wqed(POLLED),
  199.     wvucsb(DAILY), peakpa(DAILY)
  200.  
  201. [...]
  202. #    end of u.usa.pa.2: Sat Sep 26 12:49:41 EDT 1992
  203.  
  204. file {u.usa.pa.3}
  205. #    start of u.usa.pa.3: Sat Sep 26 12:49:47 EDT 1992
  206. [...]
  207.  
  208. #N    util20
  209. #S    Tandy 4000LX XENIX 386
  210. #O    Utilities Engineering, GE Erie, PA
  211. #C    Barry Capell, voice phone (814) 875-2444
  212. #E    util20!barry
  213. #T    (814) 875-6429
  214. #P    GE Co., 2901 East Lake Road, Bldg. 4-1, Erie, PA 16531
  215. #L    41 37 N / 80 08 W
  216. #U
  217. #W    M.L. Squires/B.H. Capell ;  Mon Aug 27 10:31:37 EST 1989
  218. #
  219. util20    =peng
  220. #
  221. util20    devon(DAILY), ncoast(DAILY), homer(POLLED), sir-alan(POLLED),
  222.     util4(POLLED)
  223.  
  224. [...]
  225. #    end of u.usa.pa.3: Sat Sep 26 12:49:51 EDT 1992
  226.  
  227. So, what do we have? Considering only site "sir-alan" and those
  228. sites in the u.usa.pa.? maps that declare connections to
  229. sir-alan, we have: 
  230.  
  231. sir-alan    ispin(DAILY), util20(DAILY)
  232. util20    sir-alan(POLLED)
  233. pitt    sir-alan(DAILY)
  234. devon    <sir-alan>(EVENING+FAST)
  235.  
  236. The sir-alan <-> util20 link looks like it's OK ("ispin" doesn't
  237. appear to be in any of the map files--at least not the ones I
  238. have here.).   But what about sir-alan -> pitt and
  239. sir-alan -> devon ? Do those links exist (they're not declared)?
  240. More to the point: do the pitt -> sir-alan and devon -> sir-alan
  241. links really exist? (sir-alan was at one time located in
  242. Pennsylvania, BTW) How can we tell without sending all sorts of
  243. test messages? Can we really believe that the path
  244. "...!pitt!sir-alan!devon!..." will work (pathalias will generate
  245. such a path unless there's another way to get between pitt and
  246. devon (without backlinks))? And where is "ispin"?
  247.  
  248. [Believe me, there are many, many more examples of such, shall we
  249. say ambiguities in the UUCP maps.]
  250.  
  251. >Furthermore, explicitly marking the backlink DEAD doesn't help
  252. >if somewhere else there's a cheaper cost for the backlink.
  253.  
  254. Ditto for leaving the link out of your map entry. The *only*
  255. difference between a missing link (no pun intended)
  256. and a link explicitly delared with a symbolic ``cost'' of DEAD
  257. is that one can safely assume that the presence of the latter is
  258. due to somebody intentionally putting it there. In the case of a
  259. missing link, one does not know whether the corresponding
  260. reverse link which is declared is a mistake, or whether some
  261. part of the map(s) is missing, or whether the asymmetry is due
  262. to an oversight in either failing to add to the maps a link that
  263. exists or a failure to remove from the maps a link that is no
  264. longer valid. Indeed, the asymmetry is a pointer to a possible
  265. error in the maps.
  266.  
  267. To paraphrase you:
  268. Furthermore, explicitly marking the backlink DEAD doesn't hurt.
  269. [ the paths generated are precisely the same ]
  270.  
  271. >    dead {machinea!machineb}
  272. >
  273. >in your local map override file - you're not allowed to do
  274. >this in the public maps (at least, last time we tried), so
  275. >you're screwed.
  276.  
  277. [ordinarily, I'd say go look at d.AProject, but it's a small file...]
  278.  
  279. zcat ~uucp/uumap/d.AProject.Z
  280.  
  281. # d.AProject - pleasant@rutgers.edu - Wed Oct  7 16:21:36 EDT 1992
  282. #
  283. #  This is the UUCP Mapping Project's miscellaneous data file.  Here you'll
  284. #  find temporary patches which, because of this file's name, will become part
  285. #  of the input to pathalias.  In general, we will use this file to keep
  286. #  pathalias from generating known bad or unreliable paths.
  287. #
  288. #
  289. dead    {nrcaer}
  290. dead    {phri}
  291. dead    {samsung}
  292. dead    {sun!ico}
  293. dead    {uunet!cnix}
  294. #
  295. # end d.AProject
  296.  
  297. [Actually, I'm surprised d.AProject is so small; surely there
  298. are many more known bad or unreliable paths.]
  299.  
  300. If you have a known unreliable path (perhaps because mail via
  301. that path is intentionally dropped on the floor), perhaps you
  302. should bring that known unreliable path to the attention of the
  303. UUCP Mapping Project folks :-) (please read on before you do
  304. so)
  305.  
  306. >>If the link in fact exists, it should be listed in the maps.
  307.  
  308. Consider for a moment why the UUCP maps, pathalias, smail2.5,
  309. etc. exist in the first place.  Back in the bad old days, it was
  310. frequently necessary to generate a path by hand. This, of
  311. course, was prone to typographical errors and was generally a
  312. pain in the neck (among other places). Another method often
  313. used, and equally unreliable, was replying along usenet news
  314. Path header paths. Thanks to the UUCP Mapping Project and Peter
  315. Honeyman (pathalias' author) we now have a much easier-to-use
  316. method of generating (usually) reliable paths.
  317.  
  318. Ah, but as with any program, the output generated by pathalias can
  319. be no more reliable than the data fed to it (GIGO).
  320.  
  321. >Mentioning a link in the maps should be considered an open
  322. >advertisement for others to use it unless explicitly marked DEAD
  323. >(or terminal, but that's giving permission to use it to get
  324. >to the other site, just *not* beyond it).  Aside from issues of
  325. >unreasonably high volume (eg: MBAS usage), you can have no complaint
  326. >if someone automatically pathalias-routes through you.  Your
  327. >only recourse is to get the map entries fixed.
  328.  
  329. possible recourse(s) if somebody sends mail to your site,
  330. intended for delivery to a site to which you refuse to deliver:
  331. 1)    bounce the mail with a note explaining that mail cannot
  332.     be delivered via your system.
  333. 2)    drop the mail on the floor
  334. 3)    reroute via a less-objectionable route if one exists
  335.     (else use option 1 or 2)
  336.  
  337. >There's absolutely no reason to explicitly advertise a link that
  338. >you don't want people to traverse.
  339.  
  340. Reason #1: as a sanity check against the reverse link.  Q.E.D.
  341.  
  342. >Nope.  You can't override a "terminal".  You have to remove it.
  343. >Try it out.
  344.  
  345. [ for clarity ]
  346. echo "foo\\tuunet\\nuunet\\tecicrl\\nboo\\tecicrl\\necicrl\\t<uunet>(DEAD)" 
  347.  
  348. foo    uunet
  349. uunet    ecicrl
  350. boo    ecicrl
  351. ecicrl    <uunet>(DEAD)
  352.  
  353. So: "foo" should be unreachable from boo, n'est ce pas?
  354.  
  355. echo "foo\\tuunet\\nuunet\\tecicrl\\nboo\\tecicrl\\necicrl\\t<uunet>(DEAD)" | pathalias -l boo
  356.  
  357. boo    %s
  358. ecicrl    ecicrl!%s
  359. uunet    ecicrl!uunet!%s
  360. foo    ecicrl!uunet!foo!%s
  361.  
  362. Hmm... ``If the ``to'' host in a link is suppounded by angle
  363. brackets, the link is considered \fIterminal\fP, and further
  364. links beyond this one are heavily penalized...'' [Also sprach
  365. Peter Honeyman in the pathalias man page]
  366.  
  367. but apparently not prohibited... [Looks like we were both wrong
  368. about that]
  369.  
  370. Let's try again:
  371.  
  372. foo    uunet
  373. uunet    ecicrl
  374. boo    ecicrl
  375. ecicrl    <uunet>(DEAD)
  376. ecicrl    far
  377. far    uunet
  378.  
  379. echo "foo\\tuunet\\nuunet\\tecicrl\\nboo\\tecicrl\\necicrl\\t<uunet>(DEAD)\\necicrl\\tfar\\nfar\\tuunet" | pathalias -l boo
  380.  
  381. boo    %s
  382. ecicrl    ecicrl!%s
  383. far    ecicrl!far!%s
  384. uunet    ecicrl!far!uunet!%s
  385. foo    ecicrl!far!uunet!foo!%s
  386.  
  387. and:
  388.  
  389. foo    uunet
  390. uunet    ecicrl
  391. boo    ecicrl
  392. ecicrl    <uunet>(DEAD)
  393. delete {ecicrl!uunet}
  394. ecicrl    uunet
  395. ecicrl    far
  396. far    uunet
  397.  
  398. echo "foo\\tuunet\\nuunet\\tecicrl\\nboo\\tecicrl\\necicrl\\t<uunet>(DEAD)\\ndelete {ecicrl!uunet}\\necicrl\\tuunet\\necicrl\\tfar\\nfar\\tuunet"  | pathalias -l boo
  399.  
  400. boo    %s
  401. ecicrl    ecicrl!%s
  402. far    ecicrl!far!%s
  403. uunet    ecicrl!uunet!%s
  404. foo    ecicrl!uunet!foo!%s
  405.  
  406. Looks like a "delete" directive followed by a redeclaration
  407. (perhaps in a local input file) suffices.
  408.  
  409. My point: smail, pathalias etc. are only useful if the input to
  410. pathalias, viz. the UUCP maps, accurately reflect reality.
  411. Missing information, outdated information, and deliberately
  412. distorted (dis-)infomation all contribute to making these
  413. programs less useful.
  414.  
  415. If one is concerned about others using a pay-by-the-minute link,
  416. such as uunet, one should get a domain name (uunet will do that
  417. for it's customers) and use it, and stay out of the UUCP maps
  418. entirely. [reread that last bit, then read the README file which
  419. is periodically posted to comp.mail.maps]
  420.  
  421. If one is concerned about misuse of one's resources by ignorant
  422. or inconsiderate people, e.g. transfer of huge files via email,
  423. one should take appropriate action to curb that misuse; in the
  424. example given, one could enforce a message size limit
  425. (sendmail does that by default, and the limit is easily
  426. configured on a per-mailer basis).
  427.  
  428. Feeding garbage into pathalias (including by omission) doesn't
  429. solve any problems; it only creates other problems.
  430.  
  431. --
  432.     Bruce Lilly    [news.admin should have been renamed
  433.             "noise.adnauseum" a long time ago]
  434. -- 
  435.     Bruce Lilly        blilly!bruce@Broadcast.Sony.COM
  436.                     ...uunet!sonyusa!sonyd1!blilly!bruce
  437.