home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / protocol / short-packets.txt < prev    next >
Text File  |  2020-01-01  |  14KB  |  309 lines

  1. 12-Sep-97  5:53:41-GMT,3305;000000000011
  2. Return-Path: <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  3. Received: from CUVMB.CC.COLUMBIA.EDU (cuvmb.cc.columbia.edu [128.59.40.129])
  4.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with SMTP id BAA15800
  5.     for <fdc@watsun.CC.COLUMBIA.EDU>; Fri, 12 Sep 1997 01:53:40 -0400 (EDT)
  6. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  7.    with BSMTP id 3818; Fri, 12 Sep 97 01:53:43 EDT
  8. Received: from CUVMB.CC.COLUMBIA.EDU (JCHBN) by CUVMB.CC.COLUMBIA.EDU (Mailer
  9.  R2.07) with BSMTP id 8970; Fri, 12 Sep 97 01:53:43 EDT
  10. Date: Thu, 11 Sep 1997   23:06 EDT
  11. From: "John F. Chandler"   <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  12. To: Frank da Cruz   <fdc@watsun.CC.COLUMBIA.EDU>,
  13.         Joe Doupnik   <JRD@cc.usu.edu>
  14. Subject: Re: Some new Kermit protocol tweaks
  15. In-reply-to: fdc@watsun.cc.columbia.edu message
  16.    <CMM.0.90.4.874025958.fdc@watsun.cc.columbia.edu> of Thu, 11 Sep 97 20:59:18
  17.    EDT
  18. Message-id: <JCHBN.970911.230613.RC0@CUVMB.CC.COLUMBIA.EDU>
  19.  
  20. > You probably already take care of all this in K370, but due to a recent
  21. > "situation", I finally also do so in C-Kermit, and Joe does in MSK:
  22.  
  23. Only in part.  In practice, really short packet limits are not realistic
  24. for sending from a mainframe, since the transfer goes over the same
  25. channel that the system uses for ordinary output to the terminal.
  26. Nonetheless...
  27.  
  28. > 4.8.1. Multiple Attribute Packets
  29.  
  30. I implemented this long ago, since the potential for really long bunches
  31. of attribute info was implied by the wide variety of available
  32. attributes.
  33.  
  34. > particular attribute (such as file creation date-time) does not fit within the
  35. > negotiated length, it is not sent at all.
  36.  
  37. This is a possibility that I considered, but handled differently -- I
  38. took the view that the attribute couldn't be skipped and so sent it
  39. despite its length.  After all, quietly suppressing part of a transfer
  40. is the most insidious thing I can imagine.  In the context of a 30-byte
  41. limit (as mentioned later), there aren't any attributes that wouldn't
  42. fit.  The time tag is only 17 plus packet overhead.  Are you serious
  43. about the possibility of a 20-byte limit?
  44.  
  45. >  1. Parameter negotiation packets (I, S, and their ACKs) are truncated to
  46. >     the negotiated length.
  47.  
  48. Wait a minute.  At the time of the I and S packets, the negotiation has
  49. not yet begun.  The packet length is technically undefined (except in
  50. K370 the user can manually set the limit pending the first negotation).
  51. hmmmm.
  52.  
  53. >  2. File header packets (containing the filename) are simply truncated.
  54. >     There is no provision in the Kermit protocol for fragmentation and
  55. >     reassembly of filenames.
  56.  
  57. Surprisingly enough, this was implemented long ago.
  58.  
  59. >  4. Data packets and other packets are unaffected -- they can be as short
  60. >     as they need to be, within reason.
  61.  
  62. That's the key -- "within reason".  You need room for at least three
  63. data bytes in every packet (or five if repeat-counting is turned on).
  64.  
  65. > P.S. Any progress on K-370 4.3.2?  The Year-2000 Hordes are beating down
  66. > the door...
  67.  
  68. Well, there's this problem that a tester has run into...  I'm hoping it
  69. was just a faulty installation, but the symptoms are pretty serious.
  70. Everything is ready to go, in principle, but I'd like to get this laid
  71. to rest before making the release official.
  72.  
  73.                                                John
  74.  
  75. 12-Sep-97  0:59:20-GMT,2343;000000000001
  76. Return-Path: <fdc>
  77. Received: (from fdc@localhost)
  78.     by watsun.cc.columbia.edu (8.8.5/8.8.5) id UAA02245;
  79.     Thu, 11 Sep 1997 20:59:18 -0400 (EDT)
  80. Date: Thu, 11 Sep 97 20:59:18 EDT
  81. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  82. To: John Chandler <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  83. Subject: Some new Kermit protocol tweaks
  84. Cc: Joe Doupnik <JRD@cc.usu.edu>
  85. Message-ID: <CMM.0.90.4.874025958.fdc@watsun.cc.columbia.edu>
  86.  
  87. You probably already take care of all this in K370, but due to a recent
  88. "situation", I finally also do so in C-Kermit, and Joe does in MSK:
  89.  
  90. 4.8.1. Multiple Attribute Packets
  91.  
  92. 6.0.193 will now send more than one Attribute packet if a file's attributes
  93. do not fit into into a single packet of the negotiated length.  If a
  94. particular attribute (such as file creation date-time) does not fit within the
  95. negotiated length, it is not sent at all.
  96.  
  97. 4.8.2. Very Short Packets
  98.  
  99. There are certain situations where extremely short packets must be used;
  100. 20 or 30 bytes at most.  This can happen when one or more devices along the
  101. communication path have very small buffers and lack an effective means of
  102. flow control.  Examples are sometimes cited involving radio modems.
  103.  
  104. When the maximum packet length is shorter than certain packets that would be
  105. sent, those packets are either truncated or else broken up into multiple
  106. packets.  Specifically:
  107.  
  108.  1. Parameter negotiation packets (I, S, and their ACKs) are truncated to
  109.     the negotiated length.  Any parameters that do not fit are reset to
  110.     their default values.  There is no provision in the Kermit protocol for
  111.     fragmentation and reassembly of parameter strings.
  112.  
  113.  2. File header packets (containing the filename) are simply truncated.
  114.     There is no provision in the Kermit protocol for fragmentation and
  115.     reassembly of filenames.
  116.  
  117.  3. Attribute packets are fragmented and reassembled as described in 4.8.1
  118.     without loss of data, except in case a field will not fit at all in
  119.     the negotiated length (the longest attribute is usually the date and
  120.     time of file creation/modification) because of the rule that attributes
  121.     may not be broken across packets.
  122.  
  123.  4. Data packets and other packets are unaffected -- they can be as short
  124.     as they need to be, within reason.
  125.  
  126. - Frank
  127.  
  128. P.S. Any progress on K-370 4.3.2?  The Year-2000 Hordes are beating down
  129. the door...
  130.  
  131. 12-Sep-97  5:53:41-GMT,3305;000000000011
  132. Return-Path: <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  133. Received: from CUVMB.CC.COLUMBIA.EDU (cuvmb.cc.columbia.edu [128.59.40.129])
  134.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with SMTP id BAA15800
  135.     for <fdc@watsun.CC.COLUMBIA.EDU>; Fri, 12 Sep 1997 01:53:40 -0400 (EDT)
  136. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  137.    with BSMTP id 3818; Fri, 12 Sep 97 01:53:43 EDT
  138. Received: from CUVMB.CC.COLUMBIA.EDU (JCHBN) by CUVMB.CC.COLUMBIA.EDU (Mailer
  139.  R2.07) with BSMTP id 8970; Fri, 12 Sep 97 01:53:43 EDT
  140. Date: Thu, 11 Sep 1997   23:06 EDT
  141. From: "John F. Chandler"   <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  142. To: Frank da Cruz   <fdc@watsun.CC.COLUMBIA.EDU>,
  143.         Joe Doupnik   <JRD@cc.usu.edu>
  144. Subject: Re: Some new Kermit protocol tweaks
  145. In-reply-to: fdc@watsun.cc.columbia.edu message
  146.    <CMM.0.90.4.874025958.fdc@watsun.cc.columbia.edu> of Thu, 11 Sep 97 20:59:18
  147.    EDT
  148. Message-id: <JCHBN.970911.230613.RC0@CUVMB.CC.COLUMBIA.EDU>
  149.  
  150. > You probably already take care of all this in K370, but due to a recent
  151. > "situation", I finally also do so in C-Kermit, and Joe does in MSK:
  152.  
  153. Only in part.  In practice, really short packet limits are not realistic
  154. for sending from a mainframe, since the transfer goes over the same
  155. channel that the system uses for ordinary output to the terminal.
  156. Nonetheless...
  157.  
  158. > 4.8.1. Multiple Attribute Packets
  159.  
  160. I implemented this long ago, since the potential for really long bunches
  161. of attribute info was implied by the wide variety of available
  162. attributes.
  163.  
  164. > particular attribute (such as file creation date-time) does not fit within the
  165. > negotiated length, it is not sent at all.
  166.  
  167. This is a possibility that I considered, but handled differently -- I
  168. took the view that the attribute couldn't be skipped and so sent it
  169. despite its length.  After all, quietly suppressing part of a transfer
  170. is the most insidious thing I can imagine.  In the context of a 30-byte
  171. limit (as mentioned later), there aren't any attributes that wouldn't
  172. fit.  The time tag is only 17 plus packet overhead.  Are you serious
  173. about the possibility of a 20-byte limit?
  174.  
  175. >  1. Parameter negotiation packets (I, S, and their ACKs) are truncated to
  176. >     the negotiated length.
  177.  
  178. Wait a minute.  At the time of the I and S packets, the negotiation has
  179. not yet begun.  The packet length is technically undefined (except in
  180. K370 the user can manually set the limit pending the first negotation).
  181. hmmmm.
  182.  
  183. >  2. File header packets (containing the filename) are simply truncated.
  184. >     There is no provision in the Kermit protocol for fragmentation and
  185. >     reassembly of filenames.
  186.  
  187. Surprisingly enough, this was implemented long ago.
  188.  
  189. >  4. Data packets and other packets are unaffected -- they can be as short
  190. >     as they need to be, within reason.
  191.  
  192. That's the key -- "within reason".  You need room for at least three
  193. data bytes in every packet (or five if repeat-counting is turned on).
  194.  
  195. > P.S. Any progress on K-370 4.3.2?  The Year-2000 Hordes are beating down
  196. > the door...
  197.  
  198. Well, there's this problem that a tester has run into...  I'm hoping it
  199. was just a faulty installation, but the symptoms are pretty serious.
  200. Everything is ready to go, in principle, but I'd like to get this laid
  201. to rest before making the release official.
  202.  
  203.                                                John
  204.  
  205. 12-Sep-97 13:28:04-GMT,2776;000000000000
  206. Return-Path: <fdc>
  207. Received: (from fdc@localhost)
  208.     by watsun.cc.columbia.edu (8.8.5/8.8.5) id JAA18834;
  209.     Fri, 12 Sep 1997 09:28:02 -0400 (EDT)
  210. Date: Fri, 12 Sep 97 9:28:02 EDT
  211. From: Frank da Cruz <fdc@watsun.cc.columbia.edu>
  212. To: "John F. Chandler" <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  213. Cc: Joe Doupnik <JRD@cc.usu.edu>
  214. Subject: Re: Some new Kermit protocol tweaks
  215. In-Reply-To: Your message of Thu, 11 Sep 1997 23:06 EDT
  216. Message-ID: <CMM.0.90.4.874070882.fdc@watsun.cc.columbia.edu>
  217.  
  218. > > particular attribute (such as file creation date-time) does not fit within
  219. > > the negotiated length, it is not sent at all.
  220. > This is a possibility that I considered, but handled differently -- I
  221. > took the view that the attribute couldn't be skipped and so sent it
  222. > despite its length.  After all, quietly suppressing part of a transfer
  223. > is the most insidious thing I can imagine.  In the context of a 30-byte
  224. > limit (as mentioned later), there aren't any attributes that wouldn't
  225. > fit.  The time tag is only 17 plus packet overhead.  Are you serious
  226. > about the possibility of a 20-byte limit?
  227. Not exactly, but there is obviously *some* lower bound beyond which things
  228. just won't work.  The idea, however, is that if a limit is declared, then
  229. this was done for a reason, and exceeding the limit is likely to be more
  230. disastrous (e.g. chopping off the end of the packet so it can never be read,
  231. causing the transfer to fail) than omitting some attribute info.
  232.  
  233. > >  1. Parameter negotiation packets (I, S, and their ACKs) are truncated to
  234. > >     the negotiated length.
  235. > Wait a minute.  At the time of the I and S packets, the negotiation has
  236. > not yet begun.  The packet length is technically undefined (except in
  237. > K370 the user can manually set the limit pending the first negotation).
  238. > hmmmm.
  239. That's what I meant -- "set send packet-length 12" and the "send".  Not a
  240. big deal since it won't come up more than once every 10 years...
  241.  
  242. > >  4. Data packets and other packets are unaffected -- they can be as short
  243. > >     as they need to be, within reason.
  244. > That's the key -- "within reason".  You need room for at least three
  245. > data bytes in every packet (or five if repeat-counting is turned on).
  246. I'll worry about that if it ever comes up :-)
  247.  
  248. > > P.S. Any progress on K-370 4.3.2?  The Year-2000 Hordes are beating down
  249. > > the door...
  250. > Well, there's this problem that a tester has run into...  I'm hoping it
  251. > was just a faulty installation, but the symptoms are pretty serious.
  252. > Everything is ready to go, in principle, but I'd like to get this laid
  253. > to rest before making the release official.
  254. OK, great -- quality comes first :-)  Anyway, it's gratifying to know there
  255. are still some mainframes left.  And they don't even run Windows!
  256.  
  257. Thanks.
  258.  
  259. - Frank
  260.  
  261. 12-Sep-97 18:28:27-GMT,2139;000000000001
  262. Return-Path: <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  263. Received: from CUVMB.CC.COLUMBIA.EDU (cuvmb.cc.columbia.edu [128.59.40.129])
  264.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with SMTP id OAA10545
  265.     for <fdc@watsun.CC.COLUMBIA.EDU>; Fri, 12 Sep 1997 14:28:27 -0400 (EDT)
  266. Received: from CUVMB.CC.COLUMBIA.EDU by CUVMB.CC.COLUMBIA.EDU (IBM VM SMTP V2R1)
  267.    with BSMTP id 4245; Fri, 12 Sep 97 14:28:29 EDT
  268. Received: from CUVMB.CC.COLUMBIA.EDU (JCHBN) by CUVMB.CC.COLUMBIA.EDU (Mailer
  269.  R2.07) with BSMTP id 9933; Fri, 12 Sep 97 14:28:29 EDT
  270. Date: Fri, 12 Sep 1997   14:13 EDT
  271. From: "John F. Chandler"   <JCHBN@CUVMB.CC.COLUMBIA.EDU>
  272. To: Frank da Cruz   <fdc@watsun.CC.COLUMBIA.EDU>,
  273.         Joe Doupnik   <JRD@cc.usu.edu>
  274. Subject: Re: Some new Kermit protocol tweaks
  275. In-reply-to: fdc@watsun.cc.columbia.edu message
  276.    <CMM.0.90.4.874070882.fdc@watsun.cc.columbia.edu> of Fri, 12 Sep 97 9:28:02
  277.    EDT
  278. Message-id: <JCHBN.970912.141301.RC0@CUVMB.CC.COLUMBIA.EDU>
  279.  
  280. >  The idea, however, is that if a limit is declared, then
  281. > this was done for a reason, and exceeding the limit is likely to be more
  282. > disastrous (e.g. chopping off the end of the packet so it can never be read,
  283. > causing the transfer to fail) than omitting some attribute info.
  284.  
  285. I have only the philosophical objection that suppressing part of the
  286. expected transfer process without warning or even subsequent diagnostic
  287. is a particularly bad procedure.  Consider the process for determining
  288. what packet limit to use: the sensible and obvious thing to do is to
  289. try a size and then halve it if that didn't work, so a likely scenario
  290. would be 94 (too big), 47 (too big), 23 (worked, sort of).  In other
  291. words, I would argue that the particular length specified might well
  292. *not* be for a particular reason.  After all, there is a mechanism for
  293. suppressing the time stamp.  (Of course, I have to admit that it would
  294. be very tricky explaining why the user must enter SET ATTRI DATE OFF
  295. in order to get transfers to work in the case of a real limit at 20.)
  296. Oh, well.  I guess this is such a rare scenario that it doesn't pay to
  297. worry too much about it...
  298.  
  299.                                        John
  300.  
  301.