View previous topic :: View next topic |
Author |
Message |
Child_of_Sun n00b

Joined: 25 May 2004 Posts: 11 Location: Germany
|
Posted: Sun Jun 13, 2004 10:54 am Post subject: Portage & Proxy |
|
|
Hi @all
I have got the following Problem :
I use Squid on the Router as Proxy Server, and can acces the Internet via Konquerer without Problems from the Client but when i use emerge sync it would give me the following error :
>>> starting rsync with rsync://134.68.220.74/gentoo-portage...
>>> checking server timestamp ...
bad response from proxy - HTTP/1.0 500 Unable to connect
rsync: failed to connect to 192.168.0.1: Success
rsync error: error in socket IO (code 10) at clientserver.c(8
>>> retry ...
If i try to install Software it would hang and time out with portage.
I have set the PROXY Variable and the RSYNC_PROXY variable in my /etc/make.conf but it won't work.
With the Forum-Search i have found nothing which would help me. On the Router i can Sync and Install Software.
Thanks for your help.
CoS |
|
Back to top |
|
 |
gen2fox Guru


Joined: 25 May 2004 Posts: 544
|
Posted: Sun Jun 13, 2004 11:13 am Post subject: |
|
|
Did you try "emerge-webrsync" ? |
|
Back to top |
|
 |
Child_of_Sun n00b

Joined: 25 May 2004 Posts: 11 Location: Germany
|
Posted: Sun Jun 13, 2004 11:21 am Post subject: |
|
|
No, i would try it. But what can solve the problem that emerge can't download ?
Thanks
CoS |
|
Back to top |
|
 |
think4urs11 Bodhisattva


Joined: 25 Jun 2003 Posts: 6659 Location: above the cloud
|
Posted: Sun Jun 13, 2004 11:44 am Post subject: |
|
|
Hi!
Does your squid support the CONNECT method?
You need to have something like this in your squid.conf:
Code: | ...
acl SSL_ports port 443 563 873 5190
...
acl Safe_ports port 873 # rsync
acl purge method PURGE
acl CONNECT method CONNECT
...
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
... |
HTH
T. _________________ Nothing is secure / Security is always a trade-off with usability / Do not assume anything / Trust no-one, nothing / Paranoia is your friend / Think for yourself |
|
Back to top |
|
 |
Child_of_Sun n00b

Joined: 25 May 2004 Posts: 11 Location: Germany
|
Posted: Sun Jun 13, 2004 2:27 pm Post subject: |
|
|
Ok thanks, i will try it later, not now. I will post the result later.
CoS |
|
Back to top |
|
 |
Child_of_Sun n00b

Joined: 25 May 2004 Posts: 11 Location: Germany
|
Posted: Sun Jun 13, 2004 10:17 pm Post subject: |
|
|
Ok, i give up, i will make it with nat again, without a Proxy.
Thanks to all, for your help.
CoS |
|
Back to top |
|
 |
irf2003 Veteran

Joined: 10 Sep 2003 Posts: 1078
|
Posted: Mon Jun 14, 2004 12:56 am Post subject: |
|
|
Child_of_Sun wrote: | No, i would try it. But what can solve the problem that emerge can't download ?
Thanks
CoS |
emerge uses wget so i would put something like that in my /etc/wget/wgetrc file
Code: |
http_proxy = http://134.68.220.74:8080/
ftp_proxy = http://134.68.220.74:8080/
use_proxy = on
|
please change 8080 to the port on which your proxy is serving
hth |
|
Back to top |
|
 |
|