Created
April 15, 2017 00:08
-
-
Save florin-andrei-curbside/62f1cdd20d3c6c3aeafa124b5aa16639 to your computer and use it in GitHub Desktop.
openvpn: check recent ok / failed logins
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
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