LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2011, 02:10 PM   #1
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Rep: Reputation: Disabled
slow ssh and socks?


hi all
ssh is slowed down by ISP therefor socks proxy is slowed down
is there any work around?

if i could do absolutely nothing at all, could i build ssh from source and change it somehow to make it unrecognizable by ISP servers? i mean manipulating both ssh on client and ssh on my server?

by the way, changing the port ssh connected to from 22 to 9999 did not help
how do they actually realize when i'm using ssh to slow it down? it's supposed to be encrypted! ssl (https) is not slow at all, just ssh
someone told me maybe they are sniffing each packet's header sent through network, too see which is ssh, could this be?
 
Old 12-20-2011, 10:44 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
You could try tunnelling over https. A google search for "ssh tunnel over https" revealed a number of interesting pages.

HTH,

Evo2.
 
Old 12-21-2011, 07:54 AM   #3
agentbuzz
Member
 
Registered: Oct 2010
Location: Texas
Distribution: Debian, Ubuntu, CentOS, RHEL
Posts: 131

Rep: Reputation: 25
ssh -D SOCKS tunneling

loolooyyyy,
I don't know why you assume that your ISP is pouring molasses in your tunnel. It's more likely that the combination of low throughput and encryption overhead is slowing things down. Do a "man ssh" to read about the options. In particular, the man page describes the compression option and the cipher option. You can experiment with the following.

This command says, "use gzip compression with the Blowfish cipher, and dump debug info to the screen". From the man page: "Compression is desirable on modem lines and other slow connections, but will only slow down things on fast networks."
Code:
[user@host1 ~]$ ssh -vv -C -c blowfish user@host2
This command says "use the Blowfish cipher and dump debug info to the screen". Again, from the man page: "blowfish is a fast block cipher; it appears very secure and is much faster than 3des." Some people have noticed a measurable performance improvement after switching to Blowfish encryption from triple DES or AES.
Code:
[user@host1 ~]$ ssh -vv -c blowfish user@host2
Good luck.
 
1 members found this post helpful.
Old 12-21-2011, 10:43 AM   #4
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Original Poster
Rep: Reputation: Disabled
dear agenbuzz
i'm assuming that because government has ordered all the ISPs to do so,
they actually made it impossible to use VPN ( except sstp which i couldnt get it working on linux), dont know how, does it use a particular port? if so, they have probably closed the port
but i'll try blowfish, i used compression without any luck before
ssh over https seems interesting,

thanks to you both
 
Old 12-21-2011, 11:02 AM   #5
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Original Poster
Rep: Reputation: Disabled
oh man! blowfish and big big difference!!!

thanks
but really, what government does is evil!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] YUM via SSH SOCKs tunnel. hen770 Linux - Software 1 12-03-2010 07:37 AM
ssh over socks proxy d0x++ Linux - Networking 1 06-03-2009 02:35 AM
SSH Tunneling SOCKS not working? kailun Linux - Networking 2 08-26-2007 12:01 PM
SOCKS over SSH over AJAX via HTTP? fragged Linux - Networking 0 01-15-2007 01:15 PM
SSH tunneling and socks weepenguin Linux - General 3 04-06-2005 07:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration