Skip to content

Improve warning message for Rejected authentication attempts #68671

Closed

Description

@ptitdoc

I receive a lot of warning messages when a minion is outdated (1 every minute):

salt-master[579023]: [WARNING ] Rejected authentication attempt using protocol version 2 (minimum required: 3)

It makes sense as the minion is really outdated, however, it would be nice to improve the message to see which minion is affected.

I suggest modifying channel/server.py (handle_message()) in order to print out the minion id:

        minimum_version = self.opts.get("minimum_auth_version", 0)
        if minimum_version > 0 and version < minimum_version:
            log.warning(
                "Rejected authentication attempt from minion %s using protocol version %d "
                "(minimum required: %d)",
                payload["load"].get("id","unknown minion"),
                version,
                minimum_version,
            )
            raise tornado.gen.Return("bad load")
[WARNING ] Rejected authentication attempt from osint.xxx.local using protocol version 2 (minimum required: 3)

Now I understand better whats going on.

Activity

  1. changed the title [-]Improve warning mesage for Rejected authentication attempts[/-] [+]Improve warning message for Rejected authentication attempts[/+] on Feb 2, 2026
  2. Actork commented on Feb 5, 2026

    @Actork

    +1

  3. added a commit that references this issue on Feb 9, 2026
    ffa8c40
  4. added a commit that references this issue on Mar 17, 2026
    c18215a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions