Re: cvs commit: squid3/lib rfc1035.c

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sat, 7 May 2005 13:09:42 +0200 (CEST)

On Fri, 6 May 2005 wessels@squid-cache.org wrote:

> wessels 2005/05/06 15:54:50 MDT
>
> Modified files:
> lib rfc1035.c
> Log:
> Use a random query ID in our DNS messages
>
> Revision Changes Path
> 1.37 +2 -4 squid3/lib/rfc1035.c

Good idea, but there is one flaw in the change. You also need to ensure
the generated random ID is unique and hasn't been used in some
considerable amount of time.. if not there will be a high risk for
conflict between two queries.

Another realted issue. Today we ignore the query component of responses.
Perhaps we should verify the response is to the correct query, not only
query id?

Regards
Henrik
Received on Sat May 07 2005 - 05:09:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 31 2005 - 12:00:03 MDT