Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF

Unreliable inter
process
communication in
Ethernet: Migrating
to RINA with the
shim DIF
15/10/13

Sander Vrijders, Dimitri
Staessens, Didier Colle,
Mario Pickavet
Ghent University – iMinds
Eleni Trouva, Eduard
Grasa
i2CAT
John Day, Lou Chitkushev
Boston University
1
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
15/10/13

2
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)

15/10/13

3
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

15/10/13

4
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

15/10/13

5
Examining the Ethernet Header
 Ethernet II: specification released by DEC, Intel,
Xerox (hence also called DIX Ethernet)
Preamble

MAC dest

MAC src

802.1q
header
(optional)

Ethertype

Payload

FCS

Interfram
e gap

7 bytes

6 bytes

6 bytes

4 bytes

2 bytes

42-1500
bytes

4 bytes

12 bytes

15/10/13

6
Examining the Ethernet header
 IEEE 802.3 Frame
Preamble

MAC dest

MAC src

802.1q
header
(optional)

Length

Payload

FCS

Interfram
e gap

7 bytes

6 bytes

6 bytes

4 bytes

2 bytes

42-1500
bytes

4 bytes

12 bytes

 Combined with IEEE 802.2 (LLC)
DSAP

SSAP

Control

Information

1 byte

1 byte

1-2 bytes

M bytes (M>=0 )

15/10/13

7
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

15/10/13

8
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

15/10/13

9
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

15/10/13

10
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

15/10/13

11
Architectural model
Application Specific
Tasks

System (Host)

System
(Router)

Appl.
Process

Other Mgt. Tasks
IPC Mgt. Tasks
Multipl
exing
SDU
Protec
tion

IPC
Resource
Mgt.

Mgmt
Agemt

Inter DIF
Directory

IPC
Process

Shim IPC
Process

DIF

IPC
Process

Shim DIF
over TCP/UDP

Appl.
Process

Mgmt
Agemt

Shim IPC
Process

Shim IPC
Process

Shim DIF
over Ethernet

IPC API
Data Transfer

Data Transfer
Data Transfer
Data Transfer
Relaying and
Multiplexing
SDU Protection

State Vector
State Vector
State Vector

SDU Delimiting

Layer Management

Data Transfer Control
Transmission
Transmission
Transmission
Control
Control
Control
Retransmission
Retransmission
Retransmission
Control
Control
Control
Flow Control
Flow Control
Flow Control

CACEP
RIB
Daemon

RIB
RIB

Enrollment

Authentication

Flow Allocation

CDAP
Parser/Generator

Resource
Allocation
Forwarding Table
Generator

Increasing timescale (functions performed less often) and complexity

System
(Host)

IPC
Process
Mgmt
Agemt
Shim IPC
Process
Recursive InterNet Architecture
 Recognizes the three phases all communication
goes through!
 Other advantages of RINA:
 Inherent support for QoS
 Multihoming and mobility
 More secure

15/10/13

13
Flow allocation in RINA
 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

15/10/13

14
After flow allocation

15/10/13

15
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)
15/10/13

16
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

15/10/13

17
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

15/10/13

18
Placement of the different PMs

15/10/13

19
State diagram

15/10/13

20
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

15/10/13

21
Questions ?
Sander Vrijders
sander.vrijders@intec.ugent.be
www.ibcn.intec.ugent.be
Internet Based Communication
Networks and Services (IBCN)
Department of Information
Technology (INTEC)
Ghent University - iMinds
15/10/13

22
1 von 22

Recomendados

RINA IRATI Korea-EU Workshop 2013 von
RINA IRATI Korea-EU Workshop 2013RINA IRATI Korea-EU Workshop 2013
RINA IRATI Korea-EU Workshop 2013Eleni Trouva
1.7K views17 Folien
RINA: Update on research and prototyping activities. Global Future Internet W... von
RINA: Update on research and prototyping activities. Global Future Internet W...RINA: Update on research and prototyping activities. Global Future Internet W...
RINA: Update on research and prototyping activities. Global Future Internet W...Eleni Trouva
1.8K views31 Folien
Irati fire-engineering-workshop-nov2012 von
Irati fire-engineering-workshop-nov2012Irati fire-engineering-workshop-nov2012
Irati fire-engineering-workshop-nov2012Eleni Trouva
1.6K views15 Folien
Rina IRATI GLIF Singapore 2013 von
Rina IRATI GLIF Singapore 2013Rina IRATI GLIF Singapore 2013
Rina IRATI GLIF Singapore 2013Eleni Trouva
1.9K views29 Folien
IRATI project presentation von
IRATI project presentationIRATI project presentation
IRATI project presentationEleni Trouva
1.6K views17 Folien
Update on IRATI technical work after month 6 von
Update on IRATI technical work after month 6Update on IRATI technical work after month 6
Update on IRATI technical work after month 6Eleni Trouva
1.9K views78 Folien

Más contenido relacionado

Was ist angesagt?

IRATI @ RINA Workshop 2014, Dublin von
IRATI @ RINA Workshop 2014, DublinIRATI @ RINA Workshop 2014, Dublin
IRATI @ RINA Workshop 2014, DublinEleni Trouva
2.1K views116 Folien
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7 von
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7Eleni Trouva
1.7K views51 Folien
RINA detailed components overview and implementation discussion von
RINA detailed components overview and implementation discussionRINA detailed components overview and implementation discussion
RINA detailed components overview and implementation discussionEleni Trouva
2.4K views108 Folien
RINA motivation, introduction and IRATI goals. IEEE ANTS 2012 von
RINA motivation, introduction and IRATI goals. IEEE ANTS 2012RINA motivation, introduction and IRATI goals. IEEE ANTS 2012
RINA motivation, introduction and IRATI goals. IEEE ANTS 2012Eleni Trouva
1.8K views46 Folien
Pristine glif 2015 von
Pristine glif 2015Pristine glif 2015
Pristine glif 2015ICT PRISTINE
1.4K views29 Folien
Irati goals and achievements - 3rd RINA Workshop von
Irati goals and achievements - 3rd RINA WorkshopIrati goals and achievements - 3rd RINA Workshop
Irati goals and achievements - 3rd RINA WorkshopEleni Trouva
650 views27 Folien

Was ist angesagt?(20)

IRATI @ RINA Workshop 2014, Dublin von Eleni Trouva
IRATI @ RINA Workshop 2014, DublinIRATI @ RINA Workshop 2014, Dublin
IRATI @ RINA Workshop 2014, Dublin
Eleni Trouva2.1K views
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7 von Eleni Trouva
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
RINA overview and ongoing research in EC-funded projects, ISO SC6 WG7
Eleni Trouva1.7K views
RINA detailed components overview and implementation discussion von Eleni Trouva
RINA detailed components overview and implementation discussionRINA detailed components overview and implementation discussion
RINA detailed components overview and implementation discussion
Eleni Trouva2.4K views
RINA motivation, introduction and IRATI goals. IEEE ANTS 2012 von Eleni Trouva
RINA motivation, introduction and IRATI goals. IEEE ANTS 2012RINA motivation, introduction and IRATI goals. IEEE ANTS 2012
RINA motivation, introduction and IRATI goals. IEEE ANTS 2012
Eleni Trouva1.8K views
Irati goals and achievements - 3rd RINA Workshop von Eleni Trouva
Irati goals and achievements - 3rd RINA WorkshopIrati goals and achievements - 3rd RINA Workshop
Irati goals and achievements - 3rd RINA Workshop
Eleni Trouva650 views
Pristine rina-sdk-icc-2016 von ICT PRISTINE
Pristine rina-sdk-icc-2016Pristine rina-sdk-icc-2016
Pristine rina-sdk-icc-2016
ICT PRISTINE1.8K views
RINA Tutorial @ IEEE Globecom 2014 von Eleni Trouva
RINA Tutorial @ IEEE Globecom 2014RINA Tutorial @ IEEE Globecom 2014
RINA Tutorial @ IEEE Globecom 2014
Eleni Trouva4.4K views
EU-Taiwan Workshop on 5G Research, PRISTINE introduction von ICT PRISTINE
EU-Taiwan Workshop on 5G Research, PRISTINE introductionEU-Taiwan Workshop on 5G Research, PRISTINE introduction
EU-Taiwan Workshop on 5G Research, PRISTINE introduction
ICT PRISTINE1.4K views
Reconstructing computer networking with RINA: how solid scientific foundation... von ICT PRISTINE
Reconstructing computer networking with RINA: how solid scientific foundation...Reconstructing computer networking with RINA: how solid scientific foundation...
Reconstructing computer networking with RINA: how solid scientific foundation...
ICT PRISTINE2.2K views
IRATI: an open source RINA implementation for Linux/OS von ICT PRISTINE
IRATI: an open source RINA implementation for Linux/OSIRATI: an open source RINA implementation for Linux/OS
IRATI: an open source RINA implementation for Linux/OS
ICT PRISTINE2.1K views
1. RINA motivation - TF Workshop von ARCFIRE ICT
1. RINA motivation - TF Workshop1. RINA motivation - TF Workshop
1. RINA motivation - TF Workshop
ARCFIRE ICT1.6K views
Architectures and buildings von ARCFIRE ICT
Architectures and buildingsArchitectures and buildings
Architectures and buildings
ARCFIRE ICT283 views
3. RINA use cases, results, benefits von ARCFIRE ICT
3. RINA use cases, results, benefits3. RINA use cases, results, benefits
3. RINA use cases, results, benefits
ARCFIRE ICT1.7K views
Pristine rina-tnc-2016 von ICT PRISTINE
Pristine rina-tnc-2016Pristine rina-tnc-2016
Pristine rina-tnc-2016
ICT PRISTINE1.4K views
Rina acc-icc16-stein von ICT PRISTINE
Rina acc-icc16-steinRina acc-icc16-stein
Rina acc-icc16-stein
ICT PRISTINE1.4K views
RINA research results - NGP forum - SDN World Congress 2017 von ARCFIRE ICT
RINA research results - NGP forum - SDN World Congress 2017RINA research results - NGP forum - SDN World Congress 2017
RINA research results - NGP forum - SDN World Congress 2017
ARCFIRE ICT656 views
Eucnc rina-tutorial von ICT PRISTINE
Eucnc rina-tutorialEucnc rina-tutorial
Eucnc rina-tutorial
ICT PRISTINE1.4K views
2016 06-10-ieee-sdn (1) von ICT PRISTINE
2016 06-10-ieee-sdn (1)2016 06-10-ieee-sdn (1)
2016 06-10-ieee-sdn (1)
ICT PRISTINE873 views

Destacado

3 addressingthe problem130123 von
3 addressingthe problem1301233 addressingthe problem130123
3 addressingthe problem130123Eleni Trouva
463 views46 Folien
Assuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQ von
Assuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQAssuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQ
Assuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQICT PRISTINE
656 views16 Folien
A Wake-Up Call for IoT von
A Wake-Up Call for IoT A Wake-Up Call for IoT
A Wake-Up Call for IoT Ahmed Banafa
1.6K views57 Folien
10 myths about cloud computing von
10 myths about cloud computing10 myths about cloud computing
10 myths about cloud computingAhmed Banafa
967 views40 Folien
The hague rina-workshop-welcome-miguel von
The hague rina-workshop-welcome-miguelThe hague rina-workshop-welcome-miguel
The hague rina-workshop-welcome-miguelICT PRISTINE
569 views2 Folien
Rina sim workshop von
Rina sim workshopRina sim workshop
Rina sim workshopICT PRISTINE
1.5K views17 Folien

Destacado(14)

3 addressingthe problem130123 von Eleni Trouva
3 addressingthe problem1301233 addressingthe problem130123
3 addressingthe problem130123
Eleni Trouva463 views
Assuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQ von ICT PRISTINE
Assuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQAssuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQ
Assuring QoS Guarantees for Heterogeneous Services in RINA Networks with ΔQ
ICT PRISTINE656 views
A Wake-Up Call for IoT von Ahmed Banafa
A Wake-Up Call for IoT A Wake-Up Call for IoT
A Wake-Up Call for IoT
Ahmed Banafa1.6K views
10 myths about cloud computing von Ahmed Banafa
10 myths about cloud computing10 myths about cloud computing
10 myths about cloud computing
Ahmed Banafa967 views
The hague rina-workshop-welcome-miguel von ICT PRISTINE
The hague rina-workshop-welcome-miguelThe hague rina-workshop-welcome-miguel
The hague rina-workshop-welcome-miguel
ICT PRISTINE569 views
The hageu rina-workshop-security-peter von ICT PRISTINE
The hageu rina-workshop-security-peterThe hageu rina-workshop-security-peter
The hageu rina-workshop-security-peter
ICT PRISTINE848 views
The hague rina-workshop-interop-deployment_vincenzo von ICT PRISTINE
The hague rina-workshop-interop-deployment_vincenzoThe hague rina-workshop-interop-deployment_vincenzo
The hague rina-workshop-interop-deployment_vincenzo
ICT PRISTINE834 views
Th hauge rina-workshop-sdn-virtualisation_neil von ICT PRISTINE
Th hauge rina-workshop-sdn-virtualisation_neilTh hauge rina-workshop-sdn-virtualisation_neil
Th hauge rina-workshop-sdn-virtualisation_neil
ICT PRISTINE1K views
The hague rina-workshop-nfv-diego von ICT PRISTINE
The hague rina-workshop-nfv-diegoThe hague rina-workshop-nfv-diego
The hague rina-workshop-nfv-diego
ICT PRISTINE893 views
The hague rina-workshop-congestioncontrol-peyman von ICT PRISTINE
The hague rina-workshop-congestioncontrol-peymanThe hague rina-workshop-congestioncontrol-peyman
The hague rina-workshop-congestioncontrol-peyman
ICT PRISTINE876 views
The hague rina-workshop-mobility-eduard von ICT PRISTINE
The hague rina-workshop-mobility-eduardThe hague rina-workshop-mobility-eduard
The hague rina-workshop-mobility-eduard
ICT PRISTINE808 views
Congestion Control in Recursive Network Architectures von ICT PRISTINE
Congestion Control in Recursive Network ArchitecturesCongestion Control in Recursive Network Architectures
Congestion Control in Recursive Network Architectures
ICT PRISTINE1.3K views
Pristine rina-security-icc-2016 von ICT PRISTINE
Pristine rina-security-icc-2016Pristine rina-security-icc-2016
Pristine rina-security-icc-2016
ICT PRISTINE1.7K views

Similar a Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF

TCP/IP Modal von
TCP/IP ModalTCP/IP Modal
TCP/IP ModalParikshitTaksande1
88 views11 Folien
53426980 tcp-ip von
53426980 tcp-ip53426980 tcp-ip
53426980 tcp-ipSharan Huggi
1.9K views19 Folien
TCP Vs UDP von
TCP Vs UDP TCP Vs UDP
TCP Vs UDP Ahmed Elnaggar
6.5K views9 Folien
OSI model (7 LAYER ) von
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )AAKASH S
7.4K views55 Folien
TCP/IP-Protocol Suite-Simple Explanation von
TCP/IP-Protocol Suite-Simple ExplanationTCP/IP-Protocol Suite-Simple Explanation
TCP/IP-Protocol Suite-Simple ExplanationKANNANKR12
85 views15 Folien
Tcp ip-ppt von
Tcp ip-pptTcp ip-ppt
Tcp ip-pptsuganyababu14
1.6K views15 Folien

Similar a Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF(20)

