PDA

Click to See Complete Forum and Search --> : creating a telnet daemon


tyfon
October 17th, 2004, 12:51 AM
Hi to all!
Here's the deal:I want to create a telnet client and a telnet server (in C)just to practise and to learn some things about how exactly these services work(i would like to try an ssh daemon later ;) )
I just want to ask where could i find the documentation I need? I know C,but dont have a clue about how I am goin to do this thing....
Thanks in advance

i2c
October 17th, 2004, 05:44 PM
search google.

have a look on sourceforge, im sure theres millions of projects like this!

http://www.planet-source-code.com
http://www.programmersheaven.com

and check the RFC, these are important documents that detail how something should work.

(its rfc854)

I thought i'd be nice and give you the like -

http://www.faqs.org/rfcs/rfc854.html

HTH!

i2c

(ps - good english by the way, my extend of greek extends to yamass and malaka, how ever there spelt...)

SirDice
October 18th, 2004, 02:36 PM
Have a look through the FreeBSD sources:

http://www.freebsd.org/cgi/cvsweb.cgi/src/contrib/telnet/

the_JinX
October 18th, 2004, 04:00 PM
A tiny bit off topic.. my telnet replacement daemon: http://tp2.be/cvs/ansid/

http://tp2.be/cvs/ansid/ansidaemon.c?rev=1.2&content-type=text/vnd.viewcvs-markup

this one runs on port 2003 (unpriv) and needs iptables (or something) to throw it on port 23

tyfon
October 18th, 2004, 07:19 PM
Thanks to all for answering....I 've just visited the liks the RFC page seems alot interesting but I should read it carefully...also the BSD sources may be useful to me in order to fully understand what I should do...jinx the link you said takes quite alot to load so I didn't see it (I have aptitude running!;) )
i2c thanks for the comment! :) in fact malakas means ******* and yamas means hi!Have you ever been to Greece?A lot of tourists were here during the stupid Olympic Games (just a waste of money and an exposition of new drugs for athletes)