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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.

            Assignee:
            Félix Belzunce Arcos
            Reporter:
            Amit Dar
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: