TIP: Click on subject to list as thread! ANSI
echo: mbse
to: Rob Swindell
from: Michiel Broek
date: 2006-03-08 20:25:14
subject: Re: Telnet and zmodem

Hi Rob,

Rob Swindell wrote to Michiel Broek:
RS>   Re: Re: Telnet and zmodem
RS>   By: Michiel Broek to Rob Swindell on Tue Mar 07 2006 08:46 pm
RS> 

RS>  > The upstream seems not the problem, downstream. And yes I don't escape 
RS> IAC
RS>  > because on IP connections mbsebbs is run from inetd -> in.telnetd
RS>  > So mbsebbs doesn't answer the incoming connections itself. In my 
RS> opinion
RS>  > in.telnetd handles the IAC escaping. The only thing mbsebbs does is put 

RS> the
RS>  > tty into raw mode using ioctl calls. And up/downloading data containing
RS>  > character 255 is possible.
RS> 
RS> Yes, afaik, telnetd should be escaping the IACs for you. And if that's the
RS> case, then can you expand on what "escaping" you were
referring to that
RS> SyncTerm does that MBSE does not?

I checked the telnetd sources yesterday and they indeed do all escaping for
me. But there may be other minor things on mbsebbs side too that doesn't
affect all programs. I made some changes to the tty raw mode and it seems to
work "better" now, ie. some blocks are transferred now and syncterm aborts
sooner, now not on timeouts but with too much errors. I haven't checked the
details yet, it was too late yesterday evening.

Maybe I add the IAC character to the character to escape withing zmodem and
see how that goes.

RS>  > I tried vert.synchro.net for this and selected Zmodem. Was that lsz?
RS> 
RS> vert.synchro.net uses SEXYZ (Win32). cvs.synchro.net uses lsz.

Ok, I havent tried the last one yet, but I guess it won't make a difference
from this side.

RS>  > My next plan is to look at the in.telnetd sources to see if something
RS>  > therein does something I don't expect.
RS> 
RS> Let me know if you need any additional assistance.

Not at the moment, thanks.

RS> 

    Greetings, Michiel Broek

Email:   mbse{at}mbse.dds.nl
Fidonet: Michiel Broek at 2:280/2802

... "If the shoe fits, buy it."  Imelda Marcos

--- MBSE BBS v0.83.15 (GNU/Linux-i386)
* Origin: MBSE Linux BBS. Made in the Netherlands (2:280/2802)
SEEN-BY: 633/267 270 5030/786
@PATH: 280/2802 5003 2432/200 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.