Closed RealSebFox closed 2 weeks ago
Here is an example of the mentioned distortion. I'm going to trace them back manually by exclusion and add filters to exclude the culprits for good. That is a tedious job. Such RFC-incompliant reports keep popping up.
Hello @seanthegeek,
Yesterday, I upgraded from 8.6.1 to 8.6.4 and the problem has returned.
It was broken with this change: https://github.com/domainaware/parsedmarc/blob/master/CHANGELOG.md#863.
Please make sure that invalid or broken reports are not sent to elasticsearch, because they are not RFC compliant and it distorts the timelines!
Thank you!
PS: I'm reverting to 8.6.2
Hello,
For me the problem is also back, graphs in Kibana are broken again after 8.6.3 because invalid reports get imported to ElasticSearch again.
@seanthegeek Can you please explain why the Exception has been changed to only an error? Is it possible to have an error and DON'T import the report to ElasticSearch? I don't care if it's an error or an exception, important is that invalid reports don't get imported into ElasticSearch.
Here a screenshot with broken graphs in Kibana. I selected "Last 1 month", but because some invalid reports did contain data of multiple month in a single report, it does not only show 1 month, but a graph starting in February:
Fixed in 8.15.4. Sorry about that.
Awesome. Thank you, @seanthegeek!
Thank you @seanthegeek ! I didn't try the new code (yet), but just from checking the new code I would say that it should be "_error" instead of "error" in line 522, so the correct error message is given to InvalidAggregateReport
? Or you rename the variable one line above to "error".
https://github.com/domainaware/parsedmarc/commit/52ccf0536c620c2ae144949f0a5312826477b3ef#r148355094
Yep. I fixed that a few minutes after that commit. Oops.
Yep. I fixed that a few minutes after that commit. Oops.
Ah, yes, I see. Thanks! 👍
We receive DMARC reports from Trustwave SEG with date ranges exceeding 24 hours. Sometimes they even cover multiple weeks, as in this example:
Date ranges excessively exceeding 24-48 hours make data look distorted in Kibana. Since https://datatracker.ietf.org/doc/html/rfc7489#section-7.2 clearly mentions that Visibility comes in the form of daily (or more frequent) Mail, it would probably be best to consider such reports "invalid".