Archive for 'Software'

Verifying web server content with checksums

While setting up monit to monitor several services I support, I decided to look for an in-depth HTTP monitoring solution to compliment the monitoring capabilities provided by monit. To be more exact, I wanted to find a monitoring solution that would validate the authenticity of the content returned by a web server. Several monitoring solutions [...]

New version of ldap-stats.pl released

Peter Schober E-mailed me a set of strict mode patches for ldap-stats.pl, and I applied them and updated the script on my website. If you are using OpenLDAP and wish to get detailed server utilization reports, you might be interested in ldap-stats.pl. Thanks Peter for the rockin’ patches.

domain-check update

I received a few emails about domain-check not producing correct output for some domains. After some poking around, it looks like a few registrars don’t publish expiration data. To address this, I added an if statement to domain-check to print “Unknown” if it is unable to locate expiration data: $ cat domains prefetch.net ickfoo.org spotch.com [...]

ssl-cert-check update

Based on some feedback I received through email, I modified the ssl-cert-check “-f” option to allow it to process files in addition to hosts/ports: $ cat ssldomains prefetch.net 443 gmail.google.com 443 www.sun.com 443 /etc/ca/cacert.pem FILE $ ssl-cert-check -f ssldomains Host Status Expires Days Left ———————————————– ———— ———— ———- prefetch.net:443 Valid May 23 2006 51 gmail.google.com:443 [...]

Is a tty?

While reading some documentation today, I came across the libc isatty() and ttyname() functions. I was curious to see how they worked, so I decided to write a little test program: $ cat tty.c #include #include #include int main(int argc, char**argv) { if ( argc != 2) { printf(“Usage: tty fd\n”); exit(1); } int fd [...]

StartTLS support for ssl-cert-check

Marco Amrein sent me a StartTLS patch for ssl-cert-check this week. This nifty patch allows ssl-cert-check to query servers that setup the TLS connection after the initial protocol handshake, which can be helpful for checking the certificate expiration on SMTP and POP3 servers: $ ssl-cert-check -s mail.prefetch.net -p 25 Host Status Expires Days Left ———————————————– [...]

« Older Entries   Recent Entries »