Hi,

On 16/04/15 02:18, Giuseppe Scrivano wrote:
Hi Aníbal,

Aníbal Limón <[email protected]> writes:

Hi guys,

I noticed that wget only support domain names entries into no_proxy
env-var, i think will be good to
add support for IPs and IP ranges.

I reviewed the code and i think can be added to
src/retr.c:no_proxy_match , that will be resolv
the host to IP if the no_proxy variable contains an IP and then
validate if match.

It would be a change that could add?, Comments?
I agree with you, do you already have in mind how the interface for the
users to specify the ranges should look?

Now i wrote the func to validate the subnet addrees and it look like,

Common subnets but not restricted to: 10.0.0.0/8, 172.16.0.0/16, 192.168.1.0/24

I'm writing the func to validate if an IP is part of subnet, i don't know if i can use a code done by Paul Vixie that exist in a PostgreSQL inet ADT, a couple years ago i made a shared lib of that code
 [1].

[1] https://github.com/alimon/pgsql_inet

Regards,
Giuseppe


Cheers,
    alimon

Reply via email to