Re: A few patches

From: Henrik Nordstrom <>
Date: Wed, 14 Mar 2007 11:51:50 +0100

tis 2007-03-13 klockan 14:50 +0900 skrev Steven:

> The second patch (transparent-dns-hint.patch) is designed to use the
> destination IP that the client was attempting to connect to as the server
> IP if DNS lookup fail (for a transparent request).


But can be significantly simplified. No need for the new
commConnectStart2 call, you could simply pass the numeric address to
commConnectStart on error. This also allows moving the flag from the fd
array to the request.

Related to this I'd like to seea generalized version, to never do DNS
lookups in transparent interception. This requires the cache key to be
changed to include the IP, but is quite acceptable in most setups.

Hmm.. an easy path to achieve this would be to extend the host name,
using for example the syntax hostname*ip.


Received on Wed Mar 14 2007 - 04:51:57 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Apr 01 2007 - 12:00:01 MDT