Skip to content

Instantly share code, notes, and snippets.

@denibertovic
Created April 8, 2014 12:06
Show Gist options
  • Save denibertovic/10115040 to your computer and use it in GitHub Desktop.
Save denibertovic/10115040 to your computer and use it in GitHub Desktop.
Heartbleed
# 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