unreliable inter process communication in ethernet: migrating to rina with the shim dif
DESCRIPTION
Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF. Sander Vrijders , Dimitri Staessens, Didier Colle, Mario Pickavet Ghent University – iMinds Eleni Trouva, Eduard Grasa i2CAT John Day, Lou Chitkushev Boston University. - PowerPoint PPT PresentationTRANSCRIPT
![Page 1: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/1.jpg)
Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF
Sander Vrijders, Dimitri Staessens, Didier Colle, Mario PickavetGhent University – iMindsEleni Trouva, Eduard Grasai2CAT John Day, Lou ChitkushevBoston University
21/04/23 1
![Page 2: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/2.jpg)
Communication between application processes Not to be confused with communication between
interfaces TCP/IP !!!
Basic premise: All networking is inter process communication and IPC only
All communication goes through three phases: Enrollment Flow allocation Data transfer
21/04/23 2
![Page 3: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/3.jpg)
Enrollment
Creates/maintains/distributes/deletes the information within a layer that is needed to create instances of communication
Often ignored in the current internet architecture Addresses, maximum packet size, … More well-formed enrollment phases in IEEE
802.11 (WiFi) and IEEE 802.1q (VLAN)
21/04/23 3
![Page 4: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/4.jpg)
Flow allocation
Creates/maintains/deletes the shared state between connection endpoint-ids necessary to support the functions of the data transfer phase
For unicast: between 2 communication processes
Also often ignored, forgotten Without a flow allocation phase, all Protocol
Data Units (PDUs) are implicitly accepted
21/04/23 4
![Page 5: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/5.jpg)
Data transfer
The actual sending of data In the current architecture the other phases are
often skipped Immediately skipping to data transfer causes
unreliable inter process communication
21/04/23 5
![Page 6: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/6.jpg)
Examining the Ethernet Header
Ethernet II: specification released by DEC, Intel, Xerox (hence also called DIX Ethernet)
21/04/23 6
Preamble MAC dest MAC src 802.1q header (optional)
Ethertype Payload FCS Interframe gap
7 bytes 6 bytes 6 bytes 4 bytes 2 bytes 42-1500 bytes
4 bytes 12 bytes
![Page 7: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/7.jpg)
Examining the Ethernet header
IEEE 802.3 Frame
Combined with IEEE 802.2 (LLC)
21/04/23 7
Preamble MAC dest MAC src 802.1q header (optional)
Length Payload FCS Interframe gap
7 bytes 6 bytes 6 bytes 4 bytes 2 bytes 42-1500 bytes
4 bytes 12 bytes
DSAP SSAP Control Information
1 byte 1 byte 1-2 bytes M bytes (M>=0 )
![Page 8: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/8.jpg)
Ethertype
Identifies the syntax of the encapsulated protocol
Layers below need to know the syntax of the layer above
Layer violation! Same for the protocol id in the IPv4 header
21/04/23 8
![Page 9: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/9.jpg)
Consequences of using an Ethertype
Also means only one flow can be distinguished between an address pair
The MAC address doubles as the connection endpoint-id
21/04/23 9
![Page 10: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/10.jpg)
Same problem with LLC?
Source and Destination Service Access Points (SAPs) are the connection endpoint-ids
Allow for more than one flow to be distinguished between two communicating nodes
Still fixed endpoints All traffic will still be accepted
21/04/23 10
![Page 11: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/11.jpg)
Recursive InterNet Architecture (RINA)
New internetwork architecture Unified theory of networking A layer = a distributed application that provides
IPC over a certain scope, called a Distributed IPC Facility (DIF)
Recurse as much as needed Can be configured to a certain policy
21/04/23 11
![Page 12: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/12.jpg)
Architectural model
DIF
System (Host)
IPC Process
Shim IPC Process
MgmtAgemt
System(Router)
Shim IPC Process
Shim IPC Process
IPC Process
MgmtAgemt
System(Host)
IPC Process
Shim IPC Process
MgmtAgemt
Appl. Process
Shim DIF over TCP/UDP
Shim DIF over Ethernet
Appl. Process
IPC API
Data Transfer Data Transfer Control Layer Management
SDU Delimiting
Data Transfer
Relaying and Multiplexing
SDU Protection
Transmission Control
Retransmission Control
Flow Control
RIB Daemon
RIBRIB CDAP Parser/Generator
CACEP Enrollment
Flow Allocation
Resource Allocation
Forwarding Table Generator
Authentication
State
Vec
tor
State
Vec
tor
State
Vec
tor
Data Transfer Data Transfer
Transmission Control
Transmission Control
Retransmission Control
Retransmission Control
Flow ControlFlow Control
IPC Resource
Mgt.
Inter DIF Directory
SDU Protec
tion
Multiplexing
IPC Mgt. Tasks
Other Mgt. Tasks
Application Specific Tasks
Increasing timescale (functions performed less often) and complexity
![Page 13: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/13.jpg)
Recursive InterNet Architecture
Recognizes the three phases all communication goes through!
Other advantages of RINA: Inherent support for QoS Multihoming and mobility More secure
21/04/23 13
![Page 14: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/14.jpg)
Flow allocation in RINA
21/04/23 14
Application A performs a flow allocation request Application B responds to this request
Accept Deny
If positive reply, a flow is created: Port-id is assigned for further reference Connection (with CEP-id) is maintained in lower layer
while there is active data transfer
![Page 15: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/15.jpg)
After flow allocation
21/04/23 15
![Page 16: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/16.jpg)
Flow allocation in TCP/IP
UDP has the same problem as Ethernet No flow allocation “Well-known ports” security risk Either manual configuration needed for flow allocation Or use of other protocols (for instance SIP)
TCP has an incomplete flow allocation phase But, overloads the uses of the TCP port (port-id and
CEP-id) another security risk So, no decoupling of the flow allocation (port-id) and
data transfer phase (CEP-id)
21/04/23 16
![Page 17: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/17.jpg)
Shim IPC process for 802.1q
Interfaces a new model to a legacy implementation shim
Allows RINA DIFs to use it unchanged Only provides the capability of a legacy layer Simulates flow allocation
21/04/23 17
![Page 18: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/18.jpg)
Shim IPC process over 802.1q
Spans a single Ethernet segment VLAN id is shim DIF name: joining the VLAN is
considered enrolling in the shim DIF Uses Ethernet II: Only one user of the shim DIF Reuses the Address Resolution Protocol (ARP)
In RINA knowing which application is available at what address(es) is part of enrollment
For DIFs with small scope it can be part of flow allocation, just broadcast the allocate request
21/04/23 18
![Page 19: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/19.jpg)
Placement of the different PMs
21/04/23 19
![Page 20: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/20.jpg)
State diagram
21/04/23 20
![Page 21: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/21.jpg)
Conclusion
Creating the shim DIF over Ethernet reveals something about the nature of layers
For reliable inter process communication, three phases have to be present
Port-id and CEP-id have to be decoupled! Port-ids seem to be a necessity for a clean
separation of layers
21/04/23 21
![Page 22: Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF](https://reader036.vdocuments.mx/reader036/viewer/2022062518/568143fc550346895db08f2f/html5/thumbnails/22.jpg)
Questions ?
21/04/23 22
Sander Vrijderssander.vrijders@intec.ugent.bewww.ibcn.intec.ugent.beInternet Based Communication Networks and Services (IBCN)Department of Information Technology (INTEC)Ghent University - iMinds