tnich/honssh

Unhandled Error:

Closed this issue · 2 comments

What steps will reproduce the problem?
Not quite sure, it appears to be intermittent.
Its occurring during connections from different attackers but, not on every 
connection. The only common denominator is that all of the instances where this 
occurs, the attack is coming from a Chinese based IP address.

What is the expected output?
Not seeing these errors? :P

What do you see instead?
    Traceback (most recent call last):
      File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 84, in callWithLogger
        return callWithContext({"system": lp}, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/log.py", line 69, in callWithContext
        return context.call({ILogContext: newCtx}, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 118, in callWithContext
        return self.currentContext().callWithContext(ctx, func, *args, **kw)
      File "/usr/lib/python2.7/dist-packages/twisted/python/context.py", line 81, in callWithContext
        return func(*args,**kw)
    --- <exception caught here> ---
      File "/usr/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 586, in _doReadOrWrite
        why = selectable.doRead()
      File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 199, in doRead
        rval = self.protocol.dataReceived(data)
      File "/usr/lib/python2.7/dist-packages/twisted/conch/ssh/transport.py", line 438, in dataReceived
        self.dispatchMessage(messageNum, packet[1:])
      File "/opt/honssh/honssh/server.py", line 216, in dispatchMessage
        self.client.sendPacket(messageNum, payload)
    exceptions.AttributeError: HonsshServerTransport instance has no attribute 'client'


What version of the product are you using?
46d8a98155cc

On what operating system?
Ubuntu server 12.04


Please provide any additional information below.
I've added a log file containing all the errors.
I might be wrong but, i think we saw this error before?
Left me know if you want the adv-logs as well.

//Are

Original issue reported on code.google.com by are@bifrozt.com on 10 Aug 2014 at 1:15

Original comment by are@bifrozt.com on 10 Aug 2014 at 1:15

Attachments:

Think I have just deleted the function that was causing some of those errors, 
as for the 'instance has no attribute 'client'' I'll have to think.

Original comment by tnn...@googlemail.com on 2 Sep 2014 at 1:16

  • Changed state: Done