Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-26-2007, 07:09 AM
|
#1
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257
Rep:
|
RFC for Sftp?
Hey Guys,
I searched for an RFC on Sftp(the one with SSH)but all I kept getting was the normal FTP Rfc(Simple File transfer protocol). Isn't there an RFC for Sftp? If not is it because it uses the Ssh port and Ssh already has an RFC(4521)?
I was looking to develop a Firefox extension for Sftp. So I wanted to read up on how exactly the technology worked. So any pointers on how I could start off if there's no RFC at all?
NOTE: I'm a Noob at extension development so any pointers regarding this as well will help
Cheers
Arvind
|
|
|
02-26-2007, 07:16 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well sftp is really only an example usage of the ssh protocol for data transfer, it's not a standard really, just an application, not a protocol. i think.
|
|
|
02-26-2007, 07:22 AM
|
#3
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257
Original Poster
Rep:
|
Thnx for that but if I want to say; try and develop a Firefox extension for inbuilt Sftp support like here:
Code:
https://addons.mozilla.org/firefox/684/
I'd need to understand how exactly the protocol works, wouldnt I?
If not then what would be the right path to take? If Yes where would you suggest I look for further help on understanding this stuff?
Thnx a bunch
Arvind
|
|
|
02-26-2007, 07:28 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
well it's the ssh protocol being used, so it's just an alternative use for that. i'd assume that basically you have a "special" ftp shell (well that bits definite... in.sftp i think) and the similarily "special" client. the special shell simply supports the standard ftp command sets and it's just down to the sftp client to understand what the data stream being spat back is... it'll either be control data - directory listings and such, or data. if you start receiving streams that are data then you taken that out of the data and put it to a file as previosuly arranged. this is all just implicitly handled by ssh. obvoisuly none of this is "real" ftp at all, just an emulation thereof. i guess that your main issues are how to differentiate different media types and such, but a search through the original sftp client shoudl hopefully show you how to adapt standard ssh dealings to an alternative use.
|
|
|
02-26-2007, 07:52 AM
|
#5
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257
Original Poster
Rep:
|
How come there is such little available online for Sftp? BTW I found the source code for Putty's version of Sftp. Is that the same as the original Sftp source?
Also I think I found the original source as well. Is this the code I need to look at?
http://openssh.hostingzero.com/portable/
Was hoping that my first coding project wouldn't be so hard
Cheers
Arvind
|
|
|
02-26-2007, 08:06 AM
|
#6
|
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307
Rep:
|
|
|
|
02-26-2007, 08:18 AM
|
#7
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
ugh, once again i fall short...
|
|
|
02-26-2007, 08:45 AM
|
#8
|
Member
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257
Original Poster
Rep:
|
Thnx guys . Will come back incase me needs help.
Cheers
Arvind
|
|
|
All times are GMT -5. The time now is 12:08 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|