jdrowell/jdresolve — pull request #1 by tonin (2012-03-28 17:13:37+00:00)
Title: Better IP mask regexp

Hi,

I spotted a bug in jdresolve when asked to look for IP anywhere inside the log line. Some User-Agent identifying strings can be wrongly catch as if they were IP addresses. DNS requests failing later on and leaving jdresolve in some deadlocks without available sockets at some point.

I've changed the IPmask variable to a more robust regex so that this doesn't happen.

I'd be happy if you could integrate inside your main tree, if you still happen to maintain this, useful, piece of software.

Cheers!