TMAegisBeta
Više pravila za juniper-junos

Juniper Junos

TMA-JUNIPER-JUNOS-4.6.1

Ensure BFD Authentication is Set

VisokaNivo 2Automatskajuniper-junos

Opis

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).

Kako se proverava

Metod provere: Obrazac konfiguracije

Obrazac
(?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 \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?\z

Kako se ispravlja

Metod ispravke: Smernica ili zakrpa infrastrukture

! 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

Svojstva

Operativni sistemi
Bilo koji
Oznake
juniper-junosnetworkaaa
Referenca
CIS Juniper OS Benchmark v2.1.0 - 4.6.1 Ensure BFD Authentication is Set

Proverite ovaj računar

Pokrenite ovo na računaru za koji imate dozvolu za proveru. Skeniranje radi u režimu samo za čitanje.

shell
tmaegis scan --target juniper-junos --level 2