TMAegisBeta
juniper-junos için daha fazla kural

Juniper Junos

TMA-JUNIPER-JUNOS-4.7.1

Ensure authentication is set to MD5 (LDP)

YüksekDüzey 1Otomatikjuniper-junos

Açıklama

LDP peers should be authenticated. Where it is deployed, LDP is vital for normal operation of an MPLS network. LDP is used to determine Label mapping and populate the routers Forwarding Information Base (FIB). Passes when no LDP session is configured. Audited against the output of 'show configuration | display set | no-more' (set format, not the curly-brace hierarchy).

Nasıl denetlenir

Denetim yöntemi: Yapılandırma deseni

Desen
(?m)\A(?:(?:[ \t]*(?:$|[^s \t\n]|s(?:$|[^e\n]|e(?:$|[^t\n]|t(?:$|[^ \n]| (?:$|[^p\n]|p(?:$|[^r\n]|r(?:$|[^o\n]|o(?:$|[^t\n]|t(?:$|[^o\n]|o(?:$|[^c\n]|c(?:$|[^o\n]|o(?:$|[^l\n]|l(?:$|[^s\n]|s(?:$|[^ \n]| (?:$|[^l\n]|l(?:$|[^d\n]|d(?:$|[^p\n]|p(?:$|[^ \n]))))))))))))))))))[^\n]*|[ \t]*set protocols ldp (?:(?:[^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]*|-(?:|[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \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]*|-(?:|[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \t\n][^ \t\n]*))))))))))))))))))))?)\n)*[ \t]*set protocols ldp (?:session|session-group) (?:(?:[^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]*|-(?:|[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \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]*|-(?:|[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \t\n][^ \t\n]*))))))))))))))))))))?(?:\n(?:(?:[ \t]*(?:$|[^s \t\n]|s(?:$|[^e\n]|e(?:$|[^t\n]|t(?:$|[^ \n]| (?:$|[^p\n]|p(?:$|[^r\n]|r(?:$|[^o\n]|o(?:$|[^t\n]|t(?:$|[^o\n]|o(?:$|[^c\n]|c(?:$|[^o\n]|o(?:$|[^l\n]|l(?:$|[^s\n]|s(?:$|[^ \n]| (?:$|[^l\n]|l(?:$|[^d\n]|d(?:$|[^p\n]|p(?:$|[^ \n]))))))))))))))))))[^\n]*|[ \t]*set protocols ldp (?:(?:[^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]*|-(?:|[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \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]*|-(?:|[^k \t\n][^ \t\n]*|k(?:|[^e \t\n][^ \t\n]*|e(?:|[^y \t\n][^ \t\n]*|y(?:[^ \t\n][^ \t\n]*))))))))))))))))))))?)))*\n?\z

Nasıl düzeltilir

Düzeltme yöntemi: Kılavuz veya altyapı yaması

! If you have deployed LDP in your network you should use MD5 authentication for all neighbors. To configure authentication for a session-group enter the following command from the hierarchy: set protocols ldp session-group <Destination IP Address or IP/Mask> authentication-key <key>

Özellikler

İşletim sistemleri
Herhangi biri
Etiketler
juniper-junosnetworkaaa
Referans
CIS Juniper OS Benchmark v2.1.0 - 4.7.1 Ensure authentication is set to MD5

Bu ana makineyi denetle

Bunu denetleme izniniz olan bir makinede çalıştırın. Tarama salt okunurdur.

shell
tmaegis scan --target juniper-junos