-1

I have got telnet server running on a bsd target. I want to connect to this target from multiple other machines. Surprisingly it does not allow more connections.

I checked why and found it is not listening(listen) in a loop. So, I kinda fixed it. But I was wondering is there any specific reason why telnetd code is kept with single connection at a time? (I am allowed to connect to telnetd server from only one client for a particular port.)

(I know telnet is not a safe option. But I am having just fun on small embedded platform and getting things working is more imp than security at this moment.)

Thanks

agent.smith
  • 9,134
  • 9
  • 37
  • 49

1 Answers1

1

Telnet is supposed to be launched by inetd. You need to configure inetd to do the listening for you.

The wikipedia article that I linked to explains how to do that.

Sunil D.
  • 17,983
  • 6
  • 53
  • 65