* [Comm] rsync over proxy
@ 2004-12-20 16:04 Serge V Kompan
0 siblings, 0 replies; only message in thread
From: Serge V Kompan @ 2004-12-20 16:04 UTC (permalink / raw)
To: community
[root@s scripts]# rpm -q rsync
rsync-2.6.3-alt3
Создал переменные окружения:
для root делаю export и получаю:
declare -x ftp_proxy="http://10.6.8.20:8080"
declare -x http_proxy="http://10.6.8.20:8080"
declare -x RSYNC_PROXY="http://10.6.8.20:8080"
Запускаю:
rsync -vvtPL --stats --delete --size-only --force --ignore-errors \
--recursive rsync.altlinux.ru::ALTLinux/Sisyphus/i586/RPMS.classic/ /mnt/Repozitariy/
в squid.conf:
acl RSYNC_ports port 873 # rsync
acl CONNECT method CONNECT
http_access deny !Safe_ports !RSYNC_ports
http_access deny CONNECT !SSL_ports !Jabber_ports !RSYNC_ports
В результате выдает сообщение:
[root@s scripts]# ./rsync.sh
opening tcp connection to rsync.altlinux.ru port 873
connection via http proxy http port //10.6.8.
rsync: getaddrinfo: http //10.6.8.: Servname not supported for ai_socktype
rsync error: error in socket IO (code 10) at clientserver.c(95)
Как это лечить?
--
С уважением,
Serge
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-20 16:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-12-20 16:04 [Comm] rsync over proxy Serge V Kompan
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git