STIGhubSTIGhub
STIGsSearchCompare

STIGhub

A free tool to search and browse the entire DISA STIG library. Saves up to 75% in security compliance research time.

Navigation

  • Browse STIGs
  • Search
  • Compare Versions

Resources

  • About
  • Release Notes
  • VPAT
  • DISA STIG Library
STIGs updated 5 hours ago
Powered by Pylon
© 2026 Beacon Cloud Solutions, Inc. All rights reserved.
← Back to Juniper Router RTR Security Technical Implementation Guide

V-217019

CAT I (High)

The Juniper router must be configured to restrict traffic destined to itself.

Rule ID

SV-217019r604135_rule

STIG

Juniper Router RTR Security Technical Implementation Guide

Version

V3R2

CCIs

CCI-001097

Discussion

The Routing Engine handles traffic destined to the router—the key component used to build forwarding paths and is instrumental with all network management functions. Hence, any disruption or DoS attack to the Routing Engine can result in mission critical network outages.

Check Content

Review the filter for the router’s receive path and verify that it will only allow specific management plane traffic from specific sources.

Verify filter has been configured as shown in the example below.

firewall {
    family inet {
         …
        …
        …
        }
        filter DESTINED_TO_RE {
            term ALLOW_OSPF {
                from {
                    protocol ospf;
                }
                then accept;
            }
            term ALLOW_BGP {
                from {
                    source-address {
                        11.1.12.1/32;
                        11.1.23.3/32;
                        11.1.25.5/32;
                    }
                    protocol tcp;
                    port bgp;
                }
            }
            term FILTER_TCP {
                from {
                    destination-address {
                        11.1.12.0/24;
                    }
                    protocol tcp;
                    destination-port [ ssh tacacs telnet ];
                }
                then accept;
            }
            term FILTER_UDP {
                from {
                    destination-address {
                        11.1.12.0/24;
                    }
                    protocol udp;
                    destination-port [ntp snmp ];
                }
                then accept;
            }
            term ICMP_ANY {
                from {
                    protocol icmp;
                }
                then accept;
            }
            term DENY_BY_DEFAULT {
                then {
                    log;
                    discard;
                }
            }
        }
    }

Verify that the input filter has been applied to loopback interface as shown in the example below.
    
interfaces {
…
…
…
    lo0 {
        unit 0 {
            family inet {
                filter {
                    input-list [ DESTINED_TO_RE CoPP_Policy ];
                }
                address 2.2.2.2/32;
            }
         }
    }
}

If the router is not configured with a receive-path filter to restrict traffic destined to itself, this is a finding

Fix Text

Configure the router’s receive path filters to restrict traffic destined to the router.

Configure a filter to define what traffic should be received by the Routing Engine.

[edit firewall family inet]
set filter DESTINED_TO_RP term FILTER_TCP from destination-address 11.1.12.0/24  
set filter DESTINED_TO_RP term FILTER_TCP from protocol tcp destination-port ssh
set filter DESTINED_TO_RP term FILTER_TCP from protocol tcp destination-port tacacs
set filter DESTINED_TO_RP term FILTER_TCP then accept
set filter DESTINED_TO_RP term FILTER_UDP from destination-address 11.1.12.0/24  
set filter DESTINED_TO_RP term FILTER_UDP from protocol udp destination-port ntp
set filter DESTINED_TO_RP term FILTER_UDP from protocol udp destination-port snmp
set filter DESTINED_TO_RP term FILTER_UDP then accept
set filter DESTINED_TO_RP term ICMP_ANY from protocol icmp 
set filter DESTINED_TO_RP term ICMP_ANY from protocol icmp then accept
set filter DESTINED_TO_RP term DENY_BY_DEFAULT then log discard

Apply the filter to the loopback interface.

[edit interfaces lo0 unit 0 family inet] 
set filter input-list DESTINED_TO_RP.