Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-13871

Event - 20481 printing localhost rather than IP address for sockname and peername

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Fix
    • Major
    • None
    • 4.0.0
    • memcached
    • Security Level: Public

    Description

      1) Execute the following command to generate event for Authentication fail to memcached.
      /opt/couchbase/bin/mcstat -u foo -P bar
      Execute the command from same box localhost
      172.23.107.65 against CB Server - 172.23.107.65 i.e. everything on the same host
      Verify ip address for peername and sockname.

      Expected Result should be to print the ip address rather than local host.
      IP for peername should be - 172.23.107.65
      IP for sockname should be - 172.23.107.65

      Actual Event:
      Event from audit.log – {u'sockname': u'127.0.0.1:11210', u'name': u'authentication failed', u'timestamp': u'2015-03-11T07:42:46.280-08:00', u'real_userid':

      {u'source': u'memcached', u'user': u'foo'}

      , u'peername': u'127.0.0.1:58783', u'reason': u'Unknown user', u'id': 20481, u'description': u'Authentication to the cluster failed'}

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            ritam.sharma Ritam Sharma
            ritam.sharma Ritam Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty