You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/sig.rst
+29-10Lines changed: 29 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -25,6 +25,32 @@ This protocol is designed to:
25
25
- provide fast detection of packet loss and subsequent recovery of decapsulation for packets that weren't lost.
26
26
- support for multiple streams within a framing session such that independent packet sequences be tunneled in parallel.
27
27
28
+
SIGs map IP prefixes to SCION ASes using SGRP.
29
+
30
+
31
+
SCION Gateway Routing Protocol (SGRP)
32
+
=====================================
33
+
34
+
The SCION Gateway Routing Protocol (SGRP) enables SIGs to map IP prefixes to SCION ASes.
35
+
36
+
A SIG participating in SGRP between two SCION ASes does the following:
37
+
38
+
1. It discovers the SIGs in the remote SCION AS by periodically sending a discovery message to the Control Plane of the remote AS which replies with a list of local tunneling endpoints.
39
+
40
+
2. It periodically queries each discovered SIG in the remote AS to learn the IP prefixes that it announces. From that, the local SIG builds a mapping of IP prefix to remote SIGs.
41
+
42
+
3. When queried by a remote SIG, the local SIG replies with the set of IP prefixes it wants to announce.
43
+
44
+
The set of announced IP prefixes can be statically configured.
@@ -90,21 +116,14 @@ A SIG MAY drop frames. In the current implementation, the egress SIG does not bu
90
116
SIG frame payload
91
117
-----------------
92
118
93
-
The SIG frame payload may contain multiple IPv4 or IPv6 packets, or parts
94
-
thereof. No other types of packets can be encapsulated. The packets are
95
-
placed one directly after another, with no padding.
96
-
Multicast traffic is not supported yet.
119
+
The SIG frame payload may contain multiple IPv4 or IPv6 packets, or parts thereof. No other types of packets can be encapsulated. The packets are placed one directly after another, with no padding. Multicast traffic is not yet supported.
97
120
98
-
SIG uses IPv4/6 "payload length" field to determine the size of the packet.
99
-
To make the processing easier, it is required that the fixed part of the IP header
100
-
is in the frame where the IP packet begins. In other words, the initial fragment
101
-
of an IPv4 packet must be at least 20 bytes long. The initial fragment of an IPv6
102
-
packet must be at least 40 bytes long.
121
+
The SIG uses IPv4/6 "payload length" field to determine the size of the packet. To make the processing easier, the fixed part of the IP header MUST be in the frame where the IP packet begins. In other words, the initial fragment of an IPv4 packet must be at least 20 bytes long, and the initial fragment of an IPv6 packet must be at least 40 bytes long.
103
122
104
123
Example
105
124
-------
106
125
107
-
Following example shows three IP packets packed into three SIG frames::
126
+
Following example shows three IP packets packed into three SIG frames:
0 commit comments