Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-76220

add source ip or host name to log on authentication failure.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • any jenkins version.
      any os version.
      any active directory plugin version.

      we encountered a situation in our jenkins environment where an agent is trying to connect to the controller using the swarm plugin.

      in order to do so, the node is using username with password or a specific token, but they are wrong.

      our problem - we cannot disable the user since other nodes are also using it to connect.

      we see hundreds of failures to authenticate inthe jenkins controller log, but we don't know what is their source.

      we rather not use a sniffer (like wireshark) to try and find the source for this problem (the source node which made the request), so we ask if it is possible to add the source ip or source host name to the log right next to the bad credentials exception.

       

      the attachment contains the log messge on the controller where we want the extra information about the failed login.

            fbelzunc Félix Belzunce Arcos
            amidar Amit Dar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: