enable authentication validation
This commit is contained in:
parent
22a71f0f52
commit
db3b3cfc0f
@ -1138,7 +1138,7 @@ class IPSC(DatagramProtocol):
|
|||||||
# AUTHENTICATE THE PACKET
|
# AUTHENTICATE THE PACKET
|
||||||
if not self.validate_auth(self._local['AUTH_KEY'], data):
|
if not self.validate_auth(self._local['AUTH_KEY'], data):
|
||||||
logger.warning('(%s) AuthError: IPSC packet failed authentication. Type %s: Peer: %s, %s:%s', self._network, h(_packettype), int_id(_peerid), host, port)
|
logger.warning('(%s) AuthError: IPSC packet failed authentication. Type %s: Peer: %s, %s:%s', self._network, h(_packettype), int_id(_peerid), host, port)
|
||||||
# return
|
return
|
||||||
|
|
||||||
# REMOVE SHA-1 AUTHENTICATION HASH: WE NO LONGER NEED IT
|
# REMOVE SHA-1 AUTHENTICATION HASH: WE NO LONGER NEED IT
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user