Re: pkg_add and make via tor?

2008-08-03 Thread Giancarlo Razzolini
macintoshzoom escreveu:
> I need an alternative to the default system fetch ftp used by pkg_add,
> something that could be socksified via dsocks, or that accepts to run
> through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
> newsocksifiableftp", and that understands
> ${FETCH_CMD} -o - url (as per man pkg_add)
>
> Any one had success here?
>
> I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
> server (tor).
> (dsocks-torify.sh ftp don't work)
>
> Can you help me?
>
> Thanks.
>
> Mac
>
>
>   
I think the most non disturbing way, that doesn't affect when you want
to use pkg_add directly, is to install a proxyfing program, like dante
then, configure it to use tor and call pkg_add trough it. This way, you
don't have to mess with anything else.

My regards,

-- 
Giancarlo Razzolini
http://lock.razzolini.adm.br
Linux User 172199
Red Hat Certified Engineer no:804006389722501
Verify:https://www.redhat.com/certification/rhce/current/
Moleque Sem Conteudo Numero #002
OpenBSD Stable
Ubuntu 8.04 Hardy Heron
4386 2A6F FFD4 4D5F 5842  6EA0 7ABE BBAB 9C0E 6B85



Re: pkg_add and make via tor?

2008-08-03 Thread Hendrik Cornelißen
Hmm, forgot to add list.

macintoshzoom <[EMAIL PROTECTED]>, 20080802:185921:
> I need an alternative to the default system fetch ftp used by pkg_add,
> something that could be socksified via dsocks, or that accepts to run
> through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
> newsocksifiableftp", and that understands
> ${FETCH_CMD} -o - url (as per man pkg_add)
> 
> Any one had success here?
> 
> I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
> server (tor).
> (dsocks-torify.sh ftp don't work)
> 
> Can you help me?
> 
> Thanks.
> 
> Mac

machine$ grep FETCH_CMD /etc/mk.conf
FETCH_CMD="/usr/local/bin/ports-fetcher"
machine$ grep -A2 package_add .profile
package_add () {
sudo sh -c "env FETCH_CMD=/usr/local/bin/ports-fetcher 
PKG_PATH='http://YOUR_PKG_PATH/' pkg_add $*";
};
machine$ cat /usr/local/bin/ports-fetcher
#!/bin/sh
exec env http_proxy=http://127.0.0.1:8118/ https_proxy=http://127.0.0.1:8118/ 
ftp $*
machine$ grep -E '(forward-socks4a|listen-address)' /etc/privoxy/config
forward-socks4a / 127.0.0.1:9050 .
listen-address 127.0.0.1:8118
machine$


Hendrik

-- 
: There's nothing 23 can't solve.  Or any other number. :
: <[EMAIL PROTECTED]> http://www.patchworklady.de/ :
: TJiND/lVovg5Z8M/noZMwwo24FDwsj8lwk1zrAfzFms2silHvuCo :



Re: pkg_add and make via tor?

2008-08-03 Thread Stuart Henderson
On 2008/08/03 06:21, macintoshzoom wrote:
> Hi,
> 
> Stuart Henderson wrote:
> > On 2008-08-02, macintoshzoom <[EMAIL PROTECTED]> wrote:
> >> I need an alternative to the default system fetch ftp used by pkg_add,
> >> something that could be socksified via dsocks, or that accepts to run
> >> through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
> >> newsocksifiableftp", and that understands
> >> ${FETCH_CMD} -o - url (as per man pkg_add)
> >>
> >> Any one had success here?
> > 
> > For normal pkg_add, try curl.
> > 
> >> I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
> >> server (tor).
> > 
> > But iirc, you won't be able to pkg_add -u with curl.
> 
> This is a must, I need pkg_add -u via tor.
> ..?

Well, then you're probably the person in the world who's
the most motivated to find a way to do it :-)



Re: pkg_add and make via tor?

2008-08-03 Thread macintoshzoom
Hi,

Stuart Henderson wrote:
> On 2008-08-02, macintoshzoom <[EMAIL PROTECTED]> wrote:
>> I need an alternative to the default system fetch ftp used by pkg_add,
>> something that could be socksified via dsocks, or that accepts to run
>> through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
>> newsocksifiableftp", and that understands
>> ${FETCH_CMD} -o - url (as per man pkg_add)
>>
>> Any one had success here?
> 
> For normal pkg_add, try curl.
> 
>> I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
>> server (tor).
> 
> But iirc, you won't be able to pkg_add -u with curl.

This is a must, I need pkg_add -u via tor.
..?
> 
> Not sure what's up with ftp(1). First time I tried it, making a
> transfer via the ftp CLI, connecting through ssh -D1080 / dsocks,
> it transferred a file through socks, but then hanged at the end.
> If I try again, it just connects directly. Very odd...



Re: pkg_add and make via tor?

2008-08-02 Thread Stuart Henderson
On 2008-08-02, macintoshzoom <[EMAIL PROTECTED]> wrote:
> I need an alternative to the default system fetch ftp used by pkg_add,
> something that could be socksified via dsocks, or that accepts to run
> through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
> newsocksifiableftp", and that understands
> ${FETCH_CMD} -o - url (as per man pkg_add)
>
> Any one had success here?

For normal pkg_add, try curl.

> I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
> server (tor).

But iirc, you won't be able to pkg_add -u with curl.

Not sure what's up with ftp(1). First time I tried it, making a
transfer via the ftp CLI, connecting through ssh -D1080 / dsocks,
it transferred a file through socks, but then hanged at the end.
If I try again, it just connects directly. Very odd...



pkg_add and make via tor?

2008-08-02 Thread macintoshzoom
I need an alternative to the default system fetch ftp used by pkg_add,
something that could be socksified via dsocks, or that accepts to run
through a socks server, e.g. FETCH_CMD="dsocks-torify.sh
newsocksifiableftp", and that understands
${FETCH_CMD} -o - url (as per man pkg_add)

Any one had success here?

I want to run pkg_add -u routed via my (only) exit socks 4a/5 proxy
server (tor).
(dsocks-torify.sh ftp don't work)

Can you help me?

Thanks.

Mac