You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
My proxy it's with simple backend in a Google Cloud. When i try to connect to my port 22 (it's another real port) return a message error in my console
"Connection to IPADDRESS closed by remote host.
Connection to IPADDRESS closed."
2022-06-24T12:05:34.775116Z [-] Connection to honeypot backend refused: Couldn't bind: 24: Too many open files.. Disconnecting frontend...
2022-06-24T12:05:34.777213Z [FrontendSSHTransport,2183,10.128.0.8] Unhandled Error
Traceback (most recent call last):
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/application/app.py", line 304, in runReactorWithLogging
reactor.run()
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/internet/base.py", line 1315, in run
self.mainLoop()
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/internet/base.py", line 1328, in mainLoop
reactorBaseSelf.doIteration(t)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/internet/epollreactor.py", line 244, in doPoll
log.callWithLogger(selectable, _drdw, selectable, fd, event)
--- <exception caught here> ---
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/python/log.py", line 96, in callWithLogger
return callWithContext({"system": lp}, func, *args, **kw)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/python/log.py", line 80, in callWithContext
return context.call({ILogContext: newCtx}, func, *args, **kw)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/python/context.py", line 117, in callWithContext
return self.currentContext().callWithContext(ctx, func, *args, **kw)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/python/context.py", line 82, in callWithContext
return func(*args, **kw)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/internet/posixbase.py", line 696, in _doReadOrWrite
self._disconnectSelectable(selectable, why, inRead)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/internet/posixbase.py", line 300, in _disconnectSelectable
selectable.connectionLost(f)
File "/home/cowrie/cowrie/cowrie-env/lib/python3.9/site-packages/twisted/internet/tcp.py", line 326, in connectionLost
protocol.connectionLost(reason)
File "/home/cowrie/cowrie/src/cowrie/ssh_proxy/server_transport.py", line 367, in connectionLost
if self.sshParse.client and self.sshParse.client.transport:
builtins.AttributeError: 'SSH' object has no attribute 'client'
Then we see a lot of connection lost in log
`2022-06-24T12:05:34.805140Z [cowrie.ssh_proxy.server_transport.FrontendSSHTransport#info] connection lost
2022-06-24T12:05:34.805203Z [FrontendSSHTransport,2174,10.128.0.8] Connection lost after 0 seconds
2022-06-24T12:05:34.805689Z [BackendSSHTransport,client] Lost connection with the proxy's backend: None:None
2022-06-24T12:05:34.805838Z [cowrie.ssh_proxy.client_transport.BackendSSHFactory#info] Stopping factory <cowrie.ssh_proxy.client_transport.BackendSSHFactory object at 0x7f9f9d892610>
Anyone have idea how fix it?
The text was updated successfully, but these errors were encountered:
Describe the bug
My proxy it's with simple backend in a Google Cloud. When i try to connect to my port 22 (it's another real port) return a message error in my console
"Connection to IPADDRESS closed by remote host.
Connection to IPADDRESS closed."
When open the log we see this one more time:
Then we see a lot of connection lost in log
Anyone have idea how fix it?
The text was updated successfully, but these errors were encountered: