Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
RSYNC behind Firewall
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
geoaxis
n00b
n00b


Joined: 08 Aug 2003
Posts: 72
Location: Abbottabad,Pakistan

PostPosted: Wed Mar 30, 2005 5:06 am    Post subject: RSYNC behind Firewall Reply with quote

I did search but not exhaustive..partly cause i dont have the understanding of Squid.

Can some one point me out a detailed setup for allowing gentoo rsync behind firewall.

i know its port 873 and needs to be added in Access Control List(?) of Squid ..But how. My NET Admin says that he has added my address in access list but i cannot rync . Its giving me Error. i ll post the Error . But meanwhile the information on setting up server for rsync is surely not highly accessible if not totally missing 8O
_________________
geoaxis
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Wed Mar 30, 2005 7:43 am    Post subject: Reply with quote

What is it exactly that you want? If you just want to sync your local portage tree with a mirror there's no firewall issue AFAIK. It should work right away:
Code:
emerge --sync
If, on the other hand, you want to setup an rsync mirror you should consult the Gentoo docs http://www.gentoo.org/doc/en/rsync.xml
Back to top
View user's profile Send private message
geoaxis
n00b
n00b


Joined: 08 Aug 2003
Posts: 72
Location: Abbottabad,Pakistan

PostPosted: Wed Mar 30, 2005 8:04 am    Post subject: Let me make the PROBLEM clear Reply with quote

Perhaps i wasn't clear. I am using internet via proxy and thE server admin is using SQUID for proxy configuration.the proxy server is at
Code:
192.168.100.13:8080

i have used it to do http and ftp transfers by export HTTP_PROXY and FTP_PROXY variables. I have also exported RSYNC_PROXY variable but its not working even after the admin says that rsync port is open and bounded with SQUID. So essentaily he has NOT been able the server to allow RSYNC to be proxied. i wanted to get a detailed howto for my net admin on how to configure RSYNC_PROXY on Squid. so he can cross check if has misssed any step

untill RSYNC_PROXY is not enabled I cannot do an emerge --sync. I really dont like emerge-webrsync

Code:
Generated Wed, 30 Mar 2005 08:07:06 GMT by johndoe (squid/2.5.STABLE1)


i have looked but havent found any HOW TO yet :(
_________________
geoaxis
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Wed Mar 30, 2005 2:14 pm    Post subject: Reply with quote

Aha. So you don't have an open Internet connection, meaning you can only visit pages that are allowed by your proxy? Sounds like a problem to me...
Back to top
View user's profile Send private message
Helena
Veteran
Veteran


Joined: 02 Apr 2003
Posts: 1114
Location: Den Dolder, The Netherlands

PostPosted: Wed Mar 30, 2005 2:22 pm    Post subject: Reply with quote

One advantage, however, could be that your proxy server becomes an rsync local mirror, as described in https://forums.gentoo.org/viewtopic-t-59134.html or https://forums.gentoo.org/viewtopic-t-173226.html. Just search in the Gentoo Forum using the keywords "rsync mirror proxy" for more information. I haven't used these methods myself however.
Back to top
View user's profile Send private message
mpsii
l33t
l33t


Joined: 11 Mar 2003
Posts: 658
Location: Jackson, TN

PostPosted: Wed Mar 30, 2005 2:32 pm    Post subject: Reply with quote

if you are using the http_proxy and ftp_proxy variables, why not try:
Code:
# emerge-webrsync
This will download the latest snapshot from the mirror (with md5sum to check), un-bz2-tar it and then sync from the temp area. It might take a while, depending on your connection and your mirror, but it works.
_________________
-----------------------------------------
Michael
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3942
Location: Hamburg

PostPosted: Wed Mar 30, 2005 3:39 pm    Post subject: Reply with quote

mpsii wrote:
if you are using the http_proxy and ftp_proxy variables, why not try:
Code:
# emerge-webrsync
This will download the latest snapshot from the mirror (with md5sum to check), un-bz2-tar it and then sync from the temp area. It might take a while, depending on your connection and your mirror, but it works.
This is sometimes the only way behind a proxy, but the download size will be nearly 120 MB.
Back to top
View user's profile Send private message
geoaxis
n00b
n00b


Joined: 08 Aug 2003
Posts: 72
Location: Abbottabad,Pakistan

PostPosted: Wed Mar 30, 2005 6:57 pm    Post subject: emereg-webrsync Reply with quote

EMERGE-WEBRSYNC ...I dont like it cause it takes alot of time

its size is around 18 mb (atleast thats the size of portage snapshot but uncompresses to a big time dir)

i am still looking for HOWTO on emerge-sync ..come on guys ..i know it can be done easily
_________________
geoaxis
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