1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
|
Internet Engineering Task Force (IETF) T. Manderson
Request for Comments: 6397 ICANN
Category: Standards Track October 2011
ISSN: 2070-1721
Multi-Threaded Routing Toolkit (MRT) Border Gateway Protocol (BGP)
Routing Information Export Format with Geo-Location Extensions
Abstract
This document updates the Multi-threaded Routing Toolkit (MRT) export
format for Border Gateway Protocol (BGP) routing information by
extending it to include optional terrestrial coordinates of a BGP
collector and its BGP peers.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in Section 2 of RFC 5741.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
http://www.rfc-editor.org/info/rfc6397.
Copyright Notice
Copyright (c) 2011 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Manderson Standards Track [Page 1]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Requirements Notation . . . . . . . . . . . . . . . . . . . . . 2
3. Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . 3
4. Geo-Location-Aware MRT Routing Information Subtype . . . . . . 3
4.1. GEO_PEER_TABLE . . . . . . . . . . . . . . . . . . . . . . 3
4.2. GEO_PEER_TABLE and Peer Entry Values . . . . . . . . . . . 5
5. BGP Collector Construction . . . . . . . . . . . . . . . . . . 5
6. Privacy Considerations . . . . . . . . . . . . . . . . . . . . 6
7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 6
8. IANA Considerations . . . . . . . . . . . . . . . . . . . . . . 6
9. Security Considerations . . . . . . . . . . . . . . . . . . . . 7
10. References . . . . . . . . . . . . . . . . . . . . . . . . . . 7
10.1. Normative References . . . . . . . . . . . . . . . . . . . 7
10.2. Informative References . . . . . . . . . . . . . . . . . . 8
1. Introduction
Researchers and engineers often wish to analyze network behavior by
studying routing protocol transactions and routing information base
snapshots in relation to geographical topologies. Usually, the
Border Gateway Protocol [RFC4271] is the subject of study, and the
analysis can be significantly aided by the availability and extension
of the "Multi-Threaded Routing Toolkit (MRT) Routing Information
Export Format" [RFC6396]. The MRT format was originally defined in
the MRT Programmer's Guide [MRT-GUIDE].
The addition of geo-location coordinates (longitude and latitude)
pertaining to the geographical location of both the BGP collector and
its BGP peers to BGP export data enables a researcher or enquiring
individual to gain a terrestrial insight to the routes seen by a BGP
speaker. Such data may ultimately aid researchers in understanding
any disparity between the geographical location of networks and the
topological location of networks in addition to the relationships
between geographical position and routing anomalies. Such insight
could provide future input into network design and network security.
This memo documents an optional extension to the MRT format [RFC6396]
and introduces an additional definition of an MRT Subtype field that
includes the terrestrial coordinates of a BGP collector and its BGP
peers.
2. Requirements Notation
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
document are to be interpreted as described in [RFC2119].
Manderson Standards Track [Page 2]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
3. Definitions
Coordinates: The geographic latitude and longitude specifying a
location on the earth.
BGP Speaker: A network device that exchanges network routing
information using BGP.
Geo-location: Assigning a set of coordinates to a specific artifact,
in this case a BGP speaker.
BGP Collector: A BGP speaker (usually passive) that stores and
archives BGP routing data from active BGP peers for analysis.
BGP Peer: Either an internal or external BGP peer [RFC4271].
Not A Number (NAN): Numeric data type representing an undefined or
unrepresentable value, as defined in the IEEE Standard for Floating-
Point Arithmetic [IEEE754].
4. Geo-Location-Aware MRT Routing Information Subtype
An additional subtype (GEO_PEER_TABLE) is defined for the
TABLE_DUMP_V2 format, extending TABLE_DUMP_V2 Type.
4.1. GEO_PEER_TABLE
The GEO_PEER_TABLE Subtype updates the TABLE_DUMP_V2 Types to include
geo-location information in the form of the World Geodetic System
1984 (WGS84) [WGS-84] formatted coordinates.
The document adds the 7th subtype number and name below. The first 6
subtypes are defined by the MRT format [RFC6396].
Subtype Number Subtype Name
----------------------------------
7 GEO_PEER_TABLE
The GEO_PEER_TABLE MRT record provides the BGP ID of the collector,
its latitude and longitude in WGS84 [WGS-84] format, and a list of
indexed peers and their respective latitudes and longitudes in WGS84
[WGS-84] format.
The format and function of the Collector BGP ID and Peer Count are as
defined by the TABLE_DUMP_V2, PEER_INDEX_TABLE format [RFC6396].
Manderson Standards Track [Page 3]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
The Collector Latitude and Collector Longitude are the geographical
coordinates of the collector in WGS84 [WGS-84] datum decimal degrees
format stored as a single precision float in the 32 bits allocated to
the Collector Latitude and Collector Longitude. The latitude and
longitude MAY be a Not A Number (NAN) [IEEE754] for situations where
the geo-location of the collector is considered private. The
Collector Latitude and Collector Longitude MUST NOT be a mix of WGS84
[WGS-84] datum coordinates and NAN values.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Collector BGP ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Collector Latitude |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Collector Longitude |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Peer Count | Peer Entries (variable)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Format of the GEO_PEER_TABLE
The format of the Peer Entries is shown below. The Peer Type and the
Peer BGP ID are as defined in the TABLE_DUMP_V2 MRT, PEER_INDEX_TABLE
format [RFC6396]. The order of the Peer Entries in the
GEO_PEER_TABLE MUST match the order and number as existing in the
PEER_INDEX_TABLE.
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Peer Type |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Peer BGP ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Peer Latitude |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Peer Longitude |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Format of Peer Entries
The Peer Latitude and Peer Longitude are the geographical coordinates
of the peer in WGS84 [WGS-84] datum decimal degrees format stored as
a single precision float in the 32 bits allocated to the Peer
Latitude and Peer Longitude. The latitude and longitude MAY be a Not
A Number (NAN) [IEEE754] for situations where the geo-location of the
Manderson Standards Track [Page 4]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
peer is considered private. The Peer Latitude and Peer Longitude
MUST NOT be a mix of WGS84 [WGS-84] datum coordinates and NAN values
for a single peer.
4.2. GEO_PEER_TABLE and Peer Entry Values
Collector BGP ID: Defined in the MRT format [RFC6396].
Collector Latitude: Geographic latitude of the BGP collector in WGS84
[WGS-84] datum decimal degrees format stored as a single precision
float.
Collector Longitude: Geographic longitude of the BGP collector in
WGS84 [WGS-84] datum decimal degrees format stored as a single
precision float.
Peer Count: Defined in the MRT format [RFC6396].
Peer Entries: Defined in the MRT format [RFC6396].
Peer Type: Defined in the MRT format [RFC6396].
Peer BGP ID: Defined in the MRT format [RFC6396].
Peer Latitude: Geographic latitude of the BGP peer in WGS84 [WGS-84]
datum decimal degrees format stored as a single precision float.
Peer Longitude: Geographic longitude of the BGP peer in WGS84
[WGS-84] datum decimal degrees format stored as a single precision
float.
5. BGP Collector Construction
This section aids the reader in understanding the function of a BGP
collector.
The BGP collector is a hardware- or software-based device that speaks
the Border Gateway Protocol. Its intended function is to store (and
archive) the BGP routing data it receives from other BGP speakers
with which it has peering relationships, providing data for later
analysis. The general nature of a BGP collector is that it is a
passive device in that it listens to route updates and does not
announce or propagate any information it knows or receives. It
should be noted that this is not always the case; network operators
sometimes enable the collection of BGP routing data on active BGP
speakers to obtain a situational view of the routing system as they
see it at a particular point in time.
Manderson Standards Track [Page 5]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
As a fully fledged BGP speaker, the BGP collector can fit into any
BGP topology including Internal BGP (iBGP), External BGP (eBGP), and
so on. The implementation of a BGP collector in a network topology
is therefore limited by that network's use of BGP.
6. Privacy Considerations
The GEOPRIV [RFC6280] architecture requires that privacy rules
attached to a location object be transmitted alongside the location
information in the object. If a BGP collector adds location
coordinates to an MRT record based on GEOPRIV location objects, then
it would have to include privacy rules as well. Since the MRT geo-
location format does not support the provision of privacy rules, each
location entry in an MRT object is assigned the following default
privacy rules [RFC4119]:
-- retransmission-allowed: True
-- retention-expires: 100 years from timestamp of the MRT object
-- ruleset-reference: Empty
-- note-well: Empty
Location information derived from a location object with more
restrictive privacy rules MUST NOT be included in an MRT geo-location
record unless there are non-technical measures in place that enforce
and communicate the constraints on the use of the location
information in the MRT geo-location format (e.g., contractual
agreements between peers).
7. Acknowledgements
Thanks to Andrew Clark, Ernest Foo, Dave Meyer, Larry Blunk, Richard
Barnes, and Jeffrey Haas for reviewing this document.
This document describes a small portion of the research towards the
author's Ph.D.
8. IANA Considerations
Per this section, the Internet Assigned Numbers Authority (IANA) has
registered the additional Subtype code value as:
7 GEO_PEER_TABLE
in the MRT format [RFC6396] and Subtype code values related to the
TABLE_DUMP_V2 Type in the MRT namespace.
Manderson Standards Track [Page 6]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
9. Security Considerations
This extension to the MRT format [RFC6396] defines fields that are of
a descriptive nature and provides information that is useful in the
analysis of routing systems. As such, the author believes that they
do not constitute an additional network-based security risk. It is
recommended that the operators of the BGP collector and BGP peers
consider their own privacy and security concerns before supplying
geographical coordinates to BGP data collection systems. Special
attention should be given to the physical security of an organization
before supplying geographical coordinates, especially if the
resulting BGP data with geo-location extensions is made public.
Entities that operate BGP collectors, and users of data provided by
BGP collectors, should be aware that the geo-location data supplied
by a peer can only be taken at face value. It is possible that a BGP
peer may supply coordinates that are purposefully misleading or
inaccurate. It is therefore up to the BGP collector whether or not
to include this information or use its own methods to either trust or
validate the data provided. It is not recommended that a BGP
collector use geographical coordinates not supplied by a BGP peer.
10. References
10.1. Normative References
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119, March 1997.
[RFC4119] Peterson, J., "A Presence-based GEOPRIV Location Object
Format", RFC 4119, December 2005.
[RFC4271] Rekhter, Y., Li, T., and S. Hares, "A Border Gateway
Protocol 4 (BGP-4)", RFC 4271, January 2006.
[RFC6280] Barnes, R., Lepinski, M., Cooper, A., Morris, J.,
Tschofenig, H., and H. Schulzrinne, "An Architecture for
Location and Location Privacy in Internet Applications",
BCP 160, RFC 6280, July 2011.
[RFC6396] Blunk, L., Karir, M., and C. Labovitz, "Multi-Threaded
Routing Toolkit (MRT) Routing Information Export
Format", RFC 6396, October 2011.
Manderson Standards Track [Page 7]
^L
RFC 6397 Geo-Location Extensions in MRT October 2011
10.2. Informative References
[IEEE754] IEEE 754, "IEEE Standard for Floating-Point Arithmetic",
August 2008, <http://ieeexplore.ieee.org/servlet/
opac?punumber=4610933>.
[MRT-GUIDE] Labovitz, C., "MRT Programmer's Guide", November 1999,
<http://www.merit.edu/networkresearch/
mrtprogrammer.pdf>.
[WGS-84] Geodesy and Geophysics Department, DoD., "World Geodetic
System 1984", January 2000, <http://earth-info.nga.mil/
GandG/publications/tr8350.2/wgs84fin.pdf>.
Author's Address
Terry Manderson
ICANN
EMail: terry.manderson@icann.org
Manderson Standards Track [Page 8]
^L
|