On Monday 30 July 2001 15:30, Graham Leggett wrote:
> "Victor J. Orlikowski" wrote:
> > The dirconn_entry structure is tied to a lot of the functionality of
> > the proxy.  APR handles in_addr and in6_addr inside of the
> > apr_sockaddr_t structure, and these are referred to by a void *.
> >
> > Best we can hope for is to yank any direct mucking with in_addr
> > structures out, and use APR functions to do it (if the functionality
> > we desire is available).
>
> As I remember the only part of the proxy where any low level DNS magic
> was being used was the NoProxy option. Everything else uses APR calls
> and data hidden inside apr_sockaddr_t.
>
> NoProxy accepts IP address subranges like "192.168." - his needs to be
> changed so that it allows IPv6 subranges as well.
>
> Isn't there an APR function that can handle IP address subranges like
> this?

Yep.  :-)   apr_parse_addr_port.

Ryan

_____________________________________________________________________________
Ryan Bloom                              [EMAIL PROTECTED]
Covalent Technologies                   [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to