Skip to content

Syslog

Remote syslog uses TLS 1.3 on port 6514 in VRF MGMT with ssl profile SYSLOG. The collector runs syslog-ng with OpenSSL 3.5.

Item Value
Port 6514 (TLS)
Profile SYSLOG
KEX group X25519MLKEM768:ecdh_x25519:secp256r1 (hybrid + classical fallback)
Template configs/ceos/ceos*.cfg.in → lab/.gen/
Peer config configs/syslog/syslog-ng.conf, docker/syslog/openssl-pqc.cnf
Collector syslog-ng on 172.20.127.53 / 2001:db8:127::53

See also Certificates and TLS 1.3.

Configuration

SSL profile SYSLOG (EOS switch)

Complete profile from configs/ceos/ceos1-both.cfg.in:

management security
   ssl profile SYSLOG
      tls versions 1.3
      key-establishment-group X25519MLKEM768:ecdh_x25519:secp256r1
      cipher v1.3 TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
      certificate ceos1-both-client.pem key ceos1-both-client.key
      trust certificate radsec-ca.pem

SYSLOG allows classical fallback groups. On EOS 4.37.0F, the switch offers hybrid KEX and the collector selects X25519MLKEM768.

Service binding (EOS)

logging vrf MGMT host 172.20.127.53 6514 protocol tls ssl-profile SYSLOG
logging vrf MGMT host 2001:db8:127::53 6514 protocol tls ssl-profile SYSLOG

Rendered templates use ${SYSLOG_SERVER_IPV4} and ${SYSLOG_SERVER_IPV6} placeholders.

Peer - syslog-ng collector

Built from docker/syslog/Dockerfile. TLS listener in configs/syslog/syslog-ng.conf:

source s_tls {
    network(
        ip("::")
        ip-protocol(6)
        port(6514)
        max-connections(32)
        transport("tls")
        tls(
            key-file("/etc/syslog-ng/certs/server.key")
            cert-file("/etc/syslog-ng/certs/server.pem")
            ca-file("/etc/syslog-ng/certs/ca.pem")
            peer-verify(optional-untrusted)
        )
    );
};

OpenSSL policy via OPENSSL_CONF=/etc/syslog-ng/openssl-pqc.cnf (docker/syslog/openssl-pqc.cnf):

Groups = X25519MLKEM768:secp256r1:X25519:ffdhe2048
CipherString = TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256
MinProtocol = TLSv1.3
MaxProtocol = TLSv1.3

Cleartext UDP/TCP 514 is disabled - only TLS 6514 listens.

Caveats

Topic Status on EOS
Config Profile lists X25519MLKEM768 first
Live wire (EOS → collector) PQC-safe - X25519MLKEM768 on all three switches over IPv4 + IPv6 (4.37.0F)
Live wire (probe → collector) PQC-safe when using PQC OpenSSL

Hybrid negotiation verified; fallback remains configured

On 4.37.0F, EOS-to-collector connections negotiate X25519MLKEM768 on all three switches over IPv4 and IPv6.

Both peers still allow classical fallback. The measured sessions are PQC-safe, but this configuration does not enforce hybrid-only negotiation. Tightening the policy requires separate configuration changes and testing.

Connection limit

syslog-ng defaults to max-connections(10) in some builds; the lab template sets 32. Each switch opens persistent TLS sessions to IPv4 and IPv6 collectors (two sessions per switch × three switches ≈ 6 slots). Leave headroom for probes and health checks.

Verification

Configuration

docker exec -i arista-quantum-safe-ceos2-pqc Cli <<'EOF'
enable
show logging
show management security ssl profile SYSLOG detail
EOF
docker exec arista-quantum-safe-syslog netstat -ltn | grep 6514
docker exec arista-quantum-safe-syslog openssl list -tls-groups | grep X25519MLKEM768

Live PQC handshake (collector-side)

From the test-runner probe client (matches make test-syslog):

docker exec arista-quantum-safe-test-runner sh -c \
  'OPENSSL_CONF=/etc/probe/openssl-pqc.cnf \
   openssl s_client -connect 172.20.127.53:6514 -servername syslog -tls1_3 \
   -groups X25519MLKEM768 \
   -CAfile /etc/probe/certs/ca.pem -brief </dev/null 2>&1' \
  | grep -E 'Protocol|Negotiated TLS1.3 group'

Wire capture (EOS → collector)

EOS keeps long-lived sessions - bounce logging hosts to force a new handshake:

# Terminal A - on Docker host (mgmt bridge); stop capture after reconnect
tcpdump -i mgmt-bridge -n -s 0 -w /tmp/syslog-tls.pcap 'tcp port 6514'

# Terminal B - bounce logging on a switch
docker exec -i arista-quantum-safe-ceos2-pqc Cli <<'EOF'
enable
configure
no logging vrf MGMT host 172.20.127.53 6514 protocol tls ssl-profile SYSLOG
no logging vrf MGMT host 2001:db8:127::53 6514 protocol tls ssl-profile SYSLOG
logging vrf MGMT host 172.20.127.53 6514 protocol tls ssl-profile SYSLOG
logging vrf MGMT host 2001:db8:127::53 6514 protocol tls ssl-profile SYSLOG
end
EOF

Decode with tshark (install in syslog container if needed):

docker cp /tmp/syslog-tls.pcap arista-quantum-safe-syslog:/tmp/syslog-tls.pcap
docker exec arista-quantum-safe-syslog tshark -r /tmp/syslog-tls.pcap \
  -Y 'tls.handshake.type == 2 && tcp.srcport == 6514' \
  -T fields -e tls.handshake.extensions_key_share_group \
  2>/dev/null | head

Expect selected group 4588 (X25519MLKEM768) on 4.37.0F - see Syslog tests for recorded wire KEX.

Automated: make test-syslog (15 passed in the recorded run: delivery, collector probes, and six hybrid wire checks; WARN if a future capture shows classical KEX).

See Syslog tests.

Other remarks

There are no other remarks.

<- Services overview