about Telnet

Could you tell me where to get tht source code of Telnet?

I'm not sure what you mean. Bro's Telnet analyzer is in Telnet.cc, not
surprisingly. (It builts on Login.cc.) If you mean the source code for
a Telnet server or client, you can find those in *BSD or Linux sources.