Thread 'BOINC does not honor proxy settings'

Message boards : BOINC client : BOINC does not honor proxy settings
Message board moderation

To post messages, you must log in.

AuthorMessage
Dan Johansson

Send message
Joined: 28 Jun 07
Posts: 2
Message 11381 - Posted: 29 Jun 2007, 9:38:16 UTC

Hallo,

I'm having a problem with my BOINC client (Linux, v. 5.8.15). The Client does not honor my http-proxy settings and tries to connect directly to the seti-servers.

I've set the proxy like this:
boinc_cmd --set_proxy_settings proxy 8080 "" "" "" 80 5 "" ""

And I see the change in client_state.xml
---------------8<----------------
proxy_info>
<socks_version>5</socks_version>
<socks_server_name></socks_server_name>
<socks_server_port>80</socks_server_port>
<http_server_name>proxy</http_server_name>
<http_server_port>8080</http_server_port>
<socks5_user_name></socks5_user_name>
<socks5_user_passwd></socks5_user_passwd>
<http_user_name></http_user_name>
<http_user_passwd></http_user_passwd>
</proxy_info>
---------------8<----------------
But --get_proxy_setting returns nothing, and I can see in my Firewall logs that the client is trying to directly connect to the seti-servers when I try to attach to SETI

boinc_cmd --project_attach http://setiathome.berkeley.edu xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Firewall log:
---------------8<----------------
Jun 29 11:27:44 mspsan01p Shorewall:all2all:REJECT:IN= OUT=eth0 SRC=10.238.156.46 DST=128.32.18.152 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=48616 DF PROTO=TCP SPT=39615 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0
Jun 29 11:27:44 mspsan01p Shorewall:all2all:REJECT:IN= OUT=eth0 SRC=10.238.156.46 DST=208.68.240.11 LEN=60 TOS=0x00 PREC=0x00 TTL=64 ID=40310 DF PROTO=TCP SPT=46869 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0
---------------8<----------------

Any suggestions on what I'm doing wrong?

--Dan
ID: 11381 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 11461 - Posted: 3 Jul 2007, 10:42:02 UTC - in response to Message 11381.  

Any suggestions on what I'm doing wrong?

--Dan


Hi Dan
Its not so much what you're doing wrong, as to what's missing.
You need to get <use_http_proxy/> into the proxy config portion of client_state.xml

like so:
<proxy_info>
<use_http_proxy/>
<socks_version>5</socks_version>
<socks_server_name></socks_server_name>
<socks_server_port>80</socks_server_port>
<http_server_name>proxy</http_server_name>
<http_server_port>8080</http_server_port>
<socks5_user_name></socks5_user_name>
<socks5_user_passwd></socks5_user_passwd>
<http_user_name></http_user_name>
<http_user_passwd></http_user_passwd>
</proxy_info>

You can either add it manually to client_state.xml file (make sure to exit BOINC process first), or connect via the GUI and tick the necessary part of the http proxy config option.

Off hand, I'm not sure if it can be enabled or disabled via boinc_cmd...
ID: 11461 · Report as offensive
Dan Johansson

Send message
Joined: 28 Jun 07
Posts: 2
Message 11507 - Posted: 4 Jul 2007, 7:24:05 UTC

Thanks, that was it.

--Dan
ID: 11507 · Report as offensive
Chris Sutton

Send message
Joined: 29 Aug 05
Posts: 117
Message 11514 - Posted: 4 Jul 2007, 14:05:51 UTC - in response to Message 11507.  

Thanks, that was it.

You are welcome.
Wish all the problems were that easy to solve. :)
ID: 11514 · Report as offensive

Message boards : BOINC client : BOINC does not honor proxy settings

Copyright © 2025 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.