Categories
Tech

Android sends read receipts automatically

I was surprised recently when someone responded to a read-receipt showing when I had read one of their messages. Like many others, I turned off Outlook’s option to send read receipts automatically many years ago. Since I had just changed Exchange 2010 mail providers, I assumed that I had missed this option and simply needed […]

Categories
Tech

FVS338 dialup backup fails

If your Netgear FVS338 dialup backup is failing, you might have a firmware problem. Sometime after firmware 3.0.2-21 (and not fixed as of 3.0.7-24), the dialup interface connects and grabs an IP address – it even allows ping, traceroute, and DNS lookups from the FVS338 web interface – but it will not route any traffic […]

Categories
General

Apache: “couldn’t create child process: 720005”

If you installed Apache on Windows (I like WAMPServer myself) and you’re trying to run Perl scripts, you might encounter the dreaded Internal Server Error (500) and a cryptic entry in Apache’s error log: [Sat Jun 04 19:01:50 2011] [error] [client 127.0.0.1] (OS 2)The system cannot find the file specified. : couldn’t create child process: […]

Categories
Tech

Munin and High Loads

Munin, while a great monitoring tool, can be a little bit of a CPU hog. I had installed it awhile back and looked at the graphs just for fun now and then (I’m lucky, my servers are humming along pretty smoothly), but I started noticing load averages were measurably higher than they were before I […]

Categories
Tech

Google Hacking Me

Update: they haven’t done this in awhile now – maybe they stopped this behavior (October 2011). (original post follows) I know this is probably under the radar for most people, but Google, who says “do no evil” tries to hack web sites on a regular basis. Last night, Googlebot (more specifically the host “crawl-66-249-68-246.googlebot.com”) tried […]

Categories
Tech

Countering a Slow Loris Apache attack

Here is a poor man’s way to mitigate a slow loris attack. The DoS attack, not the fuzzy mammal with the poisonous elbows. If you’re reading this, hopefully you’ve searched and figured out what the slow loris attack is all about. You probably also run Apache 1.x or 2.x. I read about the antiloris module […]

Categories
Tech

tail and format Apache log files (Perl one-liner)

Here is a quick Perl one-liner that lets you tail an Apache log file and view nicely-formatted output: tail -f YOURDOMAIN_LOG_FILE | perl -ne ‘$|=1;my ($host,$date,$url,$status,$size,$referrer,$agent) = $_ =~ m/^(\S+) – – \[(\S+ [\-|\+]\d{4})\] “(\S+ \S+ [^”]+)” (\d{3}) (\d+|-) “(.*?)” “([^”]+)”$/;print $host . ” – ” . $date . ” – ” . $url .”\n”;’ […]

Categories
Tech

Add a guest subnet on your LAN

I have a private LAN here on a NetGear FVS338 VPN Firewall Router, with a couple of servers for internal use. Our wireless network is password-protected, and I hate giving out the password to people that want to use our wireless while they are visiting. Or I have to ask them to look away while […]

Categories
Tech

ZoneMinder Viewer Windows 7/Vista Gadget

EDIT: I’m tabling this for now. It works, but because Windows will only view sidebar gadgets using the IE rendering engine (instead of, say, Firefox), you can’t use mode=stream, you have to use mode=jpeg. This is OK but it leads to a *tremendous* number of mysql connections on the ZM server and I’m seeing higher […]

Categories
Tech

Run child perl script in the background

I had a situation where a parent Perl script (web-accessible, in cgi-bin) needed to call a long-running child Perl script that was outside cgi-bin. I wanted the parent to call the child and then exit immediately, allowing the parent script browser window to stop loading and the child to continue running in the background and […]