Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-5771

In the logs add remote IP address in case of authentication failure

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 5.9.0
    • 5.12.0
    • Broker
    • None
    • All

    Description

      • In case of authentication failure, ActiveMQ currently logs something like:
        2015-02-27 13:56:59,740 [ActiveMQ NIO Worker 7126] WARN Service - Security Error occurred: User name [_________] or password is invalid.
        
      • In order to find the culprit client, it would be very useful to add the remote IP address (and port) used while authenticating.
      • Currently we see that the timeout warnings do log such information:
         [InactivityMonitor Async Task: java.util.concurrent.ThreadPoolExecutor$Worker@4182d5fc[State = -1, empty queue]] WARN Transport - Transport Connection to: tcp://130.120.110.33:39338 failed: org.apache.activemq.transport.InactivityIOException: Channel was inactive for too (>3600000) long: tcp://130.120.110.33:39338
        

      Attachments

        Activity

          People

            Unassigned Unassigned
            jaysensharma Jay SenSharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: