Re: tcp_outgoing_address based on other acl types

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 05 Feb 2007 21:36:49 +0100

tor 2007-02-01 klockan 16:21 -0300 skrev roney@portalinfocenter.com.br:
> Hi,
>
> I´d like to know if it would be possible/easy to make the directive
> tcp_outgoing_address work with other acl types than only src address?

Should be easy. Just fill in the temporary checklist with the missing
elements.. See getOutgoingAddr() in forward.c.

> It would be very interesting doing this, i.e, for url_regex and dstdomain
> acls...

Doesn't those work today? From what I can tell both those acls should
work fine in tcp_outgoing_address. But you may need to disable
server-side persistent connections..

Regards
Henrik

Received on Mon Feb 05 2007 - 13:36:56 MST

This archive was generated by hypermail pre-2.1.9 : Thu Mar 01 2007 - 12:00:02 MST