On Mon 07/Oct/2024 22:10:40 +0200 Brotman, Alex wrote:
Hey folks,

I got a ticket to change the regex that is for the source IP in reports.  A few 
folks have been having a conversation in the PR, and thought we'd bring it to 
the list.

https://github.com/ietf-wg-dmarc/draft-ietf-dmarc-aggregate-reporting/pull/19

There are a couple of offerings to change, and questions about how 
specific/accurate it must be.  Thanks for your input


Let me repeat the point. Currently there is a dozen alternative regular expressions (that is, OR joined) which allow various styles of IP addresses, and we've been wondering whether 01.02.03.04 is valid (rather than 1.2.3.4) and similar trivialities.

However clever, then, those expressions will never exclude RFC 1918 and other addresses which are not valid or not useful in an aggregate report. And maybe there are still bugs that exclude valid ones. So, why don't we replace all that toilsome stuff with an easy one-liner:

    <xs:pattern value="[0-9a-fA-F.:]{2,45}"/>

(string of two to forty five hexadecimal numbers, dots and columns)?


Best
Ale
--



_______________________________________________
dmarc mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to