Add word 'request' to forwarding log message

This commit is contained in:
Michel Oosterhof 2017-08-20 10:04:17 +04:00
parent 61ad4ef3c2
commit f1f90a70d1
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class FakeForwardingChannel(forwarding.SSHConnectForwardingChannel):
"""
"""
log.msg(eventid='cowrie.direct-tcpip.data',
format='direct-tcp forward to %(dst_ip)s:%(dst_port)s with data %(data)s',
format='direct-tcp forward request to %(dst_ip)s:%(dst_port)s with data %(data)s',
dst_ip=self.hostport[0], dst_port=self.hostport[1], data=repr(data))
self._close("Connection refused")