-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GCA Intern: Improve DMARC and SPF advice #22
base: main
Are you sure you want to change the base?
Conversation
Improved DMARC and SPF advice
Mapped 100% of the DMARC advisor's function with tests Cleaned up advice formatting
Hey @SeanM-temp, great first PR! Your DMARC improvements are appreciated; I used your PR as an opportunity to flesh out the existing DMARC tests :) Your SPF improvements are a good start, though I think the existing functionality can be improved (use the DMARC function as a starting point). Additionally, your "10 DNS lookup limit" advice is actually slightly misunderstood. This limit refers to the DNS lookups needed to validate the SPF record, not the quantity of keys found within the record. If you're able to improve this validation further, I'll happily merge this :) |
Added check and advice for DNS lookup limit and cyclic lookup.
Added recursive lookup to SPF advice
Thanks for the changes, @SeanM-temp! The existing separation of the |
-Merged Advisor and Scanner packages into Scanner package -Added MTA-STS scanning and advice -Added DNSSEC scanning -Improved STS advice
Hey @SeanM-temp, apologies that this hasn't been properly reviewed and/or merged yet! I intend to look over it soon :) |
# Conflicts: # cmd/dss/main.go # cmd/dss/scan.go # cmd/dss/serve.go # pkg/http/server.go # pkg/mail/server.go # pkg/mail/template.go # pkg/model/scan.go # pkg/scanner/requests.go # pkg/scanner/scanner.go
Adds additional checks for DMARC and SPF records.
DMARC
-Check for v=DMARC1
-Check for p= tag
-Verify akim and aspf values
SPF
-Warning for ptr mechanism
-Check for exceeding dns lookup limit