On Fri, 6 May 2005 [EMAIL PROTECTED] 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

Reply via email to