2 ms·You block a MITM attack with public key cryptography. Port knocking is not meant to stop MITM attacks.by cortesoft 7y agoYou block a MITM attack with public key cryptography. Port knocking is not meant to stop MITM attacks.