Re: gwget and tor?

2010-05-27 Thread emigrant
On Wed, 2010-05-26 at 09:40 -0400, Aplin, Justin M wrote:
 On 5/26/2010 7:39 AM, emigrant wrote:
  is there a way to use gwget with tor?
  most of the times i download a direct link in tor enabled firefox it
  stops in the middle despite the internet connection is good.
 
 I don't know about gwget, but plain wget supports http proxies, which 
 you can point at Polipo. If you're only going to need to do this every 
 once in a while, I'd pop open a terminal and do the following:
 HTTP_PROXY=127.0.0.1:8118  HTTPS_PROXY=127.0.0.1:8118  
 FTP_PROXY=127.0.0.1:8118
 export HTTP_PROXY  export HTTPS_PROXY  export FTP_PROXY
 wget your://url.to/download.here
 
 If that doesn't work for you, open your Polipo configuration file and 
 see what port it's set up to run on, and change the bit after the colon 
 in the environmental variables. Wget will pick up on the environmental 
 variables and should route your download through Tor. These settings 
 will only last until you either close the shell, or until you log out (I 
 forget which and can't make it to my linux box to check), so if you'll 
 be doing this a lot you can add the following lines to your .wgetrc file 
 to have them executed automatically:
 
 proxy = on
 HTTP_PROXY = 127.0.0.1:8118
 HTTPS_PROXY = 127.0.0.1:8118
 FTP_PROXY = 127.0.0.1:8118
 
 To resume an interrupted download, just add the -c option, like so:
 
 wget -c your://url.to/download.here
 
  thanks.
 
 
 
 Anytime =)
 
 ~japlin
 ***
 To unsubscribe, send an e-mail to majord...@torproject.org with
 unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


thank you very much for this,
i will try this way next time i download.
and thanks to Scott Bennett also.

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-27 Thread kr
Hi,

i'm using this little script for one-time wget downloads over privoxy 
tor in the terminal or as a download manager together with the
FlashGot Firefox extension:

#!/bin/dash

wget \
-e http_proxy=http://127.0.0.1:8118/ \
-e https_proxy=http://127.0.0.1:8118/ \
--tries=3 \
--no-dns-cache \
--inet4-only \
--directory-prefix=/opt/downloads \
--no-check-certificate \ *
--no-cookies \
--user-agent=Mozilla... \
--header=Accept:
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 \
--header=Accept-Language: en-us,en;q=0.5 \
--header=Accept-Encoding: gzip,deflate \
--header=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 \
$1

* depends on your needs - you can check certificates with the opposite
and further certificate options.

-- 
Ciao
Kai

http://kairaven.de/
Mail per I2P: http://www.i2p2.de/
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-27 Thread emigrant
On Thu, 2010-05-27 at 12:33 +, k...@i2pmail.org wrote:
 Hi,
 
 i'm using this little script for one-time wget downloads over privoxy 
 tor in the terminal or as a download manager together with the
 FlashGot Firefox extension:
 
 #!/bin/dash
 
 wget \
 -e http_proxy=http://127.0.0.1:8118/ \
 -e https_proxy=http://127.0.0.1:8118/ \
 --tries=3 \
 --no-dns-cache \
 --inet4-only \
 --directory-prefix=/opt/downloads \
 --no-check-certificate \ *
 --no-cookies \
 --user-agent=Mozilla... \
 --header=Accept:
 text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 \
 --header=Accept-Language: en-us,en;q=0.5 \
 --header=Accept-Encoding: gzip,deflate \
 --header=Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 \
 $1
 
 * depends on your needs - you can check certificates with the opposite
 and further certificate options.
 


thanks can you please explain how to use this?
and is it possible to make several downloads simultaniously?

thanks.

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-27 Thread kr
Hi,

 thanks can you please explain how to use this?

save as e. g. wget_anon (edit the user-agent header line or delete all
header lines), chmod 750 wget_anon and than $ wget_anon URL. Or with the
FlashGot extension (as an example):
Add- Name: wget_anon
Executable path: /path/wget_anon
Command line argument: [URL]

 and is it possible to make several downloads simultaniously?

as i said, i'm using it for a download of one file, but you can type
wget_anon URL1
wget_anon URL2 ...
or expand the variable or with FashGot you can click several files or
use the FlashGot All function to suck a whole webpage. Perhaps another
ml member has better or additional ideas :)

-- 
Ciao
Kai

http://kairaven.de/
Mail per I2P: http://www.i2p2.de/
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-27 Thread Michael Gomboc
And remember that the -c option in wget will only work if the server
supports that.

Man page:
*Note that -c only works with FTP servers and with HTTP servers that support
the Range header.*


2010/5/27 k...@i2pmail.org

 Hi,

  thanks can you please explain how to use this?

 save as e. g. wget_anon (edit the user-agent header line or delete all
 header lines), chmod 750 wget_anon and than $ wget_anon URL. Or with the
 FlashGot extension (as an example):
 Add- Name: wget_anon
 Executable path: /path/wget_anon
 Command line argument: [URL]

  and is it possible to make several downloads simultaniously?

 as i said, i'm using it for a download of one file, but you can type
 wget_anon URL1
 wget_anon URL2 ...
 or expand the variable or with FashGot you can click several files or
 use the FlashGot All function to suck a whole webpage. Perhaps another
 ml member has better or additional ideas :)

 --
 Ciao
 Kai

 http://kairaven.de/
 Mail per I2P: http://www.i2p2.de/
 ***
 To unsubscribe, send an e-mail to majord...@torproject.org with
 unsubscribe or-talkin the body. http://archives.seul.org/or/talk/




-- 
Michael Gomboc
www.viajando.at
pgp-id: 0x5D41FDF8


Re: gwget and tor?

2010-05-27 Thread Jim



Scott Bennett wrote:

 On Wed, 26 May 2010 09:40:29 -0400 Aplin, Justin M jmap...@ufl.edu
wrote:
I don't know about gwget, but plain wget supports http proxies, which 
you can point at Polipo. If you're only going to need to do this every 
once in a while, I'd pop open a terminal and do the following:
HTTP_PROXY=127.0.0.1:8118  HTTPS_PROXY=127.0.0.1:8118  
FTP_PROXY=127.0.0.1:8118

export HTTP_PROXY  export HTTPS_PROXY  export FTP_PROXY
wget your://url.to/download.here


 Once again, I strongly recommend that you set the *_proxy environment
variables to full URLs rather than to the abbreviated forms you've shown
above.  See fetch(3) in the man pages for details.


Hi Scott,

This is the second time I've seen you reference the fetch(3) man page,
so I thought maybe I should post.  I believe you run one of the BSDs.
Just FYI, I cannot find a fetch man page on my Linux systems.  I know
that several years ago when I was proxying Lynx I looked up this
information /somewhere/.  I thought it was in some man page but I cannot
find it now.  Maybe I pulled the info off the web? scratches head

Cheers,
Jim



***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-27 Thread Scott Bennett
 On Thu, 27 May 2010 12:49:26 -0600 Jim jimmy...@copper.net wrote:
Scott Bennett wrote:
  On Wed, 26 May 2010 09:40:29 -0400 Aplin, Justin M jmap...@ufl.edu
 wrote:
 I don't know about gwget, but plain wget supports http proxies, which 
 you can point at Polipo. If you're only going to need to do this every 
 once in a while, I'd pop open a terminal and do the following:
 HTTP_PROXY=127.0.0.1:8118  HTTPS_PROXY=127.0.0.1:8118  
 FTP_PROXY=127.0.0.1:8118
 export HTTP_PROXY  export HTTPS_PROXY  export FTP_PROXY
 wget your://url.to/download.here
 
  Once again, I strongly recommend that you set the *_proxy environment
 variables to full URLs rather than to the abbreviated forms you've shown
 above.  See fetch(3) in the man pages for details.

Hi Scott,

This is the second time I've seen you reference the fetch(3) man page,
so I thought maybe I should post.  I believe you run one of the BSDs.
Just FYI, I cannot find a fetch man page on my Linux systems.  I know
that several years ago when I was proxying Lynx I looked up this
information /somewhere/.  I thought it was in some man page but I cannot
find it now.  Maybe I pulled the info off the web? scratches head

http://www.freebsd.org/cgi/man.cgi?query=fetchapropos=0sektion=3manpath=FreeBSD+8.0-RELEASEformat=html


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


gwget and tor?

2010-05-26 Thread emigrant
is there a way to use gwget with tor?
most of the times i download a direct link in tor enabled firefox it
stops in the middle despite the internet connection is good.

thanks.

***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-26 Thread Aplin, Justin M

On 5/26/2010 7:39 AM, emigrant wrote:

is there a way to use gwget with tor?
most of the times i download a direct link in tor enabled firefox it
stops in the middle despite the internet connection is good.
   
I don't know about gwget, but plain wget supports http proxies, which 
you can point at Polipo. If you're only going to need to do this every 
once in a while, I'd pop open a terminal and do the following:
HTTP_PROXY=127.0.0.1:8118  HTTPS_PROXY=127.0.0.1:8118  
FTP_PROXY=127.0.0.1:8118

export HTTP_PROXY  export HTTPS_PROXY  export FTP_PROXY
wget your://url.to/download.here

If that doesn't work for you, open your Polipo configuration file and 
see what port it's set up to run on, and change the bit after the colon 
in the environmental variables. Wget will pick up on the environmental 
variables and should route your download through Tor. These settings 
will only last until you either close the shell, or until you log out (I 
forget which and can't make it to my linux box to check), so if you'll 
be doing this a lot you can add the following lines to your .wgetrc file 
to have them executed automatically:


proxy = on
HTTP_PROXY = 127.0.0.1:8118
HTTPS_PROXY = 127.0.0.1:8118
FTP_PROXY = 127.0.0.1:8118

To resume an interrupted download, just add the -c option, like so:

wget -c your://url.to/download.here


thanks.

   


Anytime =)

~japlin
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/


Re: gwget and tor?

2010-05-26 Thread Scott Bennett
 On Wed, 26 May 2010 09:40:29 -0400 Aplin, Justin M jmap...@ufl.edu
wrote:
On 5/26/2010 7:39 AM, emigrant wrote:
 is there a way to use gwget with tor?
 most of the times i download a direct link in tor enabled firefox it
 stops in the middle despite the internet connection is good.

I don't know about gwget, but plain wget supports http proxies, which 
you can point at Polipo. If you're only going to need to do this every 
once in a while, I'd pop open a terminal and do the following:
HTTP_PROXY=127.0.0.1:8118  HTTPS_PROXY=127.0.0.1:8118  
FTP_PROXY=127.0.0.1:8118
export HTTP_PROXY  export HTTPS_PROXY  export FTP_PROXY
wget your://url.to/download.here

 Once again, I strongly recommend that you set the *_proxy environment
variables to full URLs rather than to the abbreviated forms you've shown
above.  See fetch(3) in the man pages for details.

If that doesn't work for you, open your Polipo configuration file and 
see what port it's set up to run on, and change the bit after the colon 
in the environmental variables. Wget will pick up on the environmental 
variables and should route your download through Tor. These settings 
will only last until you either close the shell, or until you log out (I 
forget which and can't make it to my linux box to check), so if you'll 
be doing this a lot you can add the following lines to your .wgetrc file 
to have them executed automatically:

proxy = on
HTTP_PROXY = 127.0.0.1:8118
HTTPS_PROXY = 127.0.0.1:8118
FTP_PROXY = 127.0.0.1:8118

 See note above.

To resume an interrupted download, just add the -c option, like so:

wget -c your://url.to/download.here


  Scott Bennett, Comm. ASMELG, CFIAG
**
* Internet:   bennett at cs.niu.edu  *
**
* A well regulated and disciplined militia, is at all times a good  *
* objection to the introduction of that bane of all free governments *
* -- a standing army.   *
*-- Gov. John Hancock, New York Journal, 28 January 1790 *
**
***
To unsubscribe, send an e-mail to majord...@torproject.org with
unsubscribe or-talkin the body. http://archives.seul.org/or/talk/