Re: apt-get and SOCKS

2008-03-19 Thread Eduard Bloch
#include 
* Vincent Danjean [Mon, Mar 17 2008, 12:22:11PM]:
> Petter Reinholdtsen wrote:
> > [Patrick Matthäi]
> >> is there any reason to encrypt your traffic on downloading packages?
> >> I think this will only cause more traffic and cpu overhead on the
> >> mirrors instead of help anything.
> > 
> > I took is request to ask for SOCKS support, not encrypted connections.
> > I know that I've used the SOCKS feature of OpenSSH some times to get
> > out of a network with limited accessibility, and being able to use
> > apt-get (or aptitude) with such network tunnel would be useful in such
> > setting.
> 
> I also setup tunnel (ssh -L ...  + wwwoffle on the other end + http_proxy)
> for apt. The goal is not to encrypt the flow but to jump thru restricted
> firewalls (only outgoing ssh connection and even not everywhere).
> Adding support for SOCKS would avoid the need of wwwoffle in these cases.

apt-cache show tsocks

You configure ssh to do "dynamic port forwarding" and point tsocks to
localhost at the defined socks port, then run apt-get through tsocks.

Regards,
Eduard.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get and SOCKS

2008-03-17 Thread Vincent Danjean
Petter Reinholdtsen wrote:
> [Patrick Matthäi]
>> is there any reason to encrypt your traffic on downloading packages?
>> I think this will only cause more traffic and cpu overhead on the
>> mirrors instead of help anything.
> 
> I took is request to ask for SOCKS support, not encrypted connections.
> I know that I've used the SOCKS feature of OpenSSH some times to get
> out of a network with limited accessibility, and being able to use
> apt-get (or aptitude) with such network tunnel would be useful in such
> setting.

I also setup tunnel (ssh -L ...  + wwwoffle on the other end + http_proxy)
for apt. The goal is not to encrypt the flow but to jump thru restricted
firewalls (only outgoing ssh connection and even not everywhere).
Adding support for SOCKS would avoid the need of wwwoffle in these cases.

  Best regards,
   Vincent

-- 
Vincent Danjean   GPG key ID 0x9D025E87 [EMAIL PROTECTED]
GPG key fingerprint: FC95 08A6 854D DB48 4B9A  8A94 0BF7 7867 9D02 5E87
Unofficial pacakges: http://www-id.imag.fr/~danjean/deb.html#package
APT repo:  deb http://perso.debian.org/~vdanjean/debian unstable main


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get and SOCKS

2008-03-16 Thread Petter Reinholdtsen

[Patrick Matthäi]
> is there any reason to encrypt your traffic on downloading packages?
> I think this will only cause more traffic and cpu overhead on the
> mirrors instead of help anything.

I took is request to ask for SOCKS support, not encrypted connections.
I know that I've used the SOCKS feature of OpenSSH some times to get
out of a network with limited accessibility, and being able to use
apt-get (or aptitude) with such network tunnel would be useful in such
setting.

Happy hacking,
-- 
Petter Reinholdtsen


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get and SOCKS

2008-03-16 Thread Patrick Matthäi
xHemi schrieb:
> This might not be the correct place but here goes..
> 
> apt-get provides http_proxy and ftp_proxy support but why not SOCKS?
> I have no experience with SOCKS other than that I use it daily in conjunction
> with firefox and ssh. I think it is a feature which could be of use
> to others as well since it would enable you to use apt over ssh.
> 
> Regards
> 
> 
> !DSPAM:47c6934330731369617410!
> 
> 
> 

Hello,

is there any reason to encrypt your traffic on downloading packages?
I think this will only cause more traffic and cpu overhead on the
mirrors instead of help anything.

-- 
Mit freundlichem Gruß / With kind regards,
Patrick Matthäi

E-Mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get and SOCKS!

2008-02-28 Thread William Pitcock
On Thu, 2008-02-28 at 16:53 +, Jon Dowland wrote:
> On Thu, Feb 28, 2008 at 11:39:06AM +0100, Edward Tjornhammar wrote:
> > apt-get provides http_proxy and ftp_proxy support but why not SOCKS?
> > I have no experience with SOCKS other than that I use it daily in
> > conjunction with firefox and ssh. I think it is a feature which could
> > be of use to others as well since it would enable you to use apt over
> > ssh.
> 
> I'd suggest checking for a wishlist bug filed against apt,
> requesting SOCKS support.  If it doesn't exist, file it.

At least with curl, 'export http_proxy="socks5://ip:port/"'. So it might
work with apt too. I've used apt with a socks proxy before, I know that.

William


signature.asc
Description: This is a digitally signed message part


Re: apt-get and SOCKS!

2008-02-28 Thread Jon Dowland
On Thu, Feb 28, 2008 at 11:39:06AM +0100, Edward Tjornhammar wrote:
> apt-get provides http_proxy and ftp_proxy support but why not SOCKS?
> I have no experience with SOCKS other than that I use it daily in
> conjunction with firefox and ssh. I think it is a feature which could
> be of use to others as well since it would enable you to use apt over
> ssh.

I'd suggest checking for a wishlist bug filed against apt,
requesting SOCKS support.  If it doesn't exist, file it.


-- 
Jon Dowland


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-get and SOCKS

2008-02-28 Thread xHemi
This might not be the correct place but here goes..

apt-get provides http_proxy and ftp_proxy support but why not SOCKS?
I have no experience with SOCKS other than that I use it daily in conjunction
with firefox and ssh. I think it is a feature which could be of use
to others as well since it would enable you to use apt over ssh.

Regards


!DSPAM:47c6934330731369617410!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get and SOCKS!

2008-02-28 Thread Nico Golde
Hi Edward,
* Edward Tjornhammar <[EMAIL PROTECTED]> [2008-02-28 12:26]:
> This might not be the correct place but here goes..
> 
> apt-get provides http_proxy and ftp_proxy support but why not SOCKS?
[...] 
No idea but nothing prevents you from using for example 
tsocks.
Kind regards
Nico
-- 
Nico Golde - http://www.ngolde.de - [EMAIL PROTECTED] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.


pgpRTHadNJhxz.pgp
Description: PGP signature


apt-get and SOCKS!

2008-02-28 Thread Edward Tjornhammar
This might not be the correct place but here goes..

apt-get provides http_proxy and ftp_proxy support but why not SOCKS?
I have no experience with SOCKS other than that I use it daily in conjunction
with firefox and ssh. I think it is a feature which could be of use 
to others as well since it would enable you to use apt over ssh.
--
Edward Tjörnhammar \_\X\_
Cube²   \_\_\X
+46703784224 \X\X\X


!DSPAM:47c68f4a30731151511124!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]