• Zmodem and "RAW"

    From Cozmo@21:3/135 to All on Mon Jul 3 18:12:38 2023
    Is there anyway to get Zmodem like DSZ or PD Zmodem to d/l a file using "RAW"?

    I have a Door that can D/L files but won't work unless I connect to the BBS using "RAW"

    Was wondering if it was possible.

    Thanks

    |02-=|10Cozmo|02=-

    ... There will be a rain dance Friday night, weather permitting!

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: Lunatics Unleashed BBS (21:3/135)
  • From deon@21:2/116 to Cozmo on Tue Jul 4 17:19:02 2023
    Re: Zmodem and "RAW"
    By: Cozmo to All on Mon Jul 03 2023 11:12 am

    Is there anyway to get Zmodem like DSZ or PD Zmodem to d/l a file using "RAW"?

    I have a Door that can D/L files but won't work unless I connect to the BBS using "RAW"

    Was wondering if it was possible.

    It may be possible. You would want something to launch before your door, to put the telnet session in to binary mode, and then turn it off when the door exits.

    The protocol is here: https://www.rfc-editor.org/rfc/rfc856.txt

    How to do it, I'm not sure, but a door author could write a door to do it, so when you launch your door, it goes: bbs-> binary mode door -> game -> undo binary mode door -> bbs



    ...лоеп
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From Cozmo@21:3/135 to deon on Tue Jul 4 05:20:18 2023
    Is there anyway to get Zmodem like DSZ or PD Zmodem to d/l a file using "RAW"?

    I have a Door that can D/L files but won't work unless I connect to the using "RAW"

    Was wondering if it was possible.

    It may be possible. You would want something to launch before your door, to put the telnet session in to binary mode, and then turn it off when
    the door exits.

    The protocol is here: https://www.rfc-editor.org/rfc/rfc856.txt

    How to do it, I'm not sure, but a door author could write a door to do
    it, so when you launch your door, it goes: bbs-> binary mode door ->
    game -> undo binary mode door -> bbs


    I thought it might be a bit more simple to do. I thought I would at least ask if it was possible. Actually it woudn't a bad idea for someone to write a door for doing it, just for fun. Way beyond my skill level.

    |02-=|10Cozmo|02=-

    ... A PC a day keeps the Apple away!

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: Lunatics Unleashed BBS (21:3/135)
  • From Digital Man@21:1/183 to deon on Tue Jul 4 03:44:09 2023
    Re: Zmodem and "RAW"
    By: deon to Cozmo on Tue Jul 04 2023 10:19 am

    Re: Zmodem and "RAW"
    By: Cozmo to All on Mon Jul 03 2023 11:12 am

    Is there anyway to get Zmodem like DSZ or PD Zmodem to d/l a file using "RAW"?

    I have a Door that can D/L files but won't work unless I connect to the BBS using "RAW"

    Was wondering if it was possible.

    It may be possible. You would want something to launch before your door, to put the telnet session in to binary mode, and then turn it off when the door exits.

    The protocol is here: https://www.rfc-editor.org/rfc/rfc856.txt

    How to do it, I'm not sure, but a door author could write a door to do it, so when you launch your door, it goes: bbs-> binary mode door -> game -> undo binary mode door -> bbs

    Telnet binary mode is not the same thing as Raw TCP. In Telnet binary mode you still have to escape the IAC (0xFF) characters, but not in Raw TCP mode.
    --
    digital man (rob)

    Synchronet "Real Fact" #78:
    Synchronet Match Maker had at one time over 4000 profiles of men and women Norco, CA WX: 71.7шF, 68.0% humidity, 0 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From deon@21:2/116 to Digital Man on Tue Jul 4 22:42:42 2023
    Re: Zmodem and "RAW"
    By: Digital Man to deon on Mon Jul 03 2023 08:44 pm

    How to do it, I'm not sure, but a door author could write a door to do it, so when you launch your door, it goes: bbs-> binary mode door -> game
    undo binary mode door -> bbs

    Telnet binary mode is not the same thing as Raw TCP. In Telnet binary mode you still have to escape the IAC (0xFF) characters, but not in Raw TCP mode.
    Ahh, OK. So you need a shim of sorts? IE: Something to absorb 0xff and escape it (and doing the telnet binary mode thing)...

    Thus, not an easy workaround..?


    ...лоеп
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From fusion@21:1/616 to deon on Tue Jul 4 14:05:33 2023
    On 04 Jul 2023, deon said the following...

    Telnet binary mode is not the same thing as Raw TCP. In Telnet binary m you still have to escape the IAC (0xFF) characters, but not in Raw TCP
    Ahh, OK. So you need a shim of sorts? IE: Something to absorb 0xff and escape it (and doing the telnet binary mode thing)...

    Thus, not an easy workaround..?

    might be easy enough to have a second fossil tsr that just passed almost everything unchanged to the first one (you can fetch the address of the
    original one and then replace it) .. except for escaping the telnet stuff. then include it in the batch file for the door to load and then unload it.

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: cold fusion - cfbbs.net - grand rapids, mi (21:1/616)
  • From Digital Man@21:1/183 to deon on Thu Jul 6 18:59:26 2023
    Re: Zmodem and "RAW"
    By: deon to Digital Man on Tue Jul 04 2023 03:42 pm

    Re: Zmodem and "RAW"
    By: Digital Man to deon on Mon Jul 03 2023 08:44 pm

    How to do it, I'm not sure, but a door author could write a door to do it, so when you launch your door, it goes: bbs-> binary mode door -> game
    undo binary mode door -> bbs

    Telnet binary mode is not the same thing as Raw TCP. In Telnet binary mode you still have to escape the IAC (0xFF) characters, but not in Raw TCP mode.
    Ahh, OK. So you need a shim of sorts? IE: Something to absorb 0xff and escape it (and doing the telnet binary mode thing)...

    Thus, not an easy workaround..?

    Simply absorbing 0xff wouldn't be enough either as there are a variable number of bytes that follow the 0xff that constitute the Telnet command(s).
    --
    digital man (rob)

    Breaking Bad quote #9:
    "Cheesedick" - I know that one [word]. How about that? - Hank Schrader
    Norco, CA WX: 76.0шF, 54.0% humidity, 7 mph SSE wind, 0.00 inches rain/24hrs --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (21:1/183)
  • From deon@21:2/116 to Digital Man on Fri Jul 7 16:01:09 2023
    Re: Zmodem and "RAW"
    By: Digital Man to deon on Thu Jul 06 2023 11:59 am

    Ahh, OK. So you need a shim of sorts? IE: Something to absorb 0xff and escape it (and doing the telnet binary mode thing)...

    Simply absorbing 0xff wouldn't be enough either as there are a variable number of bytes that follow the 0xff that constitute the Telnet command(s).

    Right, which is why the shim would need to escape it before sending it on. In a binary file transfer, its not an IAC command.



    ...лоеп
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)
  • From fusion@21:1/616 to deon on Fri Jul 7 04:03:28 2023
    On 07 Jul 2023, deon said the following...

    Re: Zmodem and "RAW"
    By: Digital Man to deon on Thu Jul 06 2023 11:59 am

    Ahh, OK. So you need a shim of sorts? IE: Something to absorb 0xff a escape it (and doing the telnet binary mode thing)...

    Simply absorbing 0xff wouldn't be enough either as there are a variable number of bytes that follow the 0xff that constitute the Telnet command

    Right, which is why the shim would need to escape it before sending it
    on. In a binary file transfer, its not an IAC command.

    a 'real' telnetd will continue interpreting telnet negotiations even during a zmodem transfer. the telnetd doesn't even know zmodem is running.

    --- Mystic BBS v1.12 A47 2021/12/25 (Windows/32)
    * Origin: cold fusion - cfbbs.net - grand rapids, mi (21:1/616)
  • From deon@21:2/116 to fusion on Sat Jul 8 05:46:10 2023
    Re: Re: Zmodem and "RAW"
    By: fusion to deon on Thu Jul 06 2023 09:03 pm

    a 'real' telnetd will continue interpreting telnet negotiations even during a zmodem transfer. the telnetd doesn't even know zmodem is running.

    Right, hence why you need something in between the client and the telnetd, if the client doesnt know anything about the telnet protocol.


    ...лоеп
    --- SBBSecho 3.20-Linux
    * Origin: I'm playing with ANSI+videotex - wanna play too? (21:2/116)