Telnet customizations ... HOW?

I have seen that telnet can be customized ... and I need to know how. It is not just the greetings or prompts in telnets which I easily can accomplish but in some cases Ihave seen that if you try to connect through telnet to a server it says that we do not process outside hosts and probably will give you some messages too. How this can be done. I understand that they are not turning off telnet daemon but they are just restricting shell access for users outside their domain.

 I run Slackware 2.0.30 ...
 If needed exapmles I will gladly give name of the servers on the Internet that are implementing this kind of trick ...

 .. How I can do this on my Linux ..
Who is Participating?
JYoungmanConnect With a Mentor Commented:
Edit /etc/   Sometimes this is rewritten at boot time by rc.local, so check that.   Servers usually block remote logins either with TCP wrappers (which produce no message) or by putting the required message in the file /etc/nologin.

mega_tronAuthor Commented:
Edited text of question
i dont know.  but it sounds like this is something you could do by either tinkering w/ the source to telnetd, or a perl script that checks the incoming ip addy before passing control on to login.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.