<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE rfc SYSTEM "rfc2629.dtd">
<?rfc toc="yes"?>
<?rfc tocompact="yes"?>
<?rfc tocdepth="3"?>
<?rfc tocindent="yes"?>
<?rfc symrefs="yes"?>
<?rfc sortrefs="yes"?>
<?rfc comments="yes"?>
<?rfc inline="yes"?>
<?rfc compact="yes"?>
<?rfc subcompact="no"?>
<rfc category="std" docName="draft-geng-sidrops-bgp-drip-00" ipr="trust200902">
  <front>
    <title abbrev="Dynamic Risk Indication &amp; Propagation">Dynamic Risk
    Indication and Propagation in BGP (DRIP)</title>

    <author fullname="Nan Geng" initials="N." surname="Geng">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street>Huawei Campus, No. 156 Beiqing Road</street>

          <city>Beijing</city>

          <region/>

          <code>100095</code>

          <country>China</country>
        </postal>

        <phone/>

        <facsimile/>

        <email>gengnan@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Longfei Dai" initials="L." surname="Dai">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street>Huawei Campus, No. 156 Beiqing Road</street>

          <city>Beijing</city>

          <region/>

          <code>100095</code>

          <country>China</country>
        </postal>

        <phone/>

        <facsimile/>

        <email>larry.dai@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Haibo Wang" initials="H." surname="Wang">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street>Huawei Campus, No. 156 Beiqing Road</street>

          <city>Beijing</city>

          <region/>

          <code>100095</code>

          <country>China</country>
        </postal>

        <phone/>

        <facsimile/>

        <email>rainsword.wang@huawei.com</email>

        <uri/>
      </address>
    </author>

    <author fullname="Shunwan Zhuang" initials="S." surname="Zhuang">
      <organization>Huawei Technologies</organization>

      <address>
        <postal>
          <street>Huawei Campus, No. 156 Beiqing Road</street>

          <city>Beijing</city>

          <region/>

          <code>100095</code>

          <country>China</country>
        </postal>

        <phone/>

        <facsimile/>

        <email>zhuangshunwan@huawei.com</email>

        <uri/>
      </address>
    </author>

    <date day="20" month="September" year="2026"/>

    <area>Ops &amp; Mgmt Area</area>

    <workgroup>SIDROPS</workgroup>

    <keyword>Region Verification</keyword>

    <keyword>Draft</keyword>

    <abstract>
      <t>This document specifies a framework and associated protocol
      extensions for dynamic routing risk propagation and automated mitigation
      in BGP networks. Building upon Resource Public Key Infrastructure (RPKI)
      Route Origin Validation (ROV), this specification defines mechanisms to
      associate abnormal or hijacked routes with related routing entities
      (e.g., ASes or BGP peers) to dynamically depreference associated paths.
      Furthermore, it introduces extensions to the RPKI-to-Router (RTR)
      protocol and BGP Path Attributes to feedback, distribute, and signal ROA
      risk indicators across Relying Parties (RPs) and BGP Routers, enabling
      proactive and coordinated threat mitigation across network
      boundaries.</t>
    </abstract>

    <note title="Requirements Language">
      <t>The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
      "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
      "OPTIONAL" in this document are to be interpreted as described in BCP 14
      <xref target="RFC2119"/><xref target="RFC8174"/> when, and only when,
      they appear in all capitals, as shown here.</t>
    </note>
  </front>

  <middle>
    <section title="Introduction">
      <t>Resource Public Key Infrastructure (RPKI) Route Origin Validation
      (ROV) <xref target="RFC6811"/> allows BGP routers to determine the
      authorization state of an origin AS for a given IP prefix. However,
      standard ROV treats routes in isolation: an 'Invalid' validation state
      results in dropping or depreferencing only the specific invalid
      route.</t>

      <t>In practice, route leaks and BGP hijacks often indicate a broader
      compromise or misconfiguration involving an entire Autonomous System
      (AS) or a specific BGP peer. Continuing to prefer other routes from the
      same suspect origin or peer leaves the network vulnerable to secondary
      attacks or propagation delays.</t>

      <t>This document addresses these limitations by specifying four
      complementary schemes to detect, signal, and automatically mitigate
      routing risks dynamically:<list style="numbers">
          <t>Associated Path Depreference based on local ROV anomaly
          detection.</t>

          <t>Router-to-RP feedback loop for updating local ROA risk
          tables.</t>

          <t>RP-to-Router propagation of risk-tagged ROA entries.</t>

          <t>Inter-domain and intra-domain BGP signaling of risk states via a
          new BGP Path Attribute or Extended Community.</t>
        </list></t>

      <t/>
    </section>

    <section title="Terminology">
      <t><list style="symbols">
          <t>RP (Relying Party): An RPKI cache validator that collects,
          validates, and maintains RPKI data.</t>

          <t>ROV (Route Origin Validation): The process defined in <xref
          target="RFC6811"/>.</t>

          <t>Risk-Tagged ROA: A validated ROA payload augmented with metadata
          indicating suspect validity, elevated risk, or active hijack
          association.</t>

          <t>Risk Score / Risk Tag: An indicator associated with an AS, peer,
          or prefix signaling potential routing security threats.</t>
        </list></t>
    </section>

    <section title="Architecture Overview">
      <t>The architecture creates a closed-loop security framework spanning
      the Relying Party (RP), local routers, and peer routers.</t>

      <t><figure>
          <artwork><![CDATA[                 +-------------------+
                 |   Relying Party   |
                 |       (RP)        |
                 +-------------------+
                  || (Sch 3: Risk)  ^
                  ||                || (Sch 2: Feedback)
                  \/                ||
             +--------------------------+
             |       Local Router       |
             +--------------------------+
                  || (Sch 4: Risk Comm)
                  \/
             +--------------------------+
             |        Peer Router       |
             +--------------------------+

   - Scheme 1 operates locally on the Local Router.
   - Scheme 2 provides feedback from Local Router to RP via RTR.
   - Scheme 3 propagates risk-tagged ROA from RP to Local Router via RTR.
   - Scheme 4 signals risk status between BGP Routers via BGP Community.
      ]]></artwork>
        </figure></t>
    </section>

    <section title="Detailed Operational Schemes">
      <t/>

      <section title="Scheme 1: Local Peer/AS Association and Preference Reduction">
        <t>When a router identifies a hijacked or invalid route using RPKI ROV
        (or other detection mechanisms such as ASPA <xref
        target="I-D.ietf-sidrops-aspa-verification"/> or local anomaly
        detectors), it MUST mark the route as Invalid or Suspect.</t>

        <t>Under Scheme 1, the router automatically correlates the invalid
        route with related routes sharing structural attributes,
        including:</t>

        <t><list style="symbols">
            <t>The same Origin AS (AS_PATH last element).</t>

            <t>The same immediate Neighbor AS or BGP Peer.</t>

            <t>The same AS_PATH sequence pattern.</t>
          </list>Upon identifying associated routes, the router's decision
        process SHOULD dynamically adjust their selection criteria (e.g.,
        reducing the Local_Pref value) to depreference those routes in favor
        of alternative, unaffected paths.</t>

        <t/>
      </section>

      <section title="Scheme 2: Router-to-RP Risk Feedback Mechanism">
        <t>When a BGP router detects an Invalid route or an active hijack
        attempt, it MAY generate a Risk Feedback signal sent to its connected
        RP via an extended RPKI-to-Router (RTR) protocol session <xref
        target="RFC8210"/>.</t>

        <t>The feedback message MUST contain:</t>

        <t><list style="symbols">
            <t>The affected Prefix and Length.</t>

            <t>The suspect Origin AS / Peer AS.</t>

            <t>The associated ROA Payload identifier.</t>

            <t>A Risk Reason Code (e.g., ROV Invalid, Unexpected AS-Path
            Hop).</t>
          </list>Upon receiving the feedback signal, the RP MUST verify the
        local telemetry and update its internal ROA risk database. The RP MAY
        recalculate the confidence score of the corresponding ROA entries or
        flag the ROA as "State: Elevated Risk".</t>

        <t/>
      </section>

      <section title="Scheme 3: RP-to-Router Risk-Tagged ROA Propagation">
        <t>The RP MAY distribute Risk-Tagged ROA records to client routers
        using extended RTR PDUs. A Risk-Tagged ROA conveys that while a valid
        cryptographic signature exists, operational intelligence indicates
        elevated risk.</t>

        <t>Upon receiving a Risk-Tagged ROA entry from the RP, a router:</t>

        <t><list style="symbols">
            <t>MUST maintain the RPKI validation table with the risk
            metadata.</t>

            <t>SHOULD apply local routing policy to automatically lower the
            Local_Pref of BGP routes matching the Risk-Tagged ROA.</t>

            <t>MAY tag matching routes with a local administrative community
            for logging and inspection purposes.</t>
          </list></t>
      </section>

      <section title="Scheme 4: Inter-Router BGP Risk Attribute Propagation">
        <t>When Router-1 detects an invalid/hijacked route or receives a
        risk-tagged instruction, it MAY notify adjacent BGP routers (Router-2,
        Router-3) by attaching a BGP Attribute or Extended Community to BGP
        UPDATE messages.</t>

        <t>The signaling format MUST use the BGP Routing Risk Extended
        Community defined in Section 5.2.</t>

        <t>Upon receiving a route carrying the BGP Routing Risk Extended
        Community, a receiving router MUST evaluate local import policy. If
        configured to honor inter-domain risk signals, the router SHOULD:</t>

        <t><list style="symbols">
            <t>Reduce the Local_Pref of the indicated route.</t>

            <t>Optionally propagate the risk signal to internal peers (iBGP)
            while stripping or filtering the attribute at eBGP boundaries
            according to local policy trust agreements.</t>
          </list></t>
      </section>
    </section>

    <section title="Protocol Extensions">
      <t/>

      <section title="RTR Protocol Extensions (RTR Risk PDU)">
        <t>This document extends the RPKI-to-Router Protocol (RTR v1 <xref
        target="RFC8210"/>) by defining two new PDU types:</t>

        <t>0x0B: Router Risk Feedback PDU (Router -&gt; RP)</t>

        <t>0x0C: Risk-Tagged IPv4/IPv6 Prefix PDU (RP -&gt; Router)</t>

        <t>The Risk PDU payload format is defined as follows:</t>

        <t><figure>
            <artwork><![CDATA[ 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Version (2)   | PDU Type(0x0C)|          Reserved             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                            Length                             |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Flags         | Prefix Length | Max Length    | Risk Level    |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                         Autonomous System                     |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|                        IP Address Prefix                      |
|                                                               |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      ]]></artwork>
          </figure></t>
      </section>

      <section title="BGP Routing Risk Extended Community">
        <t>This document defines a new Transitive Opaque Extended Community
        termed the "BGP Routing Risk Extended Community":</t>

        <t>- Type: 0x03 (Transitive Opaque Extended Community)</t>

        <t>- Sub-Type: To Be Determined by IANA</t>

        <t>- Value: 2-octet Risk Sub-code, 4-octet Target AS/Peer ID.</t>

        <t/>
      </section>
    </section>

    <section title="Security Considerations">
      <t>Propagating risk signals dynamically introduces potential
      denial-of-service (DoS) vectors if malicious or misconfigured nodes
      inject false risk warnings.</t>

      <t>To mitigate unauthorized risk signaling:</t>

      <t><list style="symbols">
          <t>RTR sessions carrying Risk PDUs MUST use transport layer
          protection (e.g., SSH or TLS as mandated in <xref
          target="RFC8210"/>).</t>

          <t>Inter-domain BGP Risk Extended Communities SHOULD be stripped at
          eBGP boundaries unless explicitly permitted by bilateral trust
          agreements.</t>

          <t>Depreferencing algorithms MUST enforce a minimum Local_Pref floor
          to prevent total blackholing of legitimate traffic unless explicit
          hard filtering policies are specified.</t>
        </list></t>
    </section>

    <section title="IANA Considerations">
      <t>IANA is requested to allocate:</t>

      <t><list style="numbers">
          <t>Two new PDU Types in the "RTR Protocol PDU Types" registry (0x0B,
          0x0C).</t>

          <t>A new Sub-Type for the BGP Routing Risk Extended Community under
          the "Transitive Opaque Extended Community Sub-Types" registry.</t>
        </list></t>

      <t>This document requests IANA to perform the following actions:</t>

      <t/>
    </section>

    <section anchor="Acknowledgements" title="Acknowledgements">
      <t>The authors would like to thank the IETF SIDROPS Working Group
      members for their valuable feedback and discussion.</t>
    </section>
  </middle>

  <back>
    <references title="Normative References">
      <?rfc include="reference.RFC.2119"?>

      <?rfc include="reference.RFC.6811"?>

      <?rfc include="reference.RFC.8174"?>

      <?rfc include="reference.RFC.8210"?>
    </references>

    <references title="Informative References">
      <?rfc include="reference.I-D.ietf-sidrops-aspa-verification"?>
    </references>
  </back>
</rfc>
