Discussion: Sanity checking externally-sourced aliases

Started by pfry, Today at 08:00:40 PM

Previous topic - Next topic
I've been considering ways to sanity check externally-sourced aliases - URL address lists in particular. There have been a few times when RBLs/DNSBLs have failed or been shut down in a less-than-friendly fashion; I see that as a risk for any external data source. Trust should be limited.

The problem, of course, is how to sanity check an address list. A few simpler options:
  • Communication failure
  • Entropy (changes since last load)
  • Block size (mask)
  • Reserved blocks (against another alias)
Actions could be block (entire update), filter (individual element, if appropriate), and/or alert. Alert options could be (e.g.) e-mail and/or SNMP trap. Blocked or filtered updates could be released by an admin.

Provide a diff; the diff would be between the current alias and the latest update, as I don't see how retaining intermediates would be useful (enough to bother). A count could be included in an e-mail alert; optionally, the diff itself, perhaps with a size limit (so you don't get your geoip db e-mailed to you).

So: opinion? (Bad idea? Good idea? Got a better idea?)