Wireshark-bugs: [Wireshark-bugs] [Bug 8483] DNS type SRV are displayed incorrectly

Date: Sat, 16 Mar 2013 17:55:19 +0000

changed bug 8483

What Removed Added
CC   [email protected]

Comment # 6 on bug 8483 from
(In reply to comment #3)
> (In reply to comment #2)
> > This is g_strsplit(name, ".", 3); doing its job in packet-dns.c. It starts
> > from the front and puts the remainder in the last string of the vector. I
> > can't really find the reverse of this function.
> 
> One way (possibly slow) would be to make use of g_strreverse a lot.

Why you want to reverse a string?

>From RFC 2782:
#v+
   Here is the format of the SRV RR, whose DNS type code is 33:

        _Service._Proto.Name TTL Class SRV Priority Weight Port Target

   Service
        The symbolic name of the desired service, as defined in Assigned
        Numbers [STD 2] or locally.  An underscore (_) is prepended to
        the service identifier to avoid collisions with DNS labels that
        occur in nature.

   ...
   Proto
        The symbolic name of the desired protocol, with an underscore
        (_) prepended to prevent collisions with DNS labels that occur
        in nature.
#v-

So what we probably want is to check if service name and proto starts with
underscore.


You are receiving this mail because:
  • You are watching all bug changes.