[BusyBox] [PATCH] : telnetd

Vladimir N. Oleynik dzo at simtreas.ru
Mon Aug 6 01:48:05 UTC 2001


David,

> I incorporated most of Vladamir's changes. With the funky control character
> fixes and better busybox integration I think this gives us a rather nice
> telnetd.  If okay to commit to CVS head I'll do so, I'm open to
> suggestions for improvement.

Thank for the done work. The position mantainers under the attitude not
inclusions 
in busybox telnetd till now is not clear to me as however and tinylogin.  
 
> One rather cute feature is that you can set the login program, so you can
> do fun things like :
> # /usr/sbin/telnetd -l /bin/dmesg

Ah, really entertaining idea.


> Index: usage.h
> ===================================================================
> RCS file: /var/cvs/busybox/usage.h,v
> retrieving revision 1.60
> diff -u -r1.60 usage.h
> --- usage.h     2001/08/01 17:21:34     1.60
> +++ usage.h     2001/08/06 02:56:32
> @@ -1544,6 +1544,14 @@
>         "Telnet is used to establish interactive communication with another\n"\
>         "computer over a network using the TELNET protocol."

Whence these above-stated lines? ;-)

> +#define telnetd_trivial_usage \
> +       "[OPTION]"
> +#define telnetd_full_usage \
> +       "Telnetd listens for incoming TELNET connections on PORT.\n"\
> +       "Options:\n" \
> +       "\t-p PORT\tlisten for connections on PORT (default 23)\n"\
> +       "\t-l LOGIN\texec LOGIN on connect (default /bin/sh)"
> +


--w
vodz





More information about the busybox mailing list