tags:

views:

44

answers:

2

I wanted to have a look at source code of basic networking services like FTP, Telnet, rlogin etc.

Can anyone tell where can I get them. By the way, its not that i didn't google it, e.g. searching for ftp, gives me list of so many ftp variants, but i am intersted in looking at a ftp client/server which ships with Ubuntu.

Thanks

A: 

Source code links are at the top of package pages on http://packages.ubuntu.com/

David Dorward
A: 

http://archive.ubuntu.com/ubuntu/pool/main/n/netkit-ftp/netkit-ftp_0.17.orig.tar.gz

If it's specifically Ubuntu source code that you are interested in, it's easy. Go to a package description page such as http://packages.ubuntu.com/lucid/net/ , follow the relevant links, and look for a link to a .orig.tar.gz file in the package description. Ubuntu packages all work this way.

Pascal Cuoq
i mentioned ubuntu just as an example, basically i want to know whats the ftp code that runs by default on most linux distros.
Anonymous
@Anonymous I see. Well, all Linux distributions pretty much rely on the same codebases, the differences are in the patches that are the other essential components of a package, and in default configuration files. So you can still use the web directory of any well-organized distribution to get what runs on most of them.
Pascal Cuoq