LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 02-26-2007, 07:09 AM   #1
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Rep: Reputation: 30
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
 
Old 02-26-2007, 07:16 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 02-26-2007, 07:22 AM   #3
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Original Poster
Rep: Reputation: 30
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
 
Old 02-26-2007, 07:28 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 02-26-2007, 07:52 AM   #5
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Original Poster
Rep: Reputation: 30
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
 
Old 02-26-2007, 08:06 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
It's here:
http://tools.ietf.org/wg/secsh/draft...ecsh-filexfer/
 
Old 02-26-2007, 08:18 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ugh, once again i fall short...
 
Old 02-26-2007, 08:45 AM   #8
live_dont_exist
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat 9.0,FC3,FC5,FC10
Posts: 257

Original Poster
Rep: Reputation: 30
Thnx guys . Will come back incase me needs help.

Cheers
Arvind
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Can somebody point me to the RFC... quackking Linux - Networking 4 02-22-2007 04:45 PM
How do I use sftp to upload my web site? (no sftp tar command) johnMG Linux - Networking 6 06-21-2005 09:14 PM
What is RFC ..... emailssent Linux - Newbie 1 09-28-2004 02:12 AM
Files truncated by sftp/sftp-server at 65kb gato Linux - Networking 1 12-18-2003 10:29 AM
Rfc nautilus_1987 Linux - General 8 08-28-2002 02:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:08 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