Update tcprelay.py
one time auth fail should be return
This commit is contained in:
parent
f7afcd4df0
commit
8e8ee5d490
1 changed files with 1 additions and 0 deletions
|
@ -339,6 +339,7 @@ class TCPRelayHandler(object):
|
|||
if onetimeauth_verify(_hash, _data, key) is False:
|
||||
logging.warn('one time auth fail')
|
||||
self.destroy()
|
||||
return
|
||||
header_length += ONETIMEAUTH_BYTES
|
||||
self._remote_address = (common.to_str(remote_addr), remote_port)
|
||||
# pause reading
|
||||
|
|
Loading…
Reference in a new issue