diff --git a/doc/bird.sgml b/doc/bird.sgml
index 91c21eeb..d2d03314 100644
--- a/doc/bird.sgml
+++ b/doc/bird.sgml
@@ -1964,16 +1964,39 @@ table it wishes to export along with complete path information (a list of AS'es
the packet will travel through if it uses the particular route) in order to
avoid routing loops.
-
BIRD supports all requirements of the BGP4 standard as defined in
- It also supports the community attributes (),
-capability negotiation (), MD5 password authentication
-(), extended communities (), route reflectors
-(), AS confederations (), graceful restart
-(), multiprotocol extensions (), 4B AS numbers
-(), and 4B AS numbers in extended communities ().
+Supported standards:
+
-For IPv6, it uses the standard multiprotocol extensions defined in
- and applied to IPv6 according to .
+
+-
- Border Gateway Protocol 4 (BGP)
+-
- BGP Communities Attribute
+-
- Protection of BGP Sessions via TCP MD5 Signature
+-
- Use of BGP Multiprotocol Extensions for IPv6
+-
- Route Refresh Capability
+-
- Carrying Label Information in BGP
+-
- BGP Extended Communities Attribute
+-
- BGP/MPLS IPv4 Virtual Private Networks
+-
- BGP Route Reflection
+-
- Subcodes for BGP Cease Notification Message
+-
- BGP/MPLS IPv6 Virtual Private Networks
+-
- Graceful Restart Mechanism for BGP
+-
- Multiprotocol extensions for BGP
+-
- Connecting IPv6 Islands over IPv4 MPLS
+-
- AS confederations for BGP
+-
- Generalized TTL Security Mechanism
+-
- Capabilities Advertisement with BGP
+-
- Advertising IPv4 NLRI with an IPv6 Next Hop
+-
- Dissemination of Flow Specification Rules
+-
- 4-Octet AS Specific BGP Extended Community
+-
- AS-Wide Unique BGP Identifier
+-
- Subcodes for BGP Finite State Machine Error
+-
- BGP Support for 4-Octet AS Numbers
+-
- Enhanced Route Refresh Capability for BGP
+-
- Revised Error Handling for BGP UPDATE Messages
+-
- Advertisement of Multiple Paths in BGP
+-
- Internet Exchange BGP Route Server
+-
- BGP Large Communities Attribute
+
Route selection rules
diff --git a/proto/bgp/bgp.c b/proto/bgp/bgp.c
index 7d974d17..ad3320be 100644
--- a/proto/bgp/bgp.c
+++ b/proto/bgp/bgp.c
@@ -67,7 +67,39 @@
* point of view and therefore maintaining received routes. Routing table
* refresh cycle (rt_refresh_begin(), rt_refresh_end()) is used for removing
* stale routes after reestablishment of BGP session during graceful restart.
- */
+ *
+ * Supported standards:
+ *
+ * -
- Border Gateway Protocol 4 (BGP)
+ * -
- BGP Communities Attribute
+ * -
- Protection of BGP Sessions via TCP MD5 Signature
+ * -
- Use of BGP Multiprotocol Extensions for IPv6
+ * -
- Route Refresh Capability
+ * -
- Carrying Label Information in BGP
+ * -
- BGP Extended Communities Attribute
+ * -
- BGP/MPLS IPv4 Virtual Private Networks
+ * -
- BGP Route Reflection
+ * -
- Subcodes for BGP Cease Notification Message
+ * -
- BGP/MPLS IPv6 Virtual Private Networks
+ * -
- Graceful Restart Mechanism for BGP
+ * -
- Multiprotocol extensions for BGP
+ * -
- Connecting IPv6 Islands over IPv4 MPLS
+ * -
- AS confederations for BGP
+ * -
- Generalized TTL Security Mechanism
+ * -
- Capabilities Advertisement with BGP
+ * -
- Advertising IPv4 NLRI with an IPv6 Next Hop
+ * -
- Dissemination of Flow Specification Rules
+ * -
- 4-Octet AS Specific BGP Extended Community
+ * -
- AS-Wide Unique BGP Identifier
+ * -
- Subcodes for BGP Finite State Machine Error
+ * -
- BGP Support for 4-Octet AS Numbers
+ * -
- Enhanced Route Refresh Capability for BGP
+ * -
- Revised Error Handling for BGP UPDATE Messages
+ * -
- Advertisement of Multiple Paths in BGP
+ * -
- Internet Exchange BGP Route Server
+ * -
- BGP Large Communities Attribute
+ *
+*/
#undef LOCAL_DEBUG
diff --git a/proto/bgp/bgp.h b/proto/bgp/bgp.h
index 6511680d..bdf32f26 100644
--- a/proto/bgp/bgp.h
+++ b/proto/bgp/bgp.h
@@ -90,9 +90,9 @@ struct bgp_config {
int deterministic_med; /* Use more complicated algo to have strict RFC 4271 MED comparison */
u32 default_local_pref; /* Default value for LOCAL_PREF attribute */
u32 default_med; /* Default value for MULTI_EXIT_DISC attribute */
- int capabilities; /* Enable capability handshake [RFC 3392] */
+ int capabilities; /* Enable capability handshake [RFC 5492] */
int enable_refresh; /* Enable local support for route refresh [RFC 2918] */
- int enable_as4; /* Enable local support for 4B AS numbers [RFC 4893] */
+ int enable_as4; /* Enable local support for 4B AS numbers [RFC 6793] */
int enable_extended_messages; /* Enable local support for extended messages [draft] */
u32 rr_cluster_id; /* Route reflector cluster ID, if different from local ID */
int rr_client; /* Whether neighbor is RR client of me */
diff --git a/proto/bgp/packets.c b/proto/bgp/packets.c
index e11be197..c6098e2b 100644
--- a/proto/bgp/packets.c
+++ b/proto/bgp/packets.c
@@ -470,7 +470,7 @@ bgp_read_capabilities(struct bgp_conn *conn, struct bgp_caps *caps, byte *pos, i
}
break;
- case 65: /* AS4 capability, RFC 4893 */
+ case 65: /* AS4 capability, RFC 6793 */
if (cl != 4)
goto err;