home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / mail / uucp / 2048 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  19.3 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!nott!cunews!revcan!ecicrl!clewis
  2. From: clewis@ferret.ocunix.on.ca (Chris Lewis)
  3. Newsgroups: comp.mail.uucp
  4. Subject: Re: UUCP map entries (long) (Was Re: Any easy way to filter this type of UUCP traffic?)
  5. Message-ID: <3983@ecicrl.ocunix.on.ca>
  6. Date: 12 Nov 92 08:59:05 GMT
  7. References: <1992Nov7.232211.4599@blilly.UUCP> <3965@ecicrl.ocunix.on.ca> <1992Nov10.033413.17188@blilly.UUCP>
  8. Organization: Elegant Communications Inc., Ottawa, Canada
  9. Lines: 465
  10.  
  11. In article <1992Nov10.033413.17188@blilly.UUCP> lilb@sony.compuserve.com writes:
  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. >As you can see from the headers above, the Followup-To was set
  15. >to news.admin.misc.  I neither made nor now make any implication
  16. >about whose "fault" it was.  I overrode it, as I stated.
  17.  
  18. I think that this is a "feature" in my Pnews (trn 2.2) - I didn't do it
  19. explicitly.  I have to investigate.
  20.  
  21. Sorry for the confusion.
  22.  
  23. >Perhaps I'm mistaken, but I believe that the point of
  24. >Followup-to is to place the follow-up(s) in one specific newsgroup,
  25. >rather than to perpetuate the cross-posting. In any event,
  26. >that's what happens using trn; the follow-up ended up with a
  27. >single Newsgroups header entry of "news.admin.misc".
  28. >I substituted what I felt to be the most appropriate newsgroup,
  29. >viz. comp.mail.uucp. It wasn't an oversight on my part; I did it
  30. >intentionally. If you think I did something wrong, please let me
  31. >know. (perhaps via email or in news.software.readers)
  32.  
  33. The idea usually is that if there's no Followup-to line,
  34. you add one and leave the Newsgroup line alone.  Then everybody
  35. who saw the posting you're following up to, will see yours too,
  36. and have the opportunity to "follow" it back into the group
  37. that you've added the Followup-to for.  Given my (rather bogus)
  38. Followup-to, it would have been best to reconstruct the original
  39. Newsgroup line then add the Followup-to.  Otherwise, people
  40. who saw the earlier stuff would think the thread simply died...
  41.  
  42. >Enough administrivia.
  43.  
  44. Yes.
  45.  
  46. >>>Pathalias will generate a ``backlink'' even if one half of the
  47. >>>link is not explicitly listed in the maps.
  48.  
  49. >>pathalias will indeed generate a backlink, but a backlink with
  50. >>cost of DEAD.  Even if the forward link isn't marked terminal.
  51.  
  52. I've been corrected (thank you).  The implicit backlink is 100*DEAD.
  53.  
  54. >>Long ago pathalias considered each link bidirectional at the same
  55. >>cost, but the versions that you need to operate with the current
  56. >>generation of maps do not do this.
  57.  
  58. >>If you don't believe me, try it.  You'll want to play with the -l
  59. >>and -c options to see the costs.
  60. >
  61. >I believe you--I know what pathalias does.  But I don't really
  62. >``want to play with the [...] -c option'' as the internal
  63. >calculations used by pathalias to select the least ``cost'' path
  64. >are irrelevant...
  65.  
  66. On the contrary, they're *entirely* relevant.  Because that's
  67. what pathalias uses to calculate the routes.  The goal is to
  68. make the backlink as high a cost as possible, because there
  69. will *always* be at least an implicit backlink if the forward link
  70. is mentioned in the maps at all.  (hold your "shouldn't be in
  71. the maps at all" until later...)
  72.  
  73. >>Here is a simple test:
  74.  
  75. >>    foo        uunet
  76. >>    uunet    ecicrl
  77. >>    boo        ecicrl
  78.  
  79. >>No explicit backlink from ecicrl to uunet.  (I should point out that
  80. >>I do *not* have a link to uunet, private or otherwise)
  81.  
  82. >>Here is the output of "pathalias -c -l boo" (print costs, "local site"
  83. >>is "boo"):
  84.  
  85. >>    0    boo    %s
  86. >>    4000    ecicrl    ecicrl!%s
  87. >>    100000000    uunet    ecicrl!uunet!%s
  88. >>    100000000    foo    ecicrl!uunet!foo!%s
  89.  
  90. >And there it is: a path even though the link was not explicitly
  91. >declared.  Without the "-c" option to pathalias, it looks just
  92. >like any other path. With the given input, the only way to get
  93. >from "boo" to "uunet" is via "ecicrl". Patahlias will generate
  94. >such a path whether or not the "ecicrl"->"uunet" link is declared:
  95.  
  96. I chose the input merely to show what the costs were.  Because it's
  97. obvious that there'd be no other possible link from boo to foo than
  98. thru the implicit backlink.  If you're running with a set of maps
  99. this small, of *course* that backlink will be used.  But in the
  100. real case, when you're running with at least a piece of the real
  101. maps this is unlikely.  You'd only be caught carrying email for people
  102. who have no other advertised route whatsoever with the outside world.
  103. This did happen to me.  A single site not a member of the
  104. domain park.  Not even directly connected to me.  I was able to
  105. fix things for them.  On the other hand, if I'd explicitly declared
  106. the link, probably even DEAD, I'd have been carrying much more.
  107.  
  108. >echo "foo\\tuunet\\nuunet\\tecicrl\\nboo\\tecicrl\\necicrl\\tuunet(DEAD)" | pathalias -l boo
  109. >
  110. >boo    %s
  111. >ecicrl    ecicrl!%s
  112. >uunet    ecicrl!uunet!%s
  113. >foo    ecicrl!uunet!foo!%s
  114.  
  115. >Voila! Exactly the same paths. (the ``costs'' used by pathalias in
  116. >its internal calculations are irrelevant)
  117.  
  118. Nope.  Try this:
  119.  
  120.     foo        uunet
  121.     uunet    ecicrl
  122.     boo        ecicrl
  123.     ecicrl    a(DEAD)
  124.     a    b(DEAD)
  125.     b    uunet(DEAD)
  126.  
  127. the path from boo to uunet is ecicrl!a!b!uunet.  If you add uunet(DEAD)
  128. to ecicrl's entry the route becomes ecicrl!uunet.  It preferred a
  129. thrice-dead path to the implicit backlink.  The undead lives! ;-)
  130.  
  131. Even a DEAD link is cheaper than the implicit backlink.  So if your
  132. goal is to keep the cost high, you can either leave it implicit,
  133. or equivallently, define it 100*DEAD.
  134.  
  135. The costs are relevant.
  136.  
  137. If, as I do, you have several other machines listed in your map entry, this
  138. becomes particularly critical.  In my case I have several (free)
  139. routes to long-haul links, but my service provider is so good,
  140. and the company pays for it (to obtain good turnaround for business
  141. purposes), I choose to have all stuff directly addressed to me go thru
  142. the paid link.  On the other hand, I have several other machines that
  143. will route through me (because they have no alternate route) to the
  144. free (but slower) long-haul links.
  145.  
  146.  
  147. >>>A backlink may indicate other problems with the maps, e.g. a
  148. >>>site whose map entry has not been updated when another site
  149. >>>mentioned in its map has been removed from service, or the link
  150. >>>disconnected.
  151.  
  152. >>This is irrelevant to this scenario.  The scenario is that
  153. >>you are marked terminal to your email service, and you don't
  154. >>advertise the backlink at all.  
  155.  
  156. >Allow me to clarify (real examples from (reasonably) current
  157. >maps):
  158.  
  159. [Bruce describes "sir-alan", a situation where a system moved, and
  160. some of the unidirectional links to or from it are possibly
  161. bogus.  This example has been brought up before.]
  162.  
  163. >So, what do we have? Considering only site "sir-alan" and those
  164. >sites in the u.usa.pa.? maps that declare connections to
  165. >sir-alan, we have: 
  166.  
  167. >sir-alan    ispin(DAILY), util20(DAILY)
  168. >util20    sir-alan(POLLED)
  169. >pitt    sir-alan(DAILY)
  170. >devon    <sir-alan>(EVENING+FAST)
  171.  
  172. >The sir-alan <-> util20 link looks like it's OK ("ispin" doesn't
  173. >appear to be in any of the map files--at least not the ones I
  174. >have here.).   But what about sir-alan -> pitt and
  175. >sir-alan -> devon ? Do those links exist (they're not declared)?
  176. >More to the point: do the pitt -> sir-alan and devon -> sir-alan
  177. >links really exist? (sir-alan was at one time located in
  178. >Pennsylvania, BTW) How can we tell without sending all sorts of
  179. >test messages? Can we really believe that the path
  180. >"...!pitt!sir-alan!devon!..." will work (pathalias will generate
  181. >such a path unless there's another way to get between pitt and
  182. >devon (without backlinks))? And where is "ispin"?
  183.  
  184. >[Believe me, there are many, many more examples of such, shall we
  185. >say ambiguities in the UUCP maps.]
  186.  
  187. I don't see anything particularly wrong with this set of
  188. maps when taken in their entirety.  In fact, devon and sir-alan
  189. do seem to be using the same "terminal"/no-backlink method I've
  190. suggested.  The costs of both pitt and devon to sir-alan are both
  191. consistent with a long distance link which is still being maintained,
  192. and that sir-alan may even be conciously blocking stuff downstream of
  193. him going via devon or pitt by not listing the backlinks.
  194.  
  195. As to your questions:
  196.     - does sir-alan->pitt or sir-alan->devon exist?
  197.       Probably.
  198.     - how can we tell?  By bounces.  A priori analysis
  199.       is pointless.
  200.     - can we believe ...!pitt!sir-alan!devon!...?  Are
  201.       you being asked to?  If pathalias chooses
  202.       to route that way (does it?) you'll either get
  203.       a bounce or it'll work and maybe somebody will
  204.       get mad and fix the problem by marking pitt->sir-alan
  205.       terminal...
  206.     - where is ispin?  Do you think pathalias cares?
  207.       If the link is legitimate, does it matter?
  208.  
  209. Actually, by my reading of the maps, the only likely bogus link
  210. is util20 because its map entry is 1989.  The others are 1992,
  211. and are likely to be up to date.  There's probably nothing
  212. unusual about it.  devon and sir-alan are participating in
  213. exactly the same scenario I've proposed - devon->sir-alan is
  214. terminal, and no specified backlink - the costs imply that
  215. it's a long distance link.  This is reasonable.  Pitt?
  216. I dunno.  DAILY is fairly high - could be the same intent as
  217. the devon/sir-alan situation.  Frankly, it could as easily
  218. be something reasonably carefully crafted to funnel stuff
  219. to sir-alan via long-haul links, but to *tend* to prevent the
  220. links being used as intermediate hops.
  221.  
  222. Let's say the backlinks are bogus.  Aside from the fact
  223. that implicit backlinks are more expensive, and pathalias *might*
  224. route differently, routing might just turn out to use them anyways.  How
  225. are you going to find out?  By something bouncing - pathalias
  226. certainly isn't going to try to tell you that it "looks suspicious".
  227. DEAD isn't likely to help - in fact, it can only make routing thru
  228. these more likely.  What will your response be - DEAD or not?
  229. Send mail to the postmasters asking them to clarify the situation
  230. and fix their maps.  Explicit DEAD makes no difference - except
  231. making pathalias slightly more likely to *use* the explicit DEAD
  232. links.
  233.  
  234. A priori guessing is pointless.  Pathalias certainly doesn't
  235. try.  After the bounce it makes no difference - the link is busted
  236. DEAD or not.  DEMAND or not.
  237.  
  238. >>Furthermore, explicitly marking the backlink DEAD doesn't help
  239. >>if somewhere else there's a cheaper cost for the backlink.
  240.  
  241. >Ditto for leaving the link out of your map entry. The *only*
  242. >difference between a missing link (no pun intended)
  243. >and a link explicitly delared with a symbolic ``cost'' of DEAD
  244. >is that one can safely assume that the presence of the latter is
  245. >due to somebody intentionally putting it there. In the case of a
  246. >missing link, one does not know whether the corresponding
  247. >reverse link which is declared is a mistake, or whether some
  248. >part of the map(s) is missing, or whether the asymmetry is due
  249. >to an oversight in either failing to add to the maps a link that
  250. >exists or a failure to remove from the maps a link that is no
  251. >longer valid. Indeed, the asymmetry is a pointer to a possible
  252. >error in the maps.
  253.  
  254. All is entirely true, but the only way you find out about this
  255. is when you get a bounce - *that* is what tells you there's
  256. an error.  You don't have to do any deducting or inducting
  257. or anything else - the bounce means it's bogus.  DEAD doesn't
  258. help pathalias at all, and the bounce is all *you* need to know.
  259.  
  260. >To paraphrase you:
  261. >Furthermore, explicitly marking the backlink DEAD doesn't hurt.
  262. >[ the paths generated are precisely the same ]
  263.  
  264. As I noted before, I got corrected.  An implicit backlink
  265. is 100 times higher cost than DEAD.  So the paths aren't
  266. neccessarily the same.
  267.  
  268. >>    dead {machinea!machineb}
  269.  
  270. >>in your local map override file - you're not allowed to do
  271. >>this in the public maps (at least, last time we tried), so
  272. >>you're screwed.
  273.  
  274. >[ordinarily, I'd say go look at d.AProject, but it's a small file...]
  275.  
  276. Yes I know.  You'd think that using the maps since *before* pathalias
  277. and the UUCP Mapping Project (yes, there were maps before then.
  278. And there was a different, very slow, program to generate paths),
  279. and having written and distributed map unpacking software since
  280. 1986 would tend to make sure I knew.
  281.  
  282. I should have been clearer.  You aren't allowed to put "dead{}"
  283. entries in individual site maps.
  284.  
  285. Mel Pleasant has distributed a program that many (most?  all?)
  286. of the coordinators use to automatically validate map submissions.
  287. It is *extremely* picky.
  288.  
  289. In 1988/9 one of our machines went down for an extended period of
  290. time and we tried to "reserve" the name by doing a dead on it.
  291. [In retrospect, this was silly.] Our local map coordinator's daemon
  292. bounced it right back.  I've sent off a test to our new
  293. coordinator and we'll see very shortly what it has to say.
  294.  
  295. >zcat ~uucp/uumap/d.AProject.Z
  296.  
  297. You mean you're not using unpackmaps?  Tsk tsk.  You'd say:
  298.  
  299.     uuwhere -r d.AProject
  300.  
  301. ;-)
  302.  
  303. >[Actually, I'm surprised d.AProject is so small; surely there
  304. >are many more known bad or unreliable paths.]
  305.  
  306. It's never been very big.  With latencies up into the multiple-months,
  307. it's not that useful.  It's intended for the maintainers to "fix"
  308. major bogosities that slipped thru audit (however much they do).
  309. Ie: Australia decides to route everything through a machine nobody
  310. has ever heard of, and actually doesn't exist...  Back in the
  311. old days, you should have seen some of the routing.  We saw
  312. routes that were from one part of the SF bay area to another
  313. via Korea, Japan and Europe.
  314.  
  315. >>>If the link in fact exists, it should be listed in the maps.
  316.  
  317. >Consider for a moment why the UUCP maps, pathalias, smail2.5,
  318. >etc. exist in the first place.  Back in the bad old days, it was
  319. >frequently necessary to generate a path by hand. This, of
  320. >course, was prone to typographical errors and was generally a
  321. >pain in the neck (among other places). Another method often
  322. >used, and equally unreliable, was replying along usenet news
  323. >Path header paths. Thanks to the UUCP Mapping Project and Peter
  324. >Honeyman (pathalias' author) we now have a much easier-to-use
  325. >method of generating (usually) reliable paths.
  326.  
  327. >Ah, but as with any program, the output generated by pathalias can
  328. >be no more reliable than the data fed to it (GIGO).
  329.  
  330. Thanks for the history lesson.  You've not yet managed to
  331. demonstrate that DEADing the backlinks as opposed to leaving
  332. them implicit make it any less GI.  In fact, it can only make
  333. it *more* likely you'll trip over it.  It doesn't help
  334. pathalias route smarter.  And it doesn't help you when something
  335. bounces.
  336.  
  337. >>Mentioning a link in the maps should be considered an open
  338. >>advertisement for others to use it unless explicitly marked DEAD
  339. >>(or terminal, but that's giving permission to use it to get
  340. >>to the other site, just *not* beyond it).  Aside from issues of
  341. >>unreasonably high volume (eg: MBAS usage), you can have no complaint
  342. >>if someone automatically pathalias-routes through you.  Your
  343. >>only recourse is to get the map entries fixed.
  344.  
  345. >possible recourse(s) if somebody sends mail to your site,
  346. >intended for delivery to a site to which you refuse to deliver:
  347. >1)    bounce the mail with a note explaining that mail cannot
  348. >    be delivered via your system.
  349. >2)    drop the mail on the floor
  350. >3)    reroute via a less-objectionable route if one exists
  351. >    (else use option 1 or 2)
  352.  
  353. I've mucked smail 2.5 to do (1) and (2)...  The problem being,
  354. of course, that in at least some of these cases you've already
  355. paid for the transmission, and your "recourse" ain't.
  356.  
  357. >>There's absolutely no reason to explicitly advertise a link that
  358. >>you don't want people to traverse.
  359.  
  360. >Reason #1: as a sanity check against the reverse link.  Q.E.D.
  361.  
  362. Nope.  It doesn't prevent pathalias from routing thru it.  In fact
  363. it may make it more likely.  If the reverse link gets used, DEAD
  364. doesn't help, you gotta fix your (or somebody else's) map anyways.
  365.  
  366. >>Nope.  You can't override a "terminal".  You have to remove it.
  367. >>Try it out.
  368.  
  369. >foo    uunet
  370. >uunet    ecicrl
  371. >boo    ecicrl
  372. >ecicrl    <uunet>(DEAD)
  373.  
  374. >So: "foo" should be unreachable from boo, n'est ce pas?
  375.  
  376. [It is reachable]
  377.  
  378. >but apparently not prohibited... [Looks like we were both wrong
  379. >about that]
  380.  
  381. With -c, you see it's the same cost as an implicit backlink.  And
  382. since there's no alternate routes...  This isn't surprising.
  383.  
  384. >foo    uunet
  385. >uunet    ecicrl
  386. >boo    ecicrl
  387. >ecicrl    <uunet>(DEAD)
  388. >delete {ecicrl!uunet}
  389. >ecicrl    uunet
  390. >ecicrl    far
  391. >far    uunet
  392.  
  393. [produces:]
  394.  
  395. >boo    %s
  396. >ecicrl    ecicrl!%s
  397. >far    ecicrl!far!%s
  398. >uunet    ecicrl!uunet!%s
  399. >foo    ecicrl!uunet!foo!%s
  400.  
  401. >Looks like a "delete" directive followed by a redeclaration
  402. >(perhaps in a local input file) suffices.
  403.  
  404. The "ecicrl!uunet" has to be in a local input or it defeats the purpose.
  405. If it's published, the DEAD and delete are no-ops, and you've just opened
  406. the link all the way.
  407.  
  408. If you can get away with deletes in the maps, you don't need
  409. the "ecicrl <uunet>(DEAD)" at all.
  410.  
  411. >My point: smail, pathalias etc. are only useful if the input to
  412. >pathalias, viz. the UUCP maps, accurately reflect reality.
  413. >Missing information, outdated information, and deliberately
  414. >distorted (dis-)infomation all contribute to making these
  415. >programs less useful.
  416.  
  417. DEAD doesn't help, and my proposal isn't dis-information.  What
  418. then?
  419.  
  420. >If one is concerned about others using a pay-by-the-minute link,
  421. >such as uunet, one should get a domain name (uunet will do that
  422. >for it's customers) and use it, and stay out of the UUCP maps
  423. >entirely. [reread that last bit, then read the README file which
  424. >is periodically posted to comp.mail.maps]
  425.  
  426. uuwhere -r README doesn't really say anything like this at all.
  427. It does recommend that you join get a domain and join the UUCP zone,
  428. which puts you in the d.* files, for the explicit reason that you
  429. won't have to register other machines inside your domain.  HOWEVER,
  430. the README is grossly out of date.  The d.* files (except for
  431. d.AProject and d.Top) are NOT USED ANYMORE.  The UUCP zone is
  432. effectively in the u.<country>.? files (ie: u.can.1 as opposed to
  433. u.can.on.1).  Ie: "get a domain, and put your domain in the zone
  434. files".  This is *not* being out of the UUCP maps at all.
  435.  
  436. I suggest you go read the Email Software Survey FAQ - I can
  437. quote authorities with the best of em... ;-)
  438.  
  439. You can, of course, omit your systems completely from the UUCP
  440. maps and rely on MX forwarding by your metered site.  But this does
  441. several very undesirable things:
  442.  
  443.     1) every bit of mail to you *must* traverse the paid link.
  444.        Regardless of whether you have cheap local links.
  445.     2) every bit of mail to you *must* traverse the Internet.
  446.        Otherwise, nobody'll know where your MX points.
  447.     3) You can't participate in local networks properly.
  448.  
  449. If I did that, sending a piece of mail to the guy down the street
  450. would cost money to the metered site, not to mention travel an
  451. extra 500 miles.
  452.  
  453. Now, if you're a 100% leaf, so your only link is to the paid site,
  454. yeah, this'll work.  But I don't operate that way.  And many
  455. others don't wish to either.
  456.  
  457. >If one is concerned about misuse of one's resources by ignorant
  458. >or inconsiderate people, e.g. transfer of huge files via email,
  459. >one should take appropriate action to curb that misuse; in the
  460. >example given, one could enforce a message size limit
  461. >(sendmail does that by default, and the limit is easily
  462. >configured on a per-mailer basis).
  463.  
  464. This doesn't help if you've already received it via UUCP over
  465. your metered link.  Your spool may already be blown.  And it's
  466. already cost you bux.
  467.  
  468. >Feeding garbage into pathalias (including by omission) doesn't
  469. >solve any problems; it only creates other problems.
  470.  
  471. To paraphrase, "where's the garbage?"
  472. -- 
  473. Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541
  474. Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca
  475. Ferret list: ferret-request@ferret.ocunix.on.ca
  476.