FTP Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationFTP Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Save your reputation with your customers. Learn how you can have embedding success with Advantage Database Server (ADS).
  #1  
Old March 27th, 2001, 01:40 PM
Eric Anderson Eric Anderson is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Posts: 11 Eric Anderson User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Greetings,

Can anyone point me to a clear net resource, or simply give me instructions, on creating SSH2 tunnels for insecure TCP protocols specifically FTP? I don't care as much about encrypting the data connection, but I do want to encrypt the control connection.

I altered my config file, adding the following line:

LocalForward "ftp/21:my.machine.name:21"

and restarted my daemon. I was hoping this would automatically encrypt any FTP logins. However, if it is encrypted it's almost too transparent. I can't tell whether it's working or whether the FTP client is going directly to the FTP daemon and bypassing the tunnel.

My sense is that I'm going about this the wrong way.

I would simply use sftp but I have users that are on Macs and they need to upload files to our Linux server, and so far I have not found an sftp client for for Mac. If there is one, and I've missed it, please let me know. Otherwise, I would like to establish a connection that at least protects my user's passwords from sniffing.

Thanks,
Eric Anderson

Reply With Quote
  #2  
Old March 30th, 2001, 06:43 AM
Hicks Hicks is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 18 Hicks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 44 sec
Reputation Power: 0
Cool

AFAIK tunneling ftp is difficult to do due to ftp utilising passive connections where the server makes a second tcp socket connection back to the client for sending the information.

Thus you can't just encrypt the incoming ftp connection to socket 21, since the server makes a second connection back to client which causes problems due to the fact that ports below 1024 are reserved for root setup only and i think ssh needs a port below 1024 to opperate thus the host -> client channel cannot be made within the correct port range.

However I read about this ages ago and things may have changed since then.

I remember reading in one of the ssh guides that you were advised not to tunnel ftp due to this problem, however i cannot remember whether it was possible but very difficult?

Reply With Quote
  #3  
Old March 30th, 2001, 08:53 AM
Hicks Hicks is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 18 Hicks User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 44 sec
Reputation Power: 0
Thumbs up

Replying to my own posts now :-)

I've just looked into setting up pop3 over secure channels and this can be done using SSL.

I presume you can do the same for ftp via SSL?

Have a look at stunnel which I used for the pop3 encryption (prevents passwords been sent clear text)

the url is www.stunnel.org

hope that helps

Reply With Quote
  #4  
Old April 4th, 2001, 12:52 PM
pieux pieux is offline
Seņor Member
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Aug 2000
Posts: 1,156 pieux User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 17 m 59 sec
Reputation Power: 9
That's great information, muphicks. I was actually trying to figure this out myself, but never thought to post here (thanks Eric!). BTW, did you know you can "edit" your own post?
__________________
Michael

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationFTP Help > Tunnelling FTP


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway