Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save florin-andrei-curbside/62f1cdd20d3c6c3aeafa124b5aa16639 to your computer and use it in GitHub Desktop.
Save florin-andrei-curbside/62f1cdd20d3c6c3aeafa124b5aa16639 to your computer and use it in GitHub Desktop.
openvpn: check recent ok / failed logins
grep "CRL CHECK OK" /var/log/daemon.log | grep -v curbside.in_CA | awk -F "CN=" '{print $2}' | cut -d / -f 1
grep "CRL CHECK FAILED" /var/log/daemon.log | grep -v curbside.in_CA | awk -F "CN=" '{print $2}' | cut -d / -f 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment