home *** CD-ROM | disk | FTP | other *** search
/ Handbook of Infosec Terms 2.0 / Handbook_of_Infosec_Terms_Version_2.0_ISSO.iso / text / rfcs / rfc0852.txt < prev    next >
Text File  |  1996-05-07  |  17KB  |  721 lines

  1.  
  2.  
  3.  
  4.  
  5.      Request for Comments: 852 
  6.  
  7.  
  8.  
  9.  
  10.  
  11.                      The ARPANET Short Blocking Feature 
  12.  
  13.  
  14.  
  15.                                   RFC 852 
  16.  
  17.  
  18.  
  19.  
  20.  
  21.                               Andrew G. Malis                        ARPANET Mail: malis@bbn-unix 
  22.  
  23.  
  24.  
  25.  
  26.  
  27.                        Bolt Beranek and Newman Inc.                               50 Moulton St.                            Cambridge, MA  02238 
  28.  
  29.  
  30.  
  31.  
  32.  
  33.                                 April 1983 
  34.  
  35.  
  36.  
  37.  
  38.  
  39.      This RFC specifies the ARPANET Short Blocking Feature, which will      allow ARPANET hosts to optionally shorten the IMP's host blocking      timer.  This Feature is a replacement of the ARPANET non-blocking      host   interface,  which  was  never  implemented,  and  will  be      available to hosts using either the 1822  or  1822L  Host  Access      Protocol.   The  RFC is also being presented as a solicitation of      comments on the Short  Blocking  Feature,  especially  from  host      network software implementers and maintainers. 
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  51.  
  52.  
  53.  
  54.      1  INTRODUCTION 
  55.  
  56.       This RFC specifies the ARPANET Short Blocking Feature, which will 
  57.  
  58.      allow a host to shorten the amount of time that it may be blocked 
  59.  
  60.      by its IMP after it presents a message to the network (currently, 
  61.  
  62.      the  IMP  can  block  further input from a host for up to fifteen 
  63.  
  64.      seconds). 
  65.  
  66.       The Feature is an addition to the ARPANET  1822  and  1822L  Host 
  67.  
  68.      Access  Protocols,  and  replaces the non-blocking host interface 
  69.  
  70.      described in section 3.7 of BBN Report 1822 [1], which was  never 
  71.  
  72.      implemented.   This  Feature  will  be available to hosts on C/30 
  73.  
  74.      IMPs only.  This will not present a problem on the ARPANET, which 
  75.  
  76.      only  has  C/30 IMPs, but hosts on non-C/30 IMPs in networks that 
  77.  
  78.      mix C/30 and non-C/30 IMPs will not be  able  to  use  the  Short 
  79.  
  80.      Blocking Feature. 
  81.  
  82.       The RFC's terminology is consistent  with  that  used  in  Report 
  83.  
  84.      1822, and any new terms will be defined when they are first used. 
  85.  
  86.      Familiarity  with  Report  1822  (section  3  in  particular)  is 
  87.  
  88.      assumed. 
  89.  
  90.       This RFC was once part of RFC 802, which is now obsolete and  has 
  91.  
  92.      been  replaced  by  the  combination of this RFC and RFC 851, The 
  93.  
  94.      ARPANET 1822L Host  Access  Protocol  [2].   The  Short  Blocking 
  95.  
  96.      Feature  will  be  available to all hosts on C/30 IMPs, no matter 
  97.  
  98.  
  99.  
  100.                                    - 1 - 
  101.  
  102.  
  103.  
  104.  
  105.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  106.  
  107.  
  108.  
  109.      which (1822 or 1822L) host access  protocol  they  are  using  to 
  110.  
  111.      communicate with the IMP. 
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.                                    - 2 - 
  160.  
  161.  
  162.  
  163.  
  164.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  165.  
  166.  
  167.  
  168.      2  THE ARPANET SHORT BLOCKING FEATURE 
  169.  
  170.       The Short Blocking Feature of the 1822 and 1822L protocols allows 
  171.  
  172.      a  host to present messages to the IMP without causing the IMP to 
  173.  
  174.      not accept further messages from the host  for  long  amounts  of 
  175.  
  176.      time  (up  to fifteen seconds).  It is a replacement for the non- 
  177.  
  178.      blocking host interface described in section 3.7 of Report  1822, 
  179.  
  180.      and that description should be ignored. 
  181.  
  182.  
  183.  
  184.       2.1  Host Blocking 
  185.  
  186.       Usually, when a source host submits a message to an IMP, the  IMP 
  187.  
  188.      immediately processes that message and sends it on its way to its 
  189.  
  190.      destination host.  Sometimes, however, the IMP  is  not  able  to 
  191.  
  192.      process the message immediately.  Processing a message requires a 
  193.  
  194.      significant number of resources, and when the network is  heavily 
  195.  
  196.      loaded,  there can sometimes be a long delay before the necessary 
  197.  
  198.      resources become available.  In such cases, the IMP must  make  a 
  199.  
  200.      decision  as  to  what to do while it is attempting to gather the 
  201.  
  202.      resources. 
  203.  
  204.       One possibility is for the IMP to stop  accepting  messages  from 
  205.  
  206.      the  source  host  until  it has gathered the resources needed to 
  207.  
  208.      process the message just submitted.  This strategy  is  known  as 
  209.  
  210.      blocking  the  host,  and is basically the strategy that has been 
  211.  
  212.  
  213.  
  214.                                    - 3 - 
  215.  
  216.  
  217.  
  218.  
  219.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  220.  
  221.  
  222.  
  223.      used in the ARPANET up to the present.  When  a  host  submits  a 
  224.  
  225.      message  to  an  IMP, all further transmissions from that host to 
  226.  
  227.      that IMP are blocked until the message can be processed. 
  228.  
  229.       It is important to note, however, that not all  messages  require 
  230.  
  231.      the  same  set  of resources in order to be processed by the IMP. 
  232.  
  233.      The particular set of resources needed will depend on the message 
  234.  
  235.      type,  the  message  length,  and  the  destination  host  of the 
  236.  
  237.      message.  Therefore, although it might take a long time to gather 
  238.  
  239.      the  resources  needed  to process a particular message, it might 
  240.  
  241.      take only a short time to gather the resources needed to  process 
  242.  
  243.      some other message.  This fact exposes a significant disadvantage 
  244.  
  245.      in the strategy of blocking the host.  A host  which  is  blocked 
  246.  
  247.      may  have many other messages to submit which, if only they could 
  248.  
  249.      be submitted, could be processed immediately.  It is "unfair" for 
  250.  
  251.      the  IMP to refuse to accept these messages until it has gathered 
  252.  
  253.      the resources for some  other,  unrelated  message.   Why  should 
  254.  
  255.      messages for which the IMP has plenty of resources be delayed for 
  256.  
  257.      an arbitrarily long amount of time just because the IMP lacks the 
  258.  
  259.      resources needed for some other message? 
  260.  
  261.       A simple way to alleviate the problem would be to place  a  limit 
  262.  
  263.      on  the  amount of time during which a host can be blocked.  This 
  264.  
  265.      amount  of  time  should  be  long  enough  so  that,   in   most 
  266.  
  267.      circumstances,  the  IMP  will  be  able  to gather the resources 
  268.  
  269.  
  270.  
  271.                                    - 4 - 
  272.  
  273.  
  274.  
  275.  
  276.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  277.  
  278.  
  279.  
  280.      needed to process the message within the given time period.   If, 
  281.  
  282.      however, the resources cannot be gathered in this period of time, 
  283.  
  284.      the IMP will flush the message, sending a  reply  to  the  source 
  285.  
  286.      host  indicating that the message was rejected and specifying the 
  287.  
  288.      reason that it could not be  processed.   However,  the  resource 
  289.  
  290.      gathering process would continue.  The intention is that the host 
  291.  
  292.      resubmit the message  in  a  short  time,  when,  hopefully,  the 
  293.  
  294.      resource  gathering  process  has concluded successfully.  In the 
  295.  
  296.      meantime, the host  can  submit  other  messages,  which  may  be 
  297.  
  298.      processed   sooner.    This   strategy  does  not  eliminate  the 
  299.  
  300.      phenomenon of host blocking, but  only  limits  the  time  during 
  301.  
  302.      which  a host is blocked.  This shorter time limit will always be 
  303.  
  304.      less than or equal to two seconds. 
  305.  
  306.       Note, however, that there  is  a  disadvantage  to  having  short 
  307.  
  308.      blocking  times.  Let us assume that the IMP accepts a message if 
  309.  
  310.      it has all the resources  needed  to  process  it.   The  ARPANET 
  311.  
  312.      provides a sequential delivery service, whereby messages with the 
  313.  
  314.      same priority, source host, and destination host are delivered to 
  315.  
  316.      the  destination host in the same order as they are accepted from 
  317.  
  318.      the source host.  With short blocking times, however,  the  order 
  319.  
  320.      in  which  the IMP accepts messages from the source host need not 
  321.  
  322.      be the same as the order in  which  the  source  host  originally 
  323.  
  324.      submitted  the messages.  Since the two data streams (one in each 
  325.  
  326.  
  327.  
  328.                                     - 5 - 
  329.  
  330.  
  331.  
  332.  
  333.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  334.  
  335.  
  336.  
  337.      direction) between the host and the IMP are not synchronized, the 
  338.  
  339.      host  may  not  receive the reply to a rejected message before it 
  340.  
  341.      submits subsequent messages for the same destination host.  If  a 
  342.  
  343.      subsequent  message  is accepted, the order of acceptance differs 
  344.  
  345.      from the order of original submission, and the ARPANET  will  not 
  346.  
  347.      provide  the  same type of sequential delivery that it has in the 
  348.  
  349.      past.   If  sequential  delivery  by  the  subnet  is  a   strict 
  350.  
  351.      requirement,  the Short Blocking Feature should not be used.  For 
  352.  
  353.      messages without this requirement, however,  the  Short  Blocking 
  354.  
  355.      Feature can be used. 
  356.  
  357.       Up to now, type 0 (Regular)  messages  have  only  had  sub-types 
  358.  
  359.      available  to  request  the  standard  blocking  timeout, fifteen 
  360.  
  361.      seconds.  The Short Blocking Feature  makes  available  new  sub- 
  362.  
  363.      types  that  allow  the  host  to  request  messages  to be short 
  364.  
  365.      blocking, i.e. only cause the host to be blocked for two  seconds 
  366.  
  367.      at most if the message cannot be immediately processed. 
  368.  
  369.       Type 0 messages now have the following subtypes: 
  370.  
  371.       0:  Standard: This subtype instructs the  IMP  to  use  its  full 
  372.  
  373.          message  and  error  control  facilities.   The  host  may be 
  374.  
  375.          blocked up to fifteen seconds during the message submission. 
  376.  
  377.       1:  Standard, Short Blocking: The IMP attempts to  use  the  same 
  378.  
  379.          facilities  as  for  subtype 0, but will block the host for a 
  380.  
  381.  
  382.  
  383.                                    - 6 - 
  384.  
  385.  
  386.  
  387.  
  388.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  389.  
  390.  
  391.  
  392.          maximum of two seconds. 
  393.  
  394.       3:  Uncontrolled Packet:  The  IMP  performs  no  message-control 
  395.  
  396.          functions,  and the packet is not guaranteed to be delivered. 
  397.  
  398.          The host may be blocked up  to  fifteen  seconds  during  the 
  399.  
  400.          packet submission, although any such blockage is unlikely. 
  401.  
  402.       4:  Uncontrolled, Short  Blocking:  The  IMP  treats  the  packet 
  403.  
  404.          similarly  to  subtype  3, but will only block the host for a 
  405.  
  406.          maximum of two seconds.  Again, actual blockage is unlikely. 
  407.  
  408.  
  409.  
  410.       2.2  Reasons for Host Blockage 
  411.  
  412.       There are a number of reasons why a message could  cause  a  long 
  413.  
  414.      blockage  in  the  IMP,  which would result in the rejection of a 
  415.  
  416.      short (or even non-short) blocking message.  The IMP signals this 
  417.  
  418.      rejection of a message by using the Incomplete Transmission (Type 
  419.  
  420.      9) message, using the sub-type field to indicate why the  message 
  421.  
  422.      was  rejected.   The  already-existing  sub-types  for the type 9 
  423.  
  424.      message are: 
  425.  
  426.       0:  The destination host  did  not  accept  the  message  quickly 
  427.  
  428.          enough. 
  429.  
  430.       1:  The message was too long. 
  431.  
  432.  
  433.  
  434.  
  435.  
  436.                                    - 7 - 
  437.  
  438.  
  439.  
  440.  
  441.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  442.  
  443.  
  444.  
  445.      2:  The host took more  than  fifteen  seconds  to  transmit  the 
  446.  
  447.          message  to the IMP.  This time is measured from the last bit 
  448.  
  449.          of the leader through the last bit of the message. 
  450.  
  451.       3:  The message was lost in the network due  to  IMP  or  circuit 
  452.  
  453.          failures. 
  454.  
  455.       4:  The IMP could not accept the entire  message  within  fifteen 
  456.  
  457.          seconds  because  of unavailable resources.  This sub-type is 
  458.  
  459.          only used in response to non-short blocking messages.   If  a 
  460.  
  461.          short  blocking  message  timed  out, it will be responded to 
  462.  
  463.          with one of sub-types 6-10. 
  464.  
  465.       5:  Source IMP  I/O  failure  occurred  during  receipt  of  this 
  466.  
  467.          message. 
  468.  
  469.       The new sub-types that apply to the Short Blocking Feature are: 
  470.  
  471.       6:  Connection set-up delay: Although the IMP presents  a  simple 
  472.  
  473.          message-at-a-time  interface  to  the  host,  it  provides an           internal  connection-oriented  (virtual   circuit)   service, 
  474.  
  475.          except in the case of uncontrolled packets.  Two messages are 
  476.  
  477.          considered to be on the same connection if they have the same 
  478.  
  479.          source  host  (i.e.,  they are submitted to the same IMP over 
  480.  
  481.          the same host interface), the same  priority,  and  the  same 
  482.  
  483.          destination  host  name  or  address.   The  subnet maintains 
  484.  
  485.  
  486.  
  487.                                     - 8 - 
  488.  
  489.  
  490.  
  491.  
  492.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  493.  
  494.  
  495.  
  496.          internal  connection   set-up   and   tear-down   procedures. 
  497.  
  498.          Connections  are  set  up  as  needed, and are torn down only 
  499.  
  500.          after  a  period  of   inactivity.    Occasionally,   network 
  501.  
  502.          congestion or resource shortage will cause a lengthy delay in 
  503.  
  504.          connection set-up.  During this period, no messages for  that 
  505.  
  506.          connection  can  be  accepted,  but  other  messages  can  be 
  507.  
  508.          accepted. 
  509.  
  510.       7:  End-to-end flow  control:  For  every  message  that  a  host 
  511.  
  512.          submits  to  an  IMP  (except  uncontrolled  packets) the IMP 
  513.  
  514.          eventually  returns  a  reply  to  the  host  indicating  the 
  515.  
  516.          disposition  of  the  message.   Between  the  time  that the 
  517.  
  518.          message is submitted and  the  time  the  host  receives  the 
  519.  
  520.          reply,  the  message  is  said to be outstanding. The ARPANET 
  521.  
  522.          allows  only  eight  outstanding  messages   on   any   given 
  523.  
  524.          connection.   If  there  are  eight outstanding messages on a 
  525.  
  526.          given connection, and a ninth is  submitted,  it  cannot  the 
  527.  
  528.          accepted.  If  a message is refused because its connection is 
  529.  
  530.          blocked due to flow control, messages  on  other  connections 
  531.  
  532.          can still be accepted. 
  533.  
  534.           End-to-end flow control is the  most  common  cause  of  host 
  535.  
  536.          blocking in the ARPANET at present. 
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.                                    - 9 - 
  545.  
  546.  
  547.  
  548.  
  549.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  550.  
  551.  
  552.  
  553.      8:  Destination IMP buffer space shortage: If the host submits  a 
  554.  
  555.          message  of  more  than  1008  bits  (exclusive of the 96-bit 
  556.  
  557.          leader), buffer space at the destination IMP must be reserved 
  558.  
  559.          before  the  message  can  be  accepted.  Buffer space at the 
  560.  
  561.          destination IMP is always reserved on a per-connection basis. 
  562.  
  563.          If  the  destination  IMP  is  heavily loaded, there may be a 
  564.  
  565.          lengthy wait for the buffer space;  this  is  another  common 
  566.  
  567.          cause  of  blocking  in  the  present  ARPANET.  Messages are 
  568.  
  569.          rejected  for  this  reason  based  on   their   length   and 
  570.  
  571.          connection;  messages  of  1008 or fewer bits or messages for 
  572.  
  573.          other connections may still be acceptable. 
  574.  
  575.       9:  Congestion control: A message may be refused for  reasons  of 
  576.  
  577.          congestion  control if the path via the intermediate IMPs and 
  578.  
  579.          lines to the destination IMP is too heavily loaded to  handle 
  580.  
  581.          additional  traffic.   Messages  to other destinations may be 
  582.  
  583.          acceptable, however. 
  584.  
  585.       10: Local resource shortage: Occasionally, the source IMP  itself 
  586.  
  587.          is  short  of  buffer  space,  table  entries,  or some other 
  588.  
  589.          resource that it needs to accept a message.  Unlike the other 
  590.  
  591.          reasons  for  message  rejection, this resource shortage will 
  592.  
  593.          affect all messages equally, except for uncontrolled packets. 
  594.  
  595.          The message's size or connection is not relevant. 
  596.  
  597.  
  598.  
  599.  
  600.  
  601.                                   - 10 - 
  602.  
  603.  
  604.  
  605.  
  606.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  607.  
  608.  
  609.  
  610.      The Short Blocking Feature is available  to  all  hosts  on  C/30 
  611.  
  612.      IMPs,  whether they are using the 1822 or 1822L protocol, through 
  613.  
  614.      the use of Type 0, sub-type 1 and 4 messages.  A host using these 
  615.  
  616.      sub-types  should  be  prepared  to  correctly  handle the Type 9 
  617.  
  618.      (Incomplete Transmission) messages from the IMP. 
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.                                   - 11 - 
  661.  
  662.  
  663.  
  664.  
  665.      ARPANET Short Blocking Feature                         April 1983      RFC 852 
  666.  
  667.  
  668.  
  669.      3  REFERENCES 
  670.  
  671.       [1]  Specifications for the Interconnection of a Host and an IMP, 
  672.  
  673.           BBN Report 1822, December 1981 Revision. 
  674.  
  675.       [2]  A. Malis, The ARPANET 1822L Host  Access  Protocol,  Request 
  676.  
  677.           for Comments 851, April 1983. 
  678.  
  679.  
  680.  
  681.  
  682.  
  683.  
  684.  
  685.  
  686.  
  687.  
  688.  
  689.  
  690.  
  691.  
  692.  
  693.  
  694.  
  695.  
  696.  
  697.  
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.                                   - 12 - 
  718.  
  719.  
  720.  
  721.