Поставил себе Slackware 12.0 и slapt-get впридачу.
А вот теперь не могу найти как заставить его ходить через прокси.
Помогите знающие, пожалуйста.
Как заставить "slapt-get" ходить через прокси?
Модератор: Модераторы разделов
-
ReSeR
- Сообщения: 383
- ОС: GNU Debian
Как заставить "slapt-get" ходить через прокси?
Бэкап - акт проявления трусости.
-
(asper
- Бывший модератор
- Сообщения: 1661
- Статус: nano vi sed awk !
- ОС: Работает как часы !
Re: Как заставить "slapt-get" ходить через прокси?
Сомнительно доброе привидение
-
robur
- Сообщения: 4
- ОС: Slackware 12.0
Re: Как заставить "slapt-get" ходить через прокси?
Все! Задолбался! Не часто задаю вопросы, но прийдется. Да простят меня модераторы, если не туда вопрос влепил.
Суть:
И-нет сети раздает Squid 3.0.stable6, Slackware 12.1, менеджер пакетов - slapt-get. Не могу достучаться по ftp до ftp://ftp.slackware.com/. Через Firefox и KGet доступ к ftp есть, файлы качаются.
Куски squid.conf
Подозреваю,хотя и не уверен, что нужно ковырять в squid.conf. Дома, без прокси, slapt-get работает без проблем.
Вот такие вот пироги.
Суть:
И-нет сети раздает Squid 3.0.stable6, Slackware 12.1, менеджер пакетов - slapt-get. Не могу достучаться по ftp до ftp://ftp.slackware.com/. Через Firefox и KGet доступ к ftp есть, файлы качаются.
Код: Выделить всё
#export http_proxy=http://192.168.8.1:8080
#export ftp_proxy=ftp://192.168.8.1:8080
(как вариант "# export ftp_proxy=ftp://192.168.8.1:8080"
"# export ftp_proxy=ftp://192.168.8.1:2121"
"# export ftp_proxy=http://192.168.8.1:2121"
"# export ftp_proxy=http://192.168.8.1:8080")
# slapt-get -update
...шибка regex на [PACKAGE NAME: zoo-2.10-i486-1.tgz
]шибка regex на [PACKAGE NAME: zsh-4.3.6-i486-1.tgz
Не могу обработать данные пакета ftp://ftp.slackware.com/pub/slackware/slackware-12.1/
Получение данных о пакете [http://software.jaos.org/slackpacks/12.1/]...Сохранено
Получение списка патчей [http://software.jaos.org/slackpacks/12.1/]...Сохранено
Получение контрольной суммы [http://software.jaos.org/slackpacks/12.1/]...Сохранено
Получение контрольной суммы [http://software.jaos.org/slackpacks/12.1/]...Сохранено..."Куски squid.conf
Код: Выделить всё
acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
#
acl maxim src 192.168.8.7
acl others src 192.168.8.0/24
#acl SSL_ports port 5190
#acl SSl_ports port 5222
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
extension_methods REPORT MERGE MKACTIVITY CHECKOUT...
...
# OPTIONS FOR FTP GATEWAYING
# -----------------------------------------------------------------------------
# TAG: ftp_user
# If you want the anonymous login password to be more informative
# (and enable the use of picky ftp servers), set this to something
# reasonable for your domain, like wwwuser@somewhere.net
#
# The reason why this is domainless by default is the
# request can be made on the behalf of a user in any domain,
# depending on how the cache is used.
# Some ftp server also validate the email address is valid
# (for example perl.com).
#
#Default:
ftp_user anonymous@
# TAG: ftp_list_width
# Sets the width of ftp listings. This should be set to fit in
# the width of a standard browser. Setting this too small
# can cut off long filenames when browsing ftp sites.
#
#Default:
ftp_list_width 32
# TAG: ftp_passive
# If your firewall does not allow Squid to use passive
# connections, turn off this option.
#
#Default:
ftp_passive on
# TAG: ftp_sanitycheck
# For security and data integrity reasons Squid by default performs
# sanity checks of the addresses of FTP data connections ensure the
# data connection is to the requested server. If you need to allow
# FTP connections to servers using another IP address for the data
# connection turn this off.
#
#Default:
ftp_sanitycheck on
# TAG: ftp_telnet_protocol
# The FTP protocol is officially defined to use the telnet protocol
# as transport channel for the control connection. However, many
# implementations are broken and does not respect this aspect of
# the FTP protocol.
#
# If you have trouble accessing files with ASCII code 255 in the
# path or similar problems involving this ASCII code you can
# try setting this directive to off. If that helps, report to the
# operator of the FTP server in question that their FTP server
# is broken and does not follow the FTP standard.
#
#Default:
# ftp_telnet_protocol on...Подозреваю,хотя и не уверен, что нужно ковырять в squid.conf. Дома, без прокси, slapt-get работает без проблем.
Вот такие вот пироги.
-
robur
- Сообщения: 4
- ОС: Slackware 12.0
Re: Как заставить "slapt-get" ходить через прокси?
Не мытьем, так катаньем. Прописал зеркала и с них обновляюсь. Хотя периодически загрузка определенных файлов перывается.
-
arkhnchul
- Сообщения: 2284
- Статус: Толчковый инженер
- ОС: Debian, Fedora
Re: Как заставить "slapt-get" ходить через прокси?
#export ftp_proxy=ftp://192.168.8.1:8080
ненене.
#export ftp_proxy=http://192.168.8.1:8080
Losing is fun!