Thursday, July 9, 2009

Re: [BLUG] The Hub raw chat over telnet/netcat

I read the page.

My understanding is that there are both block and line methods to
communicate via the Telnet protocol. Normal telnet sessions use
character mode, but MU*s and talkers normally use line-mode.

It looks like the hub was written with a character/block bias, and
you're trying to use it in a line-mode way.

What we're seeing is that it appears to be doing character-based
buffering of whole blocks with no regard to lines.

-- Steven Black

--
Steven Black <blacks@indiana.edu> / KeyID: 8596FA8E
Fingerprint: 108C 089C EFA4 832C BF07 78C2 DE71 5433 8596 FA8E

On Thu, Jul 09, 2009 at 05:48:02PM +0000, Mark Krenz wrote:
>
> There are some buffering issues. The code is from 2001 and it is
> fairly basic:
>
> https://lopsa.org/node/1351
>
> I modified it to show what port was talking. I may have screwed
> something up. I started it again with a larger buffer, maybe that will
> help. That was the first try though with multiple people on it.
>
> On Thu, Jul 09, 2009 at 05:45:31PM GMT, Steven Black [blacks@indiana.edu] said the following:
> > Weird thing. Doesn't seem to provide immediate feedback when you type.
> >
> > I keep 'tf' installed, so I tried connecting via that. (TinyFugue, a MU*
> > client) When I got no immediate feedback I gave up.
> >
> > --
> > Steven Black <blacks@indiana.edu> / KeyID: 8596FA8E
> > Fingerprint: 108C 089C EFA4 832C BF07 78C2 DE71 5433 8596 FA8E
> >
> > On Thu, Jul 09, 2009 at 05:28:42PM +0000, Mark Krenz wrote:
> > >
> > > telnet suso.suso.org 20202
> > >
> > > Or you can use netcat:
> > >
> > > nc suso.suso.org 20202
> > >
> > > Kinda interesting. Basically, very poor man's IRC. I modified a
> > > snippet of code called hub.c to do it, making it more efficient and to
> > > show port numbers (0-100) when someone talks.
> >
>
>
>
> > _______________________________________________
> > BLUG mailing list
> > BLUG@linuxfan.com
> > http://mailman.cs.indiana.edu/mailman/listinfo/blug
>
>
> --
> Mark Krenz
> Bloomington Linux Users Group
> http://www.bloomingtonlinux.org/
> _______________________________________________
> BLUG mailing list
> BLUG@linuxfan.com
> http://mailman.cs.indiana.edu/mailman/listinfo/blug

No comments: