I was just reading about the Heartbleed attack and I found it really interesting. A server is vulnerable if it's using
1.0.1 through 1.0.1f (inclusive). So obviously a way to counter this attack is to update OpenSSL to a safe version.
I wrote a Python code that detects if a server is victim of a Heartbleed attack. I was wondering if it was possible to write some code, in Python per say, in order to, not just to detect the attack but to prevent it. I.e when I use my Python detection tool, I have another algorithm that takes appropriate measures when it know that it is under attack to counter the attack.
Could anyone help me with that ??
Thank you very much.