Allow Cipher and Digest "none".
This is for backwards compatibility with tinc 1.0, it has no effect on the SPTPS protocol.
This commit is contained in:
parent
666718998e
commit
b0d80c7f28
4 changed files with 83 additions and 22 deletions
|
|
@ -378,7 +378,7 @@ static void receive_udppacket(node_t *n, vpn_packet_t *inpkt) {
|
|||
return;
|
||||
}
|
||||
|
||||
if(!cipher_active(n->incipher)) {
|
||||
if(!n->status.validkey) {
|
||||
logger(DEBUG_TRAFFIC, LOG_DEBUG, "Got packet from %s (%s) but he hasn't got our key yet", n->name, n->hostname);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue