BOINC Autoproxy configuration

Message boards : Questions and problems : BOINC Autoproxy configuration
Message board moderation

To post messages, you must log in.

AuthorMessage
Kevin Reed

Send message
Joined: 16 Jan 08
Posts: 5
United States
Message 77747 - Posted: 4 May 2017, 13:49:49 UTC
Last modified: 4 May 2017, 13:50:48 UTC

Greetings,

We have a partner who is looking at deploying the client internally to support us. However, they use proxy autoconfiguration scripts in order to inform computer which proxies they should be using.

The BOINC client has code that appears to support this feature here: https://github.com/BOINC/boinc/blob/master/client/sysmon_win.cpp (see the windows_detect_autoproxy_settings method).

Our partner is running into some issues getting it to work and unfortunately we do not have an environment that uses autoproxies to test in order to figure the steps required. Is there someone who has had success getting this to work that would be willing to help solve this issue?

Thanks!
Kevin Reed
(admin at WCG)
ID: 77747 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 77748 - Posted: 4 May 2017, 13:57:19 UTC - in response to Message 77747.  
Last modified: 4 May 2017, 13:58:16 UTC

Do they use the proxy_info option in cc_config.xml? https://boinc.berkeley.edu/wiki/Client_configuration#Options
<proxy_info>
    [ <http_server_name></http_server_name> ]
    [ <http_server_port>80</http_server_port> ]
    [ <http_user_name></http_user_name> ]
    [ <http_user_passwd></http_user_passwd> ]
    [ <socks_version>5</socks_version> ]
    [ <socks_server_name></socks_server_name> ]
    [ <socks_server_port>80</socks_server_port> ]
    [ <socks5_user_name></socks5_user_name> ]
    [ <socks5_user_passwd></socks5_user_passwd> ]
    [ <socks5_remote_dns>0|1</socks5_remote_dns> ] 
    [ <no_proxy>list of hostnames for which proxy not used</no_proxy> ]
    [ <no_autodetect>0|1</no_autodetect> ] 
</proxy_info>

And do they use a 7.7. client? I see the code you point to is in master, so it won't be yet in any of the 7.6 clients.
ID: 77748 · Report as offensive
ChristianB
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 321
Germany
Message 77753 - Posted: 5 May 2017, 10:39:22 UTC

The only change that 7.6.33 does not have is the no_autodetect option. The cc_config options won't help as they are hardcoding the proxy and don't trigger autodetection.
ID: 77753 · Report as offensive
Kevin Reed

Send message
Joined: 16 Jan 08
Posts: 5
United States
Message 77756 - Posted: 5 May 2017, 13:28:08 UTC - in response to Message 77753.  

Sorry for the delay in responding, I wanted to get the exact configurations that they were using before I responded.

They are using version 7.6.33 of the client. They are using the following in their cc_config.xml file. Based on this discussion, should they remove the proxy_info section?

<options>
<abort_jobs_on_exit>0</abort_jobs_on_exit>
<allow_multiple_clients>0</allow_multiple_clients>
<allow_remote_gui_rpc>0</allow_remote_gui_rpc>
<client_version_check_url>
http://www.worldcommunitygrid.org/download_all.php?xml=1
</client_version_check_url>
<client_new_version_text/>
<client_download_url>
http://www.worldcommunitygrid.org/reg/ms/viewdownloadagain.do
</client_download_url>
<disallow_attach>0</disallow_attach>
<dont_check_file_sizes>0</dont_check_file_sizes>
<dont_contact_ref_site>0</dont_contact_ref_site>
<lower_client_priority>0</lower_client_priority>
<dont_suspend_nci>0</dont_suspend_nci>
<dont_use_vbox>0</dont_use_vbox>
<exit_after_finish>0</exit_after_finish>
<exit_before_start>0</exit_before_start>
<exit_when_idle>0</exit_when_idle>
<fetch_minimal_work>0</fetch_minimal_work>
<fetch_on_update>0</fetch_on_update>
<force_auth>default</force_auth>
<http_1_0>0</http_1_0>
<http_transfer_timeout>300</http_transfer_timeout>
<http_transfer_timeout_bps>10</http_transfer_timeout_bps>
<max_event_log_lines>2000</max_event_log_lines>
<max_file_xfers>8</max_file_xfers>
<max_file_xfers_per_project>2</max_file_xfers_per_project>
<max_stderr_file_size>0</max_stderr_file_size>
<max_stdout_file_size>0</max_stdout_file_size>
<max_tasks_reported>0</max_tasks_reported>
<ncpus>-1</ncpus>
<network_test_url>http://www.ibm.com</network_test_url>
<no_alt_platform>0</no_alt_platform>
<no_gpus>0</no_gpus>
<no_info_fetch>0</no_info_fetch>
<no_opencl>0</no_opencl>
<no_priority_change>0</no_priority_change>
<os_random_only>0</os_random_only>
<process_priority>-1</process_priority>
<process_priority_special>-1</process_priority_special>
<proxy_info>
<socks_server_name/>
<socks_server_port>80</socks_server_port>
<http_server_name/>
<http_server_port>80</http_server_port>
<socks5_user_name/>
<socks5_user_passwd/>
<http_user_name/>
<http_user_passwd/>
<no_proxy/>
</proxy_info>
<rec_half_life_days>10.000000</rec_half_life_days>
<report_results_immediately>0</report_results_immediately>
<run_apps_manually>0</run_apps_manually>
<save_stats_days>30</save_stats_days>
<skip_cpu_benchmarks>0</skip_cpu_benchmarks>
<simple_gui_only>0</simple_gui_only>
<start_delay>0.000000</start_delay>
<stderr_head>0</stderr_head>
<suppress_net_info>0</suppress_net_info>
<unsigned_apps_ok>0</unsigned_apps_ok>
<use_all_gpus>0</use_all_gpus>
<use_certs>0</use_certs>
<use_certs_only>0</use_certs_only>
<vbox_window>0</vbox_window>
</options>
ID: 77756 · Report as offensive

Message boards : Questions and problems : BOINC Autoproxy configuration

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.