Messages via o365 seem to have a problem with this..

Jan 23 09:51:51.081 [1569369] dbg: check: tagrun - tag
RELAYSUNTRUSTEDREVIP is now ready, value:
ARY:[71.53.92.40,5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.0.0.2.8.0.6.9.0.1.3.0.6.2]
Jan 23 09:51:51.081 [1569369] dbg: check: tagrun - tag
RELAYSEXTERNALREVIP is now ready, value:
ARY:[71.53.92.40,5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.0.0.2.8.0.6.9.0.1.3.0.6.2]


Only the first element of the array is an IP Address, correct?
Makes is a little more difficult to do validation on it..

They are both IP addresses - in reverse byte order, suitable for
a DNS PTR lookup:

71.53.92.40 -> 40.92.53.71 (Microsoft)

5.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.4.0.0.0.2.8.0.6.9.0.1.3.0.6.2
  -> 2603:1096:0820:0040::5 (Microsoft)

SA::Util.pm:

# Given a quad-dotted IPv4 address or an IPv6 address, reverses the order
# of its bytes (IPv4) or nibbles (IPv6), joins them with dots, producing
# a string suitable for reverse DNS lookups. Returns undef in case of a
# syntactically invalid IP address.
#
sub reverse_ip_address {

Reply via email to