Juniper Junos
TMA-JUNIPER-JUNOS-4.6.1
Ensure BFD Authentication is Set
설명
BFD Peers should be authenticated. Bidirectional Forwarding Detection (BFD) is a Forwarding Plane feature which allows more rapid detection of a failed neighbor then can be achieved through a routing protocols' normal detection mechanisms, providing faster reconvergence. Passes when BFD is not configured. Audited against the output of 'show configuration | display set | no-more' (set format, not the curly-brace hierarchy).
점검 방법
감사 방식: 구성 패턴
- 패턴
(?m)\A(?:(?:(?:(?:[^b \t\n][^ \t\n]*|b(?:|[^f \t\n][^ \t\n]*|f(?:|[^d \t\n][^ \t\n]*|d(?:|[^\- \t\n][^ \t\n]*|-(?:|[^l \t\n][^ \t\n]*|l(?:|[^i \t\n][^ \t\n]*|i(?:|[^v \t\n][^ \t\n]*|v(?:|[^e \t\n][^ \t\n]*|e(?:|[^n \t\n][^ \t\n]*|n(?:|[^e \t\n][^ \t\n]*|e(?:|[^s \t\n][^ \t\n]*|s(?:|[^s \t\n][^ \t\n]*|s(?:|[^\- \t\n][^ \t\n]*|-(?:|[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^t \t\n][^ \t\n]*|t(?:|[^e \t\n][^ \t\n]*|e(?:|[^c \t\n][^ \t\n]*|c(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^o \t\n][^ \t\n]*|o(?:|[^n \t\n][^ \t\n]*|n(?:[^ \t\n][^ \t\n]*)))))))))))))))))))))))[ \t]+)*(?:(?:[^b \t\n][^ \t\n]*|b(?:|[^f \t\n][^ \t\n]*|f(?:|[^d \t\n][^ \t\n]*|d(?:|[^\- \t\n][^ \t\n]*|-(?:|[^l \t\n][^ \t\n]*|l(?:|[^i \t\n][^ \t\n]*|i(?:|[^v \t\n][^ \t\n]*|v(?:|[^e \t\n][^ \t\n]*|e(?:|[^n \t\n][^ \t\n]*|n(?:|[^e \t\n][^ \t\n]*|e(?:|[^s \t\n][^ \t\n]*|s(?:|[^s \t\n][^ \t\n]*|s(?:|[^\- \t\n][^ \t\n]*|-(?:|[^d \t\n][^ \t\n]*|d(?:|[^e \t\n][^ \t\n]*|e(?:|[^t \t\n][^ \t\n]*|t(?:|[^e \t\n][^ \t\n]*|e(?:|[^c \t\n][^ \t\n]*|c(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^o \t\n][^ \t\n]*|o(?:|[^n \t\n][^ \t\n]*|n(?:[^ \t\n][^ \t\n]*))))))))))))))))))))))))?|(?:(?:[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^t \t\n][^ \t\n]*|t(?:|[^h \t\n][^ \t\n]*|h(?:|[^e \t\n][^ \t\n]*|e(?:|[^n \t\n][^ \t\n]*|n(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^c \t\n][^ \t\n]*|c(?:|[^a \t\n][^ \t\n]*|a(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^o \t\n][^ \t\n]*|o(?:|[^n \t\n][^ \t\n]*|n(?:[^ \t\n][^ \t\n]*)))))))))))))))[ \t]+)*(?:(?:[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^t \t\n][^ \t\n]*|t(?:|[^h \t\n][^ \t\n]*|h(?:|[^e \t\n][^ \t\n]*|e(?:|[^n \t\n][^ \t\n]*|n(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^c \t\n][^ \t\n]*|c(?:|[^a \t\n][^ \t\n]*|a(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^o \t\n][^ \t\n]*|o(?:|[^n \t\n][^ \t\n]*|n(?:[^ \t\n][^ \t\n]*))))))))))))))))?)\n)*[^\n]*\bbfd-liveness-detection (?:minimum-interval|minimum-receive-interval|multiplier|transmit-interval)\b[^\n]*(?:\n(?:(?:(?:(?:[^b \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))))))))))))))))))))))))?|(?:(?:[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^t \t\n][^ \t\n]*|t(?:|[^h \t\n][^ \t\n]*|h(?:|[^e \t\n][^ \t\n]*|e(?:|[^n \t\n][^ \t\n]*|n(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^c \t\n][^ \t\n]*|c(?:|[^a \t\n][^ \t\n]*|a(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^o \t\n][^ \t\n]*|o(?:|[^n \t\n][^ \t\n]*|n(?:[^ \t\n][^ \t\n]*)))))))))))))))[ \t]+)*(?:(?:[^a \t\n][^ \t\n]*|a(?:|[^u \t\n][^ \t\n]*|u(?:|[^t \t\n][^ \t\n]*|t(?:|[^h \t\n][^ \t\n]*|h(?:|[^e \t\n][^ \t\n]*|e(?:|[^n \t\n][^ \t\n]*|n(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^c \t\n][^ \t\n]*|c(?:|[^a \t\n][^ \t\n]*|a(?:|[^t \t\n][^ \t\n]*|t(?:|[^i \t\n][^ \t\n]*|i(?:|[^o \t\n][^ \t\n]*|o(?:|[^n \t\n][^ \t\n]*|n(?:[^ \t\n][^ \t\n]*))))))))))))))))?)))*\n?\z
조치 방법
조치 방식: 가이드 또는 인프라 패치
! If you have deployed BFD, authentication can be configured by issuing the following commands. First set the authentication algorithm and keychain from the appropriate [.* bfd-liveness-detection] hierarchy, in this example we are configuring BFD Authentication for OSPF Neighbors on Interface Ge-0/0/0.0: set protocols ospf interface ge-0/0/0.0 bfd-liveness-detection authentication algorithm <algorithm> set protocols ospf interface ge-0/0/0.0 bfd-liveness-detection authentication key-chain <key-chain> Where: - <algorithm> is either keyed-md5, keyed-sha-1, meticulous-keyed-md5 or meticulous-keyed-sha-1, which is preferred but is not compatible with NSR and other failover options. - <key-chain> is the name of a configured key-chain (see below). If a Key Chain is not already defined, you should create one by issuing the following command at the hierarchy: ! ... see the benchmark for the full procedure
속성
- 운영 체제
- 모두
- 태그
- juniper-junosnetworkaaa
- 참고 자료
- CIS Juniper OS Benchmark v2.1.0 - 4.6.1 Ensure BFD Authentication is Set
이 호스트 점검하기
감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.
tmaegis scan --target juniper-junos --level 2