Mallory SSL Unknown Protocol XMPP port 5222

156 views
Skip to first unread message

davea...@gmail.com

unread,
Apr 28, 2013, 3:38:19 PM4/28/13
to mallor...@googlegroups.com
I'm trying to use Mallory to debug some XMPP interfaces (port 5222) and am getting an error I can't resolve.

My initial test is simply Pidgin talking to Jabber.

Built on Ubuntu 12.04 with Python 2.7.3

         -------------------------------
[*] [2013-04-28 12:15:37,421] DEBUG:SSLProtocol: Initializing
[*] [2013-04-28 12:15:37,421] DEBUG:Mallory.main: created a <class 'protocol.sslproto.SSLProtocol'> class
[*] [2013-04-28 12:15:37,422] DEBUG:ConfigRules.getrules: <class Rule Debug All -- addr:* port:* proto:* direction:* payload:* passthru:False (<rule.Debug object at 0x29823d0>)>
[*] [2013-04-28 12:15:37,422] DEBUG:ConfigRules.getrules: client requested rules -  [<rule.Rule object at 0x29826d0>]
[*] [2013-04-28 12:15:37,423] DEBUG:SSLProto: configure_server_socket
[*] [2013-04-28 12:15:49,383] DEBUG:UDPProtocol[t]: Terminating thread for [53775](192.168.14.100,31069) No more data
[*] [2013-04-28 12:15:49,431] DEBUG:UDPProtocol[t]: Terminating thread for [51860](192.168.14.100,62377) No more data
[*] [2013-04-28 12:21:37,309] ERROR:main: error connecting to remote
Traceback (most recent call last):
  File "./mallory.py", line 450, in main
    protoinst.destination.connect((shost, int(sport)))
  File "/usr/lib/python2.7/ssl.py", line 331, in connect
    self._real_connect(addr, False)
  File "/usr/lib/python2.7/ssl.py", line 324, in _real_connect
    raise e
SSLError: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
(<class 'ssl.SSLError'>, SSLError(1, '_ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol'), <traceback object at 0x7fb610009710>)
        -------------------------------

Any help would be appreciated!


Reply all
Reply to author
Forward
0 new messages