Details
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'peername': u'127.0.0.1:58783', u'reason': u'Unknown user', u'id': 20481, u'description': u'Authentication to the cluster failed'}