home *** CD-ROM | disk | FTP | other *** search
/ minnie.tuhs.org / unixen.tar / unixen / PDP-11 / Bug_Fixes / Net.v7bugs / 0040 < prev    next >
Encoding:
Text File  |  1981-11-24  |  1.6 KB  |  31 lines

  1. Autzoo.1150
  2. net.v7bugs
  3. utzoo!henry
  4. Tue Nov 24 12:49:20 1981
  5. uucp seqno wraparound
  6. The code in uux (and elsewhere?) that picks filenames for spool files
  7. makes no attempt to cope with wraparound of the 4-digit sequence number.
  8. A busy site like decvax can wrap the sequence number in less than a week.
  9. This is bad news if you are a site that polls a busy site infrequently.
  10. The odds are excellent that you will lose X-files (containing uux commands
  11. to be executed at your site) since their spool files have names which are
  12. protected against collisions only by the sequence number.  The C-files
  13. (which actually control transmission) and D-files (which contain the
  14. data the X-files operate on) are less vulnerable because their spool names
  15. contain the name of your site as well, but it is still possible for them
  16. to get stomped (the chances increase as the quantity of traffic spooled
  17. for you increases).
  18.  
  19. The symptoms of X-file loss are files with names like D.mysiteB2345
  20. piling up in /usr/spool/uucp.  (If you use uuclean or the equivalent
  21. to clean out the directory, you may have to look sharp to notice them
  22. before they vanish!)  The symptoms of C-file or D-file stomping are
  23. missing traffic and mismatches between data and commands (e.g. something
  24. that looks like mail being fed to news instead).
  25.  
  26. Clearly uux (et al?) should iterate until it finds an unused filename.
  27. Due to race conditions etc., this may not be as easy as it sounds.
  28. I have not investigated in detail;  at the moment the problem can be
  29. controlled by frequent polling.  This obviously won't work forever if
  30. the network traffic keeps increasing.
  31.