Created
April 8, 2014 12:06
-
-
Save denibertovic/10115040 to your computer and use it in GitHub Desktop.
Heartbleed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# After you update openssl you need to restart all services that depend on it | |
# So that they load the new library | |
# We could just reboot the server but that's not really an option | |
# Here's how you find out what services are using the old version | |
sudo grep -l 'libssl.*deleted' /proc/*/maps | tr -cd 0-9\\n | xargs -r ps u | |
# No go and restart all those services so you are secure again | |
# tnx to 'petern_' on freenode for this very helpful one-liner |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment