On Wed, Mar 03, 2010 at 04:41:49PM -0600, Jason Marble wrote:
> Is there any easy way to identify which script or service is
> connecting to the Asterisk manager? Somewhere on my system a script or
> service is trying to connect with a bad user name or password. I get
> the following error: connect attempt from '127.0.0.1' unable to
> authenticate
> 
> I thought maybe I could do a tcpdump on port 5038 and try to fish out
> the bad username or password but I wasn't able to see any passwords or
> usernames in plain text.
> 
> Any way I could maybe change the logging in Asterisk to show me the
> username that is not able to authenticate?

If you can capture the connection attempt in time, use:

  netstat -ntp

-- 
               Tzafrir Cohen
icq#16849755              jabber:[email protected]
+972-50-7952406           mailto:[email protected]
http://www.xorcom.com  iax:[email protected]/tzafrir

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to