Discussion:
[BusyBox] Simple telnet client (possibly for busybox)
Tomi Ollila
2003-07-19 13:32:17 UTC
Permalink
Hi

I've done (a way ago) a simple telnet client for Amiga. Now I'm in progress
bringing that client to UNIX also (I will do a modified tomsrtbt for my
personal use).

Are you interested to look it for possible inclusion to busybox. It doesn't
quite do all the features that the current busybox version looks to do --
and therefore it is much smaller -- and easily extendable is someone wants
to add something (maybe exporting terminal type might be one such feature)...

Well, eager to see your reply. I'll attach the source code of this
telnet client -- and also a `teltester' -- a prg when put to live
between the client and server outputs all the telnet negotiation
commands that has transferred between the client and server. That
is very useful debugging tool when developing telnet clients.
Example usage:
tty1 % ./teltester 2223 localhost 23
tty2 % telnet localhost 2223


Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: telnet.c
Type: application/octet-stream
Size: 11512 bytes
Desc: a telnet client
Url : http://busybox.net/lists/busybox/attachments/20000608/781a072f/telnet.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: teltester.c
Type: application/octet-stream
Size: 6424 bytes
Desc: telnet test program
Url : http://busybox.net/lists/busybox/attachments/20000608/781a072f/teltester.obj
Erik Andersen
2003-07-19 13:32:17 UTC
Permalink
On Thu Jun 08, 2000 at 05:01:15PM +0300, Tomi Ollila wrote:
Content-Description: message body text
Post by Tomi Ollila
Hi
I've done (a way ago) a simple telnet client for Amiga. Now I'm in progress
bringing that client to UNIX also (I will do a modified tomsrtbt for my
personal use).
Are you interested to look it for possible inclusion to busybox. It doesn't
quite do all the features that the current busybox version looks to do --
and therefore it is much smaller -- and easily extendable is someone wants
to add something (maybe exporting terminal type might be one such feature)...
Well, eager to see your reply. I'll attach the source code of this
telnet client -- and also a `teltester' -- a prg when put to live
between the client and server outputs all the telnet negotiation
commands that has transferred between the client and server. That
is very useful debugging tool when developing telnet clients.
tty1 % ./teltester 2223 localhost 23
tty2 % telnet localhost 2223
Looks god. I'll give it a good looking over tonight, and let you
know if it is going into BusyBox or not. If it works as expected
and is smaller then the current telnet, it is pretty likely to go
in...

-Erik

--
Erik B. Andersen email: ***@lineo.com
--This message was written using 73% post-consumer electrons--
Tomi Ollila
2000-06-08 14:01:15 UTC
Permalink
Hi

I've done (a way ago) a simple telnet client for Amiga. Now I'm in progress
bringing that client to UNIX also (I will do a modified tomsrtbt for my
personal use).

Are you interested to look it for possible inclusion to busybox. It doesn't
quite do all the features that the current busybox version looks to do --
and therefore it is much smaller -- and easily extendable is someone wants
to add something (maybe exporting terminal type might be one such feature)...

Well, eager to see your reply. I'll attach the source code of this
telnet client -- and also a `teltester' -- a prg when put to live
between the client and server outputs all the telnet negotiation
commands that has transferred between the client and server. That
is very useful debugging tool when developing telnet clients.
Example usage:
tty1 % ./teltester 2223 localhost 23
tty2 % telnet localhost 2223


Tomi

-------------- next part --------------
A non-text attachment was scrubbed...
Name: telnet.c
Type: application/octet-stream
Size: 11512 bytes
Desc: a telnet client
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000608/781a072f/attachment.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: teltester.c
Type: application/octet-stream
Size: 6424 bytes
Desc: telnet test program
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000608/781a072f/attachment-0001.obj
Erik Andersen
2000-06-08 16:03:15 UTC
Permalink
On Thu Jun 08, 2000 at 05:01:15PM +0300, Tomi Ollila wrote:
Content-Description: message body text
Post by Tomi Ollila
Hi
I've done (a way ago) a simple telnet client for Amiga. Now I'm in progress
bringing that client to UNIX also (I will do a modified tomsrtbt for my
personal use).
Are you interested to look it for possible inclusion to busybox. It doesn't
quite do all the features that the current busybox version looks to do --
and therefore it is much smaller -- and easily extendable is someone wants
to add something (maybe exporting terminal type might be one such feature)...
Well, eager to see your reply. I'll attach the source code of this
telnet client -- and also a `teltester' -- a prg when put to live
between the client and server outputs all the telnet negotiation
commands that has transferred between the client and server. That
is very useful debugging tool when developing telnet clients.
tty1 % ./teltester 2223 localhost 23
tty2 % telnet localhost 2223
Looks god. I'll give it a good looking over tonight, and let you
know if it is going into BusyBox or not. If it works as expected
and is smaller then the current telnet, it is pretty likely to go
in...

-Erik

--
Erik B. Andersen email: andersen at lineo.com
--This message was written using 73% post-consumer electrons--

Loading...