diff --git a/_modules/index.html b/_modules/index.html index 81976e8..8cbfe83 100644 --- a/_modules/index.html +++ b/_modules/index.html @@ -94,7 +94,7 @@
-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/_modules/parsedmarc.html b/_modules/parsedmarc.html index 0d60742..19ddbc8 100644 --- a/_modules/parsedmarc.html +++ b/_modules/parsedmarc.html @@ -335,7 +335,9 @@ "email"].split("@")[-1] org_name = report_metadata["org_name"] if org_name is not None and " " not in org_name: - org_name = get_base_domain(org_name) + new_org_name = get_base_domain(org_name) + if new_org_name is not None: + org_name = new_org_name new_report_metadata["org_name"] = org_name new_report_metadata["org_email"] = report_metadata["email"] extra = None @@ -348,6 +350,10 @@ "").replace(">", "").split("@")[0] new_report_metadata["report_id"] = report_id date_range = report["report_metadata"]["date_range"] + if (int(date_range["end"]) - int(date_range["begin"]) > 2*86400): + raise InvalidAggregateReport("The begin and end fields span too \ + many hours, should be max 24 hours \ + according to RFC 7489 section 7.2") date_range["begin"] = timestamp_to_human(date_range["begin"]) date_range["end"] = timestamp_to_human(date_range["end"]) new_report_metadata["begin_date"] = date_range["begin"] @@ -1543,7 +1549,7 @@
-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/_modules/parsedmarc/elastic.html b/_modules/parsedmarc/elastic.html index 893d7d4..60e858e 100644 --- a/_modules/parsedmarc/elastic.html +++ b/_modules/parsedmarc/elastic.html @@ -639,7 +639,7 @@
-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/_modules/parsedmarc/splunk.html b/_modules/parsedmarc/splunk.html index 6e39dab..9243aad 100644 --- a/_modules/parsedmarc/splunk.html +++ b/_modules/parsedmarc/splunk.html @@ -250,7 +250,7 @@
-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/_modules/parsedmarc/utils.html b/_modules/parsedmarc/utils.html index d51dc79..c1a02b3 100644 --- a/_modules/parsedmarc/utils.html +++ b/_modules/parsedmarc/utils.html @@ -646,7 +646,7 @@
-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/_sources/elasticsearch.md.txt b/_sources/elasticsearch.md.txt index 1c38f1e..856cf09 100644 --- a/_sources/elasticsearch.md.txt +++ b/_sources/elasticsearch.md.txt @@ -29,7 +29,7 @@ which will cause it to crash under a heavy load. To fix this, increase the minimum and maximum JVM heap sizes in `/etc/elasticsearch/jvm.options` to more reasonable levels, depending on your server's resources. -Make sure the system has at least 2 GB more RAM then the assigned JVM +Make sure the system has at least 2 GB more RAM than the assigned JVM heap size. Always set the minimum and maximum JVM heap sizes to the same @@ -180,7 +180,7 @@ sudo systemctl restart elasticsearch Now that Elasticsearch is up and running, use `parsedmarc` to send data to it. -Download (right click the link and click save as) [export.ndjson]. +Download (right-click the link and click save as) [export.ndjson]. Connect to kibana using the "elastic" user and the password you previously provide on the console ("End Kibana configuration" part). @@ -219,7 +219,7 @@ Kibana index patterns with versions that match the upgraded indexes: index patterns 4. Click Delete 5. Click Delete on the conformation message -6. Download (right click the link and click save as) +6. Download (right-click the link and click save as) the latest version of [export.ndjson] 7. Import `export.ndjson` by clicking Import from the Kibana Saved Objects page diff --git a/_sources/installation.md.txt b/_sources/installation.md.txt index cea325d..c34abfd 100644 --- a/_sources/installation.md.txt +++ b/_sources/installation.md.txt @@ -28,8 +28,7 @@ https_proxy=https://prox-server:3128 ftp_proxy=http://prox-server:3128 ``` -This will set the the proxy up for use system-wide, including for -`parsedmarc`. +This will set the proxy up for use system-wide, including for `parsedmarc`. ::: :::{warning} @@ -49,7 +48,7 @@ Starting in `parsedmarc` 7.1.0, a static copy of the `parsedmarc`, under the terms of the [Creative Commons Attribution 4.0 International License]. as a fallback if the [MaxMind GeoLite2 Country database] is not -installed However, `parsedmarc` cannot install updated versions of +installed. However, `parsedmarc` cannot install updated versions of these databases as they are released, so MaxMind's databases and the [geoipupdate] tool is still the preferable solution. @@ -91,7 +90,7 @@ regulations][to comply with various privacy regulations]. Start by [registering for a free GeoLite2 account], and signing in. -Then, navigate the to the [License Keys] page under your account, +Then, navigate to the [License Keys] page under your account, and create a new license key for the version of `geoipupdate` that was installed. diff --git a/_sources/kibana.md.txt b/_sources/kibana.md.txt index 67c224e..bf2cf1a 100644 --- a/_sources/kibana.md.txt +++ b/_sources/kibana.md.txt @@ -6,7 +6,7 @@ results from incoming DMARC reports. :::{note} The default dashboard is DMARC Summary. To switch between dashboards, -click on the Dashboard link in the left side menu of Kibana. +click on the Dashboard link on the left side menu of Kibana. ::: ## DMARC Summary diff --git a/_sources/mailing-lists.md.txt b/_sources/mailing-lists.md.txt index ede5c8a..71b8975 100644 --- a/_sources/mailing-lists.md.txt +++ b/_sources/mailing-lists.md.txt @@ -6,7 +6,7 @@ list is spoofing your from address, and modifying the subject, footer, or other part of the message, thereby breaking the DKIM signature. -### Mailing list list best practices +### Mailing list best practices Ideally, a mailing list should forward messages without altering the headers or body content at all. [Joe Nelson] does a fantastic job of diff --git a/_sources/output.md.txt b/_sources/output.md.txt index 4838ed3..f676891 100644 --- a/_sources/output.md.txt +++ b/_sources/output.md.txt @@ -89,7 +89,7 @@ draft,acme.com,noreply-dmarc-support@acme.com,http://acme.com/dmarc/support,9391 ## Sample forensic report output -Thanks to Github user [xennn](https://github.com/xennn) for the anonymized +Thanks to GitHub user [xennn](https://github.com/xennn) for the anonymized [forensic report email sample](). ### JSON forensic report diff --git a/api.html b/api.html index b77bcc9..0024b49 100644 --- a/api.html +++ b/api.html @@ -1045,7 +1045,7 @@ with the given IPv4 or IPv6 address


-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/contributing.html b/contributing.html index b5fe68d..fd70334 100644 --- a/contributing.html +++ b/contributing.html @@ -107,7 +107,7 @@
-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/davmail.html b/davmail.html index 1861545..0b628b1 100644 --- a/davmail.html +++ b/davmail.html @@ -266,7 +266,7 @@ config file:


-

© Copyright 2018, Sean Whalen.

+

© Copyright 2018 - 2023, Sean Whalen and contributors.

Built with Sphinx using a diff --git a/dmarc.html b/dmarc.html index 4ab526e..35af80a 100644 --- a/dmarc.html +++ b/dmarc.html @@ -65,7 +65,7 @@
  • DMARC Alignment Guide
  • What if a sender won’t support DKIM/DMARC?
  • What about mailing lists?