Added simple ip filtering to fix #2848

This filtering will do regular expression matches so when searching for
absolute ip addresses, a dollar sign will be required to terminate the
string.

Change-Id: Ib5748d22d723279df31911e787239cc34f2f19fc