https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6338
--- Comment #4 from Mark Martinec <[email protected]> 2010-02-18 17:09:04 UTC --- > Doesn't this just change the query and not check it is valid on return? > Or is the return check already done elsewhere? It is checked by existing code in poll_responses: it tries to associate a 'signature' (i.e. $self->_packet_id($packet) ) of a received reply with a 'signature' of a transmitted query, they must match exactly. If they do not, we end up with a "dns: no callback for id:" message. This 'signature' is constructed in _packet_id() by concatenating the: id, query-string, type, and class. (The port number matching is done by the Net::DNS and a network layer). The 'signature' of a query section in a reply packet must match exactly (no case-insensitivity) to the query section of the transmitted request. The query-string (e.g. a case-permuted host name) is thus an integral part of the matching, any changes in case of its letters would break the match. -- Configure bugmail: https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
