Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage & Proxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Child_of_Sun
n00b
n00b


Joined: 25 May 2004
Posts: 11
Location: Germany

PostPosted: Sun Jun 13, 2004 10:54 am    Post subject: Portage & Proxy Reply with quote

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(88)
>>> 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
View user's profile Send private message
gen2fox
Guru
Guru


Joined: 25 May 2004
Posts: 544

PostPosted: Sun Jun 13, 2004 11:13 am    Post subject: Reply with quote

Did you try "emerge-webrsync" ?
Back to top
View user's profile Send private message
Child_of_Sun
n00b
n00b


Joined: 25 May 2004
Posts: 11
Location: Germany

PostPosted: Sun Jun 13, 2004 11:21 am    Post subject: Reply with quote

No, i would try it. But what can solve the problem that emerge can't download ?
Thanks

CoS
Back to top
View user's profile Send private message
think4urs11
Bodhisattva
Bodhisattva


Joined: 25 Jun 2003
Posts: 6659
Location: above the cloud

PostPosted: Sun Jun 13, 2004 11:44 am    Post subject: Reply with quote

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
View user's profile Send private message
Child_of_Sun
n00b
n00b


Joined: 25 May 2004
Posts: 11
Location: Germany

PostPosted: Sun Jun 13, 2004 2:27 pm    Post subject: Reply with quote

Ok thanks, i will try it later, not now. I will post the result later.

CoS
Back to top
View user's profile Send private message
Child_of_Sun
n00b
n00b


Joined: 25 May 2004
Posts: 11
Location: Germany

PostPosted: Sun Jun 13, 2004 10:17 pm    Post subject: Reply with quote

Ok, i give up, i will make it with nat again, without a Proxy.
Thanks to all, for your help.

CoS
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Mon Jun 14, 2004 12:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum