Match no_proxy on last "n" characters of host domain instead of total length

Questions and Answers : Wish list : Match no_proxy on last "n" characters of host domain instead of total length
Message board moderation

To post messages, you must log in.

AuthorMessage
Darrell Wilcox Project Donor
Volunteer tester

Send message
Joined: 11 Nov 99
Posts: 303
Credit: 180,954,940
RAC: 118
Vietnam
Message 1997910 - Posted: 12 Jun 2019, 10:25:47 UTC

Way back when I started to support SETI, there was one-and-only-one server. (I'm an old bit of flatulence.)

When BOINC was developed, the code in URL.CPP was written to extract the URL, the string between the "//" and the next "/", as it should.

The cc_config.xml supports proxy definitions, including the ability to exclude certain "host domains" from using a proxy. It works good with
a single server.

The rub is that many projects now have many servers that may be used, and the "no_proxy" list currently is an exact match of the URL. And
supporting many projects that can't or don't use a proxy is a headache as well.

I wish the HTTP_CURL.CPP module compared only the -last (length of extracted argument from no_host) characters- of the URL. Then a generic
"don't use a proxy for *.name.HLD" would work for multiple servers, and automatically exclude any additional servers as well.
ID: 1997910 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 1997911 - Posted: 12 Jun 2019, 10:36:29 UTC - in response to Message 1997910.  

Forwarded to development as Client: generalize proxy management in cc_config.xml (GitHub issue # 3182)
ID: 1997911 · Report as offensive

Questions and Answers : Wish list : Match no_proxy on last "n" characters of host domain instead of total length


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.