# ServerStreamDriverAuthMode

Accepts a stream driver authentication mode string, but imdiag always uses the plain TCP driver so the value has no effect.

This parameter applies to imdiag: Diagnostic instrumentation.

Name:

  ServerStreamDriverAuthMode

Scope:

  input

Type:

  string

Default:

  input=none

Required?:

  no

Introduced:

  at least 5.x, possibly earlier

## Description

Selects the authentication mode for the active network stream driver. imdiag always uses the plain TCP driver (`ptcp`) and therefore lacks TLS or other authenticated stream implementations. The value is accepted for compatibility with the generic TCP listener framework but is ignored by the `ptcp` driver.

Configure this parameter before ServerRun if you need forward compatibility with a future build that supports alternate stream drivers. In current releases the setting does not change listener behavior.

## Input usage

    module(load="imdiag")
    input(type="imdiag"
          listenPortFileName="/var/run/rsyslog/imdiag.port"
          serverStreamDriverAuthMode="anon"
          serverRun="19998")

### Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

- $IMDiagServerStreamDriverAuthMode — maps to ServerStreamDriverAuthMode (status: legacy)

## See also

See also imdiag: Diagnostic instrumentation.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.