OSI model (7 LAYER ) von AAKASH S
OSI model (7 LAYER )OSI model (7 LAYER )
OSI model (7 LAYER )
AAKASH S7.4K views
TCP/IP-Protocol Suite-Simple Explanation von KANNANKR12
TCP/IP-Protocol Suite-Simple ExplanationTCP/IP-Protocol Suite-Simple Explanation
TCP/IP-Protocol Suite-Simple Explanation
KANNANKR1285 views
TCP/IP Network ppt von extraganesh
TCP/IP Network pptTCP/IP Network ppt
TCP/IP Network ppt
extraganesh138.7K views
Internet protocol (ip) ppt von Dulith Kasun
Internet protocol (ip) pptInternet protocol (ip) ppt
Internet protocol (ip) ppt
Dulith Kasun115.8K views
layering.pdf von BoostHub
layering.pdflayering.pdf
layering.pdf
BoostHub2 views
Presentation on TCP\IP protocols von sabanoor40
Presentation on TCP\IP protocolsPresentation on TCP\IP protocols
Presentation on TCP\IP protocols
sabanoor4056 views
Networking Fundamentals von Vikas Gupta
Networking Fundamentals Networking Fundamentals
Networking Fundamentals
Vikas Gupta253 views

Último

.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV von
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTVSplunk
86 views20 Folien
Transcript: The Details of Description Techniques tips and tangents on altern... von
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...BookNet Canada
119 views15 Folien
AI: mind, matter, meaning, metaphors, being, becoming, life values von
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life valuesTwain Liu 刘秋艳
34 views16 Folien
Tunable Laser (1).pptx von
Tunable Laser (1).pptxTunable Laser (1).pptx
Tunable Laser (1).pptxHajira Mahmood
21 views37 Folien
Java Platform Approach 1.0 - Picnic Meetup von
Java Platform Approach 1.0 - Picnic MeetupJava Platform Approach 1.0 - Picnic Meetup
Java Platform Approach 1.0 - Picnic MeetupRick Ossendrijver
25 views39 Folien
Empathic Computing: Delivering the Potential of the Metaverse von
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the MetaverseMark Billinghurst
449 views80 Folien

Último(20)

.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV von Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk86 views
Transcript: The Details of Description Techniques tips and tangents on altern... von BookNet Canada
Transcript: The Details of Description Techniques tips and tangents on altern...Transcript: The Details of Description Techniques tips and tangents on altern...
Transcript: The Details of Description Techniques tips and tangents on altern...
BookNet Canada119 views
AI: mind, matter, meaning, metaphors, being, becoming, life values von Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life values
Empathic Computing: Delivering the Potential of the Metaverse von Mark Billinghurst
Empathic Computing: Delivering  the Potential of the MetaverseEmpathic Computing: Delivering  the Potential of the Metaverse
Empathic Computing: Delivering the Potential of the Metaverse
Mark Billinghurst449 views
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi von Fwdays
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi
"AI Startup Growth from Idea to 1M ARR", Oleksandr Uspenskyi
Fwdays26 views
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... von NUS-ISS
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
NUS-ISS28 views
Micron CXL product and architecture update von CXL Forum
Micron CXL product and architecture updateMicron CXL product and architecture update
Micron CXL product and architecture update
CXL Forum27 views
PharoJS - Zürich Smalltalk Group Meetup November 2023 von Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi113 views
"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur von Fwdays
"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur
"Thriving Culture in a Product Company — Practical Story", Volodymyr Tsukur
Fwdays40 views
Liqid: Composable CXL Preview von CXL Forum
Liqid: Composable CXL PreviewLiqid: Composable CXL Preview
Liqid: Composable CXL Preview
CXL Forum121 views
"How we switched to Kanban and how it integrates with product planning", Vady... von Fwdays
"How we switched to Kanban and how it integrates with product planning", Vady..."How we switched to Kanban and how it integrates with product planning", Vady...
"How we switched to Kanban and how it integrates with product planning", Vady...
Fwdays61 views
Business Analyst Series 2023 - Week 3 Session 5 von DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10165 views
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad... von Fwdays
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad..."Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
"Ukrainian Mobile Banking Scaling in Practice. From 0 to 100 and beyond", Vad...
Fwdays40 views
AMD: 4th Generation EPYC CXL Demo von CXL Forum
AMD: 4th Generation EPYC CXL DemoAMD: 4th Generation EPYC CXL Demo
AMD: 4th Generation EPYC CXL Demo
CXL Forum126 views
Web Dev - 1 PPT.pdf von gdsczhcet
Web Dev - 1 PPT.pdfWeb Dev - 1 PPT.pdf
Web Dev - 1 PPT.pdf
gdsczhcet52 views
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ... von Fwdays
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ..."Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
"Quality Assurance: Achieving Excellence in startup without a Dedicated QA", ...
Fwdays33 views

Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF

  • 1. Unreliable inter process communication in Ethernet: Migrating to RINA with the shim DIF 15/10/13 Sander Vrijders, Dimitri Staessens, Didier Colle, Mario Pickavet Ghent University – iMinds Eleni Trouva, Eduard Grasa i2CAT John Day, Lou Chitkushev Boston University 1
  • 2. 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 15/10/13 2
  • 3. 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) 15/10/13 3
  • 4. 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 15/10/13 4
  • 5. 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 15/10/13 5
  • 6. Examining the Ethernet Header  Ethernet II: specification released by DEC, Intel, Xerox (hence also called DIX Ethernet) Preamble MAC dest MAC src 802.1q header (optional) Ethertype Payload FCS Interfram e gap 7 bytes 6 bytes 6 bytes 4 bytes 2 bytes 42-1500 bytes 4 bytes 12 bytes 15/10/13 6
  • 7. Examining the Ethernet header  IEEE 802.3 Frame Preamble MAC dest MAC src 802.1q header (optional) Length Payload FCS Interfram e gap 7 bytes 6 bytes 6 bytes 4 bytes 2 bytes 42-1500 bytes 4 bytes 12 bytes  Combined with IEEE 802.2 (LLC) DSAP SSAP Control Information 1 byte 1 byte 1-2 bytes M bytes (M>=0 ) 15/10/13 7
  • 8. 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 15/10/13 8
  • 9. 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 15/10/13 9
  • 10. 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 15/10/13 10
  • 11. 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 15/10/13 11
  • 12. Architectural model Application Specific Tasks System (Host) System (Router) Appl. Process Other Mgt. Tasks IPC Mgt. Tasks Multipl exing SDU Protec tion IPC Resource Mgt. Mgmt Agemt Inter DIF Directory IPC Process Shim IPC Process DIF IPC Process Shim DIF over TCP/UDP Appl. Process Mgmt Agemt Shim IPC Process Shim IPC Process Shim DIF over Ethernet IPC API Data Transfer Data Transfer Data Transfer Data Transfer Relaying and Multiplexing SDU Protection State Vector State Vector State Vector SDU Delimiting Layer Management Data Transfer Control Transmission Transmission Transmission Control Control Control Retransmission Retransmission Retransmission Control Control Control Flow Control Flow Control Flow Control CACEP RIB Daemon RIB RIB Enrollment Authentication Flow Allocation CDAP Parser/Generator Resource Allocation Forwarding Table Generator Increasing timescale (functions performed less often) and complexity System (Host) IPC Process Mgmt Agemt Shim IPC Process
  • 13. Recursive InterNet Architecture  Recognizes the three phases all communication goes through!  Other advantages of RINA:  Inherent support for QoS  Multihoming and mobility  More secure 15/10/13 13
  • 14. Flow allocation in RINA  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 15/10/13 14
  • 16. 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) 15/10/13 16
  • 17. 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 15/10/13 17
  • 18. 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 15/10/13 18
  • 19. Placement of the different PMs 15/10/13 19
  • 21. 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 15/10/13 21
  • 22. Questions ? Sander Vrijders sander.vrijders@intec.ugent.be www.ibcn.intec.ugent.be Internet Based Communication Networks and Services (IBCN) Department of Information Technology (INTEC) Ghent University - iMinds 15/10/13 22

Hinweis der Redaktion

  1. Remember, this is the architecture! DAF Support Tasks: The IPC Management (and other management: memory, storage, CPU) tasks are usually implemented as OS functionality. IPC Resource Management: Creation/Deletion of IPC processes Multiplexing (Usually inverse multiplexing, an application flow into multiple DIF flows, for example: 1 for video, 1 for audio, 1 for text, …) SDU Protection (CRCs, encryption, TTL, …) IDD (Inter DIF Directory, find out in what DIF the destination application process is executing)