You are not logged in.

#1 2005-11-15 10:38:33

MaceM
Member
From: Austria
Registered: 2003-11-26
Posts: 47

pacman/wget through ftp proxy with user@site auth(tis fwtk?)

hi
i'm trying to upgrade arch at work.
in debian i had to configure apt like this:

 ftp
  {
    Proxy "ftp://<user>:<pass>@proxy_ip";

    /* Required script to perform proxy login. This example should work
       for tisfwtk */
    ProxyLogin
    {
       "user $(PROXY_USER)";
       "pass $(PROXY_PASS)";
       "user $(SITE_USER)@$(SITE)";
       "pass $(SITE_PASS)";
    };

    Timeout "120";
    /* Passive mode control, proxy, non-proxy and per-host. Pasv mode
       is prefered if possible */
    Passive "false";
  };

i exported http_proxy and ftp_proxy env. vars.
and told pacman to use wget (the default XferCommand in pacman.conf)
of course pacman/wget can't get anything through the proxy because of the missing user@site auth.

any chance i can get something similar to work with pacman/wget?

TIA

Offline

#2 2005-11-15 11:31:12

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: pacman/wget through ftp proxy with user@site auth(tis fwtk?)

There are a few threads on this - did you try a search? Basically you need to create/edit your wgetrc file, as per this thread, for example.

Offline

#3 2005-11-15 12:06:29

MaceM
Member
From: Austria
Registered: 2003-11-26
Posts: 47

Re: pacman/wget through ftp proxy with user@site auth(tis fwtk?)

sry, i forgot to mention. normal http proxy-ing is working. but there is some kind of pop-up virus scanner implemented, i only get the pop-up HTML code when i try to use it with wget.
the ftp proxy is more like a a gateway i guess.

Offline

Board footer

Powered by FluxBB