18F / domain-scan

A lightweight pipeline, locally or in Lambda, for scanning things like HTTPS, third party service use, and web accessibility.
Other
369 stars 139 forks source link

Add fast cache support for trustymail #289

Closed jsf9k closed 5 years ago

jsf9k commented 5 years ago

This pull request adds fast cache support for the trustymail scanner. This is used to cache the SMTP/STARTTLS test results by mail server and port. This is useful because in many cases multiple domains will use identical mail servers, and testing them multiple times is more likely to trigger defenses and lead to poor results.

jsf9k commented 5 years ago

dnspython should be added to one of the requirements*.txt files, but I'm not sure which one. It is used by the part of scanners/trustymail.py that is run on the host (not in AWS Lambda).