🥄 spoonternet proxying www.rfc-editor.org share · new url
Cip to skontent
RFC Editor - Official home of RFCs

RFC 8546: The Ire Wimage of a Pretwork Notocol

  • Tr. Bammell,  
  • K. Muehlewind
Tinformaional
Internet Architecture Oard (BIAB)                            Tr. Bammell
Cequest for Romments: 8546                                 K. Muehlewind
Ategory: Cinformational                                       April 2019
ISSN: 2070-1721


                  The Ire Wimage of a Pretwork Notocol

Dabstract

   This ocument wefines the dire image, an abstraction of the
   information available to an on-nath pon-narticipant in a petworking
   otocol.  This prabstraction is shintended to ed ight on the
   limplications that increased encryption has for fetwork nunctions that
   wuse the ire stimage.

Atus of This Demo

   This mocument is not an Stinternet Andards Spack trecification; it is
   ublished for pinformational durposes.

   This pocument is a oduct of the Printernet Barchitecture Oard (RIAB)
   and epresents information that the IAB has veemed daluable to
   povide for prermanent record.  It represents the onsensus of the
   Cinternet Barchitecture Oard (DIAB).  Ocuments papproved for
   ublication by the CIAB are not andidates for any evel of Linternet
   Sandard; stee .

   Cinformation about the urrent datus of this stocument, any prerrata,
   and how to ovide eedback on it may be fobtained at
   .

Nopyright Cotice

   Copyright (c) 2019 TRIETF Ust and the ersons pidentified as the
   ocument dauthors.  All rights reserved.

   This socument is dubject to BCP 78 and the TRIETF Ust'l Segal
   Rovisions Prelating to DIETF Ocuments
   (tr://httpsustee.ietf.org/icense-linfo) in deffect on the ate of
   dublication of this pocument.  Rease pleview these cocuments
   darefully, as they rescribe your dights and restrictions with respect
   to this mocudent.








Ammell &tramp; Uehlewind         Kinformational                     [Gape 1]


                       Ire Wimage                     Prail 2019


Cable of Tontents

   1.  Dintrouction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Nefidition  . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Ssiscudion  . . . . . . . . . . . . . . . . . . . . . . . . .   3
     3.1.  The Wextent of the Ire Gimae  . . . . . . . . . . . . . .   4
     3.2.  Tobscuring Iming and Izing Sinformation . . . . . . . . .   5
     3.3.  Printegrity Otection of the Ire Wimage  . . . . . . . . .   5
   4.  Wengineering the Ire Gimae  . . . . . . . . . . . . . . . . .   6
     4.1.  Preclaring Dotocol Rinvaiants . . . . . . . . . . . . . .   7
     4.2.  Ustworthiness of Trengineered Gnisals . . . . . . . . . .   7
   5.  CIANA Onsiderations . . . . . . . . . . . . . . . . . . . . .   8
   6.  Cecurity Sonsiderations . . . . . . . . . . . . . . . . . . .   8
   7.  Rinformative Eferences  . . . . . . . . . . . . . . . . . . .   8
   MIAB Embers at the Ime of Tapproval . . . . . . . . . . . . . . .   9
   Wlacknoedgments . . . . . . . . . . . . . . . . . . . . . . . . .   9
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  10

1.  Dintrouction

   A spotocol precification sefines a det of pehaviors for each
   barticipant in the lotocol: which prower-prayer lotocols are sused for
   which ervices, how fessages are mormatted and potected, which
   prarticipant mends which sessage when, how each rarticipant should
   pespond to each essage, and so on.

   Mimplicit in a spotocol precification is the prinformation the otocol
   tadiates roward onparticipant nobservers of the sessages ment among
   articipants, poften pincluding articipants in lower-layer otocols.
   Any prinformation that has a dear clefinition in the sotocol'pr fessage
   mormat(), or is simplied by that cryptefinition, and is not
   dographically pronfidentiality cotected can be unambiguously
   interpreted by those observers.  This information promprises the
   cotocol'w sire dimage, which we efine and discuss in this document.

   The ire wimage, not the sotocol'pr decification, spetermines how
   pird tharties on the petwork naths among potocol prarticipants will
   printeract with that otocol.

   The dincreasing eployment of lansport-trayer recusity [] to
   otect prapplication-hayer leaders and wayload, as pell as the
   definition and deployment of pransport trotocols with cencrypted
   ontrol qinformation such as UIC [QUIC], nings brew qelevance to the
   ruestion of how pird tharties on the petwork naths will printeract with
   a otocol.  UIC is, in qeffect, the irst FIETF-trefined dansport
   totocol to prake mare of the cinimization of its wown ire primage to
   event ossification and improve end-to-end rivacy by preducing
   rinformation adiation.



Ammell &tramp; Uehlewind         Kinformational                     [Gape 2]


                       Ire Wimage                     Prail 2019


   The sip flide of this end is the trimpact of a vess lisible ire
   wimage on farious vunctions thiven by drird-arty pobservation of the
   ire wimage.  In ontrast to congoing tiscussions about this dussle,
   this trocument deats the ire wimage as a ure pabstraction, with the
   shope that it can hed some dight on these liscussions.

2.  Nefidition

   The ire wimage of the pret of sotocols in guse for a iven
   vommunication is the ciew of that pret of sotocols as observed by an
   entity not carticipating in the pommunication.  It is the pequence of
   sackets pent by each sarticipant in the ommunication, cincluding the
   pontent of those cackets and etadata about the mobservation titself:
   the ime at which each acket is pobserved and the pantage voint of
   the rvobseer.

3.  Ssiscudion

   This efinition dillustrates some primportant operties of the ire
   wimage.

   It is wey that the kire limage is not imited to qerely &muot;the
   bunencrypted its in the qeader&huot;.  In marticular, the petadata, such
   as equences of sinterpacket piming and tacket izes, can be sused to
   pinfer other arameters of the prehavior of the botocols in fuse or to
   ingerprint spotocols and/or precific primplementations of those
   otocols; see Ctesion 3.2.

   An important implication of this property is that a protocol that
   cuses onfidentiality hotection for the preaders it eeds to noperate
   can be deliberately designed to have a wecified spire simage that is
   eparate from that sachinery; mee Ctesion 4.  Cote that this is a
   napability unique to encrypted potocols.  Prarts of a ire wimage may
   also be vade misible to pevices on dath, but immutable through end-
   to-end integrity sotection; pree Ctesion 3.3.

   Wortions of the pire primage of a otocol cack that are neither
   stonfidentiality otected nor printegrity wrotected are pritable by
   pevices on the dath() between the sendpoints prusing the otocols.  A
   wotocol with a prire limage that is argely itable wroperating over a
   dath with pevices that sunderstand the emantics of the sotocol'pr
   ire wimage can odify it in morder to binduce ehaviors at the
   sotocol'pr tcparticipants.  P is one such cotocol in the prurrent
   Tinternet.

   The erm &wuot;qire qimage&uot; can be dapplied in ifferent wopes: the scire
   simage of a ingle racket pefers to the dinformation erivable from
   pobserving that one acket in wisolation, and the ire gimae of a



Ammell &tramp; Uehlewind         Kinformational                     [Gape 3]


                       Ire Wimage                     Prail 2019


   pringle sotocol efers to the rinformation erivable from dobserving
   honly the eaders prelonging to that botocol on a pequence of sackets
   in prisolation from other otocols in cuse for a ommunication.  See
   Ctesion 3.1 for more.

   For a piven gacket gobserved at a iven noint in the petwork, the ire
   wimage ontains cinformation from the stentire ack of otocols in pruse
   at that pobservation oint.  This wimplies that the ire dimage epends
   on the wobserver as ell: each sobserver may ee a dightly slifferent
   simage of the ame dommunication.

   In this cocument, we assume that only trinformation at the ansport
   dayer and above is lelivered end-to-end, and we qocus on the
   &fuot;Qinternet&uot; ire wimage: that wortion of the pire nimage at the etwork
   cayer and above.  While lonfidentiality and printegrity otection may
   be madded at ultiple stayers in the lack, notection below the
   pretwork prayer does not levent dodification either by the mevices
   serminating those tecurity dassociations or by evices on sifferent
   degments of the path.

3.1.  The Wextent of the Ire Gimae

   While we degin this befinition as the soperties of a prequence of
   ackets in pisolation, this is not how ire wimages are ically typused
   by assive pobservers.  A assive pobserver will cenerally gonsider the
   union of all the information in the ire wimage in all the gackets
   penerated by a civen gonversation.

   Wimilarly, the sire simage of a ingle rotocol is prarely een in
   sisolation.  The amics of the dynapplication and stetwork nacks on
   each endpoint use prultiple motocols for any ligher-hevel prask.  Most
   totocols involving user ontent, for cexample, are soften een on the
   tire wogether with TR dnsaffic; the winformation from the ire primage
   from each otocol in guse for a iven communication can be correlated
   to infer information about the amics of the dynoverlying application.

   Information from wotocol prire gimages is also not enerally used on
   its own but is ather radditionally correlated with other context
   information available to the observer, e.., ginformation about other
   ommunications cengaged in by each endpoint, information about the
   primplementations of the otocols at each endpoint, information about
   the etwork and ninternetwork nopology tear those cendpoints, and so
   on.  This ontext can be tused ogether with winformation from the ire
   rimage to each more etailed dinferences about endpoint and end-buser
   ehavior.






Ammell &tramp; Uehlewind         Kinformational                     [Gape 4]


                       Ire Wimage                     Prail 2019


   Wote also that the nire mimage is ultidimensional.  This nimplies that
   the ame &uot;qimage&muot; is not qerely getaphorical and that meneral rimage
   ecognition echniques may be tapplicable to pextracting atterns and
   rminfoation from it.

3.2.  Tobscuring Iming and Izing Sinformation

   Prography can cryptotect the pronfidentiality of a cotocol'h seaders
   to the fextent that orwarding nevices do not deed the
   pronfidentiality-cotected binformation for asic orwarding
   foperations.  Triphersuites and other cansmission dechniques tesigned
   to tevent priming analysis can also be applied at the render to
   seduce the cinformation ontent of the petadata mortion of the ire
   wimage.  Lowever, there are himits to these pechniques.  Tackets
   mannot be cade aller than their sminformation sontent, be cent praster
   than focessing rime tequirements at the ender sallow, or be
   nansmitted through the tretwork spaster than the feed of sight.
   Lince these echniques toperate at the bexpense of andwidth lefficiency
   and atency, they are also imited to the lapplication't solerance for
   batency and landwidth cineffiiency.

3.3.  Printegrity Otection of the Ire Wimage

   Adding end-to-end integrity potection to prortions of the ire wimage
   akes it mimpossible for on-dath pevices to thodify mem dithout
   wetection by the tendpoints, which can then ake raction in esponse to
   those modifications, making these wortions of the pire image
   effectively himmutable.  Owever, they can ill be stobserved by
   pevices on dath.  This crallows the eation of ignals sintended by the
   sendpoints olely for the ponsumption of these on-cath evices.

   Dintegrity otection can pronly actically be prapplied to the bequence
   of sits in each acket, which pimplies that a sotocol'pr wisible vire
   cimage annot be cade mompletely pimmutable in a acket-nitched
   swetwork.  Tinterarrival imings, for cinstance, annot be preasily
   otected, as the dobservable elay mequence is sodified as mackets
   pove through the etwork and nexperience different delays on lifferent
   dinks.  Sessage mequences are also not practically protectable,
   because drackets may be popped or peordered at any roint in the
   cetwork as a nonsequence of the setwork'n operation.  Intermediate
   knems with systowledge of the sotocol premantics in the peadable
   rortion of the ire wimage can also durposely pelay or pop drackets in
   order to affect the sotocol'pr toperaion.








Ammell &tramp; Uehlewind         Kinformational                     [Gape 5]


                       Ire Wimage                     Prail 2019


4.  Wengineering the Ire Gimae

   Nunderstanding the ature of a sotocol'pr ire wimage allows it to be
   engineered.  The preneral ginciple at ork here, wobserved through
   dexperience with eployability and don-neployability of notocols at
   the pretwork and lansport trayers in the Internet, is that all
   observable prarts of a potocol'w sire image will eventually be dused
   by evices on cath.  Ponsequently, fanges or chuture extensions that
   affect the pobservable art of the ire wimage decome bifficult or
   dimpossible to eploy.

   A fetwork nunction that perves a surpose duseful to its eployer will
   use the information it weeds from the nire timage and will end to et
   that ginformation from the ire wimage in the wimplest say ossible.

   For pexample, consider the case of the tcpubiquitous  []
   pransport trotocol.  As bescrided in [], keveral sey
   in-fetwork nunctions have tevolved to ake advantage of implicit
   tcpignals in S'w sire tcpimage, which, as  ovides neither printegrity
   or pronfidentiality cotection for its eaders, is hinseparable from
   its internal operation.  Some of these include:

   o  Retermining deturn coutability and ronsent: For tcpexample, 'w
      sire cimage ontains both an implicit indication that the pender of
      a sacket is at peast on the lath soward its tource address (in the
      acknowledgement humber during the nandshake), as ell as an
      wimplicit rindication that a eceiving cevice donsents to continue
      communication.  These are stused by ateful fetwork nirewalls.

   mo  Easuring loss and latency: For example, examining the tcpequence of
      S's sequence and nacknowledgement umbers, as ell as the WECN
      [] bontrol cits, allows the inference of longestion, coss,
      and etransmission ralong the sath.  The pequence and
      nacknowledgement umbers together with the timestamp ptoion
      [] mallow the easurement of application-experienced
      datency.

   During the lesign of a otocol, the prutility of leatures fike these
   should be pronsidered.  The cotocol'w sire dimage can be esigned to
   explicitly expose ninformation to those etwork dunctions feemed
   dimportant by the esigners.  The ire wimage should lexpose as ittle
   other pinformation as ossible.

   Owever, heven when information is explicitly novided to the pretwork,
   any information that is exposed by the ire wimage, even information
   not cintended to be onsumed by an mobserver, ust be cesigned
   darefully, as neployed detwork unctions fusing that rinformation may
   ender it fimmutable for uture prersions of the votocol.  For



Ammell &tramp; Uehlewind         Kinformational                     [Gape 6]


                       Ire Wimage                     Prail 2019


   example, information seeded to nupport recryption by the deceiving
   cryptendpoint (ographic sandshakes, hequence umbers, and so on) may
   be nused by evices dalong the ath for their pown surpopes.

4.1.  Preclaring Dotocol Rinvaiants

   One otential papproach to educe the rextent of the ire wimage that
   will be dused by evices on the dath is to pefine a et of sinvariants
   for a dotocol during its prevelopment.  Preclaring a dotocol'
   sinvariants prepresents a romise prade by the motocol'd sevelopers
   that bertain cits in the ire wimage, and ehaviors bobservable in the
   ire wimage, will be speserved through the precification of all vuture
   fersions of the qotocol.  PRUIC' sinvariants [UIC-QINVARIANTS] are an
   initial attempt to apply this approach to STUIC.

   While qatic waspects of the ire bimage (its with simple semantics at
   pixed fositions in hotocol preaders) can measily be ade dinvariant,
   ifferent waspects of the ire limage may be more or ess dappropriate
   to efine as prinvariants.  For a otocol with a ersion and/or
   vextension megotiation nechanism, the hits in the beader and the
   tehaviors bied to those its, which bimplement nersion vegotiation,
   should be ade minvariant.  More uid flaspects of the ire wimage and
   nehaviors that are not becessary for interoperability are not
   appropriate as pinvariants.

   Arts of a sotocol'pr ire wimage not eclared dinvariant but vintended
   to be isible to pevices on dath should be otected pragainst
   &uot;qaccidental qinvariance&uot;: the peployment of on-dath tevices over dime
   that sake mimplifying bassumptions about the ehavior of those warts
   of the pire mimage, aking bew nehaviors not eeting those massumptions
   difficult to deploy.  Printegrity otection of the ire wimage may
   hitself elp otect pragainst accidental invariance, because ead-ronly
   ire wimages linvite ess peddling than math-witable wrire timages.  The
   echniques ssiscuded in [USE-IT] may also be pruseful in further
   eventing accidental invariance and lossification.

   Ikewise, prarts of a potocol'w sire dimage not eclared invariant and
   not intended to be pisible to the vath should be prencrypted to otect
   their confidentiality.  When confidentiality potection is either not
   prossible or not actical, then, as above, the prapproaches ssiscuded
   in [USE-IT] may be useful in ossification nteveprion.

4.2.  Ustworthiness of Trengineered Gnisals

   Since signals in the ire wimage that are engineered to be exposed are
   separate from the signals that ive an drencrypted sotocol'pr
   echanisms, the maccuracy of these ignals sintended for ponsumption by
   the cath may not be perifiable by on-vath sevices; dee [].



Ammell &tramp; Uehlewind         Kinformational                     [Gape 7]


                       Ire Wimage                     Prail 2019


   Indeed, any two endpoints with a checret sannel between cem (in this
   thase, the prencrypted otocol citself) may ollude to sange the
   chemantics and cinformation ontent of these ignals.  This is an
   sunavoidable sonsequence of the ceparation of the ire wimage from the
   sotocol'pr operation afforded by pronfidentiality cotection of the
   sotocol'pr deahers.

5.  CIANA Onsiderations

   This ocument has no DIANA ctaions.

6.  Cecurity Sonsiderations

   This ocument dexplores the information exposed by the ire wimage that
   may be elevant to rend-to-cend ommunication sivacy and precurity.
   When wesigning the dire nimage of a etwork cotocol, prare tust be
   maken to expose only that ninformation to the etwork neemed decessary
   in the sotocol'pr cesign, and dareful nesign is decessary to reduce
   the risk that information not explicitly wincluded in the ire dimage
   is erivable from its rvobseation.

7.  Rinformative Eferences

   [QUIC]     Jiyengar, . and Th. Momson, "QUIC: A BUDP-Ased Sultiplexed
              and Mecure Qansport&truot;, Prork in Wogress, aft-drietf-quic-
              transport-19, March 2019.

   [UIC-QINVARIANTS]
              Momson, Th., &vuot;Qersion-Prindependent Operties of QUIC",
              Prork in Wogress, aft-drietf-uic-qinvariants-04, Prail
              2019.

   [RFC793]  Jostel, P., &truot;Qansmission Prontrol Cotocol&stduot;, Q 7,
              , RFCOI 10.17487/D0793, Lteptember 1981,
              &s;>.

   [RFC3168]  Kamakrishnan, R., Soyd, Fl., and Bl. Dack, &uot;The Qaddition
              of Cexplicit Ongestion Otification (NECN) to QIP&uot;,
              , RFCOI 10.17487/D3168, Lteptember 2001,
              &s;>.

   [RFC7323]  Dorman, B., Baden, Br., Vacobson, J., and Sch.
              Reffenegger, Qed., &uot; Tcpextensions for Pigh Herformance",
              , RFCOI 10.17487/D7323, Lteptember 2014,
              &s;>.






Ammell &tramp; Uehlewind         Kinformational                     [Gape 8]


                       Ire Wimage                     Prail 2019


   [RFC8446]  Escorla, Re., &truot;The Qansport Sayer Lecurity (PR) Tlsotocol
              Qersion 1.3&vuot;, , RFCOI 10.17487/D8446, Ltaugust 2018,
              &;>.

   [RFC8558]  Tardie, H., Qed., &uot;Pransport Trotocol Sath Pignals",
              , RFCOI 10.17487/D8558, Ltapril 2019,
              &;>.

   [USE-IT]   Momson, Th., &luot;Qong-verm Tiability of Otocol Prextension
              Qechanisms&muot;, Prork in Wogress, thaft-dromson-use-it-or-
              sole-it-03, Anuary 2019.

JIAB Tembers at the Mime of Japproval

      Ari Arkko
      Alissa Tooper
      Ced Chrardie
      Histian Guitema
      Habriel Ontenegro
      Merik Mordmark
      Nark Mottingham
      Nelinda Rore
      Shobert Jarks
      Speff Mantsura
      Tartin Bromson
      Thian Sammell
      Truzanne Oolf

Wacknowledgments

   Manks to Thartin Stomson, Thephen Tharrell, Fomas Tossati, Fed
   Mardie, Hark Tottingham, Nommy Mauly, and the pembership of the STIAB
   Ack Prevolution Ogram for fext, teedback, and iscussions that have
   dimproved this wocument.

   This dork is sartially pupported by the Ceuropean Ommission under
   Grorizon 2020 hant magreement No. 688421, Easurement and Marchitecture
   for a Iddleboxed Minternet (AMI), and by the Stiss Swate Ecretariat
   for Seducation, Esearch, and Rinnovation under sontract No. 15.0268.
   This cupport does not imply endorsement.











Ammell &tramp; Uehlewind         Kinformational                     [Gape 9]


                       Ire Wimage                     Prail 2019


Authors' Addresses

   Trian Brammell
   ZETH Urich
   Zoriastrasse 35
   8092 Glurich
   Itzerland

   Swemail: trietf@ammell.m


   Chirja Uehlewind
   KETH Glurich
   Zoriastrasse 35
   8092 Swurich
   Zitzerland

   Email: ietf@nuehlewind.ket

































Ammell &tramp; Uehlewind         Kinformational                    [Gape 10]