• webv4 telnet window

    From DesotoFireflite@VERT/VALHALLA to cChicken on Tuesday, March 01, 2022 12:22:32
    First of all, this has always been a issue, but I've never done anything with it till now since I've got the time to work on it now.

    Gamesrv connect from games menu on web4

    Using the ftelnet window, I can log into the bbs fine, go to my externals, and select my gameserver, and everything works as expected, all games playable.

    Now if I go to the web4 games menu, and select Odin's Maze, which is actually my gameserver, it goes to the gameserver, but immediatly, exits and returns to the game menu. All other games work fine even the TWGS which is rlogin, but a different port.

    I was thinking command line, but being it's working from the ftelnet window from the actual bbs on webv4, it stands to reason it would work from the games menu using the ftelnet window.

    The gameserver is on rlogin port 5513, and it's Rick Parrishes GAMESRV program. no error logs are thrown by sbbs or gamesrv when this happens.

    What am I missing if anything, or is this just one of those things that's not meant to be. I've just been excluding odin's maze from my website, but I'll un exclude it if you want to see it for yourself. Thanks in advance.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Tuesday, March 01, 2022 18:46:53
    Re: webv4 telnet window
    By: DesotoFireflite to cChicken on Tue Mar 01 2022 12:22:32

    Now if I go to the web4 games menu, and select Odin's Maze, which is actually my gameserver, it goes to the gameserver, but immediatly, exits and returns to the game menu. All other games work fine even the TWGS which is rlogin, but a different port.

    Any chance there's an apostrophe in this game's internal code, eg. ODIN'SMA? A look at the Games page tells me that I didn't account for this possibility. I don't think it would cause a real problem here, but maybe.

    Can you give a little more detail re: "it goes to the gameserver"? Are you seeing output from Gamesrv in your ftelnet window, or evidence of this connection in Gamesrv's logs, or in Synchronet's logs?

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Tuesday, March 01, 2022 16:24:26
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Tue Mar 01 2022 06:46 pm

    Re: webv4 telnet window
    By: DesotoFireflite to cChicken on Tue Mar 01 2022 12:22:32

    Now if I go to the web4 games menu, and select Odin's Maze, which is
    actually my gameserver, it goes to the gameserver, but immediatly,
    exits and returns to the game menu. All other games work fine even
    the TWGS which is rlogin, but a different port.

    Any chance there's an apostrophe in this game's internal code, eg. ODIN'SMA? A look at the Games page tells me that I didn't account for this possibility. I don't think it would cause a real problem here, but maybe.

    No Apostrophes, here is the code from SBBS CFG ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ
    ³Name Odin's Maze
    ³Internal Code GAMESRV
    ³Start-up Directory
    ³Command Line ?rlogin bbs.valhallabbs.com:5513 TG_RLOGINSWAP ³Clean-up Command Line
    ³Execution Cost None
    ³Access Requirements
    ³Execution Requirements
    ³Multiple Concurrent Users Yes
    ³I/O Method FOSSIL or UART
    ³Native Executable/Script No
    ³Use Shell or New Context No
    ³Modify User Data No
    ³Execute on Event No
    ³Pause After Execution No
    ³BBS Drop File Type None
    ³Place Drop File In Node Directory ÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ


    Can you give a little more detail re: "it goes to the gameserver"? Are you seeing output from Gamesrv in your ftelnet window, or evidence of this connection in Gamesrv's logs, or in Synchronet's logs?

    GAMESRV LOG
    -----------
    3/1/2022 12:32:55 PM Incoming RLogin connection from 73.152.104.255:51586 3/1/2022 12:32:55 PM Node 6 (LOGOFF): Logging off
    3/1/2022 12:33:41 PM Incoming RLogin connection from 73.152.104.255:51621 3/1/2022 12:33:41 PM Node 6 (LOGOFF): Logging off
    3/1/2022 1:05:11 PM Incoming RLogin connection from 73.152.104.255:51855 3/1/2022 1:05:12 PM Node 6 (LOGOFF): Logging off
    3/1/2022 2:14:15 PM Incoming RLogin connection from 73.152.104.255:52130 3/1/2022 2:14:16 PM Node 6 (LOGOFF): Logging off

    SBBS TERMINAL SERVER LOG -Same Time Period, Different Users ------------------------
    3/1 12:32:55p Node 4 <DesotoFireflite> received terminal auto-detection response: '\e[?50;86;84;88c\e[25;80R\e[10;4R'
    3/1 12:32:55p Node 4 <DesotoFireflite> received ANSI cursor position report [1]: 80x25
    3/1 12:32:55p Node 4 <DesotoFireflite> received ANSI cursor position report [2]: 4x10
    3/1 12:32:55p Node 4 <DesotoFireflite> auto-detected terminal type: 80x25 xtrn=gamesrv
    3/1 12:32:55p Node 4 <DesotoFireflite> terminal type: 80x25 xtrn=gamesrv
    3/1 12:32:55p Node 4 <DesotoFireflite> (0001) DesotoFireflite Logon 0 - 12
    3/1 12:32:55p Node 4 <DesotoFireflite> running external program: Odin's Maze
    3/1 12:32:55p Node 4 <DesotoFireflite> Executing external: ?rlogin bbs.valhallabbs.com:5513 TG_RLOGINSWAP
    3/1 12:32:55p Node 4 <DesotoFireflite> Node 4 RLogin gate to bbs.valhallabbs.com port 5513 on socket 7536
    3/1 12:32:55p Node 4 <DesotoFireflite> Node 4 Telnet gate disconnected
    3/1 12:32:55p Node 4 <DesotoFireflite> Node 4 Telnet gate to bbs.valhallabbs.com finished
    3/1 12:32:55p Node 4 <DesotoFireflite> disconnecting client
    3/1 12:32:55p Node 4 passthru socket disconnected
    3/1 12:32:55p Node 4 input thread terminated (received 71 bytes in 36 blocks)
    3/1 12:32:56p Node 4 output thread terminated (sent 328 bytes in 7 blocks, 46 average, 0 short)


    3/1 12:33:40p Node 3 <Dracon Drake> received terminal auto-detection response: '\e[?50;86;84;88c\e[25;80R\e[8;4R'
    3/1 12:33:40p Node 3 <Dracon Drake> received ANSI cursor position report [1]: 80x25
    3/1 12:33:40p Node 3 <Dracon Drake> received ANSI cursor position report [2]: 4x8
    3/1 12:33:40p Node 3 <Dracon Drake> auto-detected terminal type: 80x25 xtrn=gamesrv
    3/1 12:33:40p Node 3 <Dracon Drake> terminal type: 80x25 xtrn=gamesrv
    3/1 12:33:40p Node 3 <Dracon Drake> (0186) Dracon Drake Logon 213483 - 5
    3/1 12:33:41p Node 3 <Dracon Drake> running external program: Odin's Maze
    3/1 12:33:41p Node 3 <Dracon Drake> Executing external: ?rlogin bbs.valhallabbs.com:5513 TG_RLOGINSWAP
    3/1 12:33:41p Node 3 <Dracon Drake> Node 3 RLogin gate to bbs.valhallabbs.com port 5513 on socket 7224
    3/1 12:33:41p Node 3 <Dracon Drake> Node 3 Telnet gate disconnected
    3/1 12:33:41p Node 3 <Dracon Drake> Node 3 Telnet gate to bbs.valhallabbs.com finished
    3/1 12:33:41p Node 3 <Dracon Drake> disconnecting client
    3/1 12:33:41p Node 3 passthru socket disconnected
    3/1 12:33:41p Node 3 input thread terminated (received 61 bytes in 29 blocks)
    3/1 12:33:42p Node 3 output thread terminated (sent 319 bytes in 4 blocks, 79 average, 0 short)

    I don't know if this makes a difference, but when you go through the Games menu, it logs in as a Rlogin connection.

    Redirecting to server...
    Synchronet BBS for Win32 Version 3.19 RLogin connection from: 127.0.0.1 Resolving hostname... Resolving identity... SY:

    And when you use the home menu to access ftelnet, it goes in as a Telnet connection. Gamesrv, Odin's MAze works going in through ftelnet on the home page.

    Redirecting to server...

    Synchronet BBS for Win32 Version 3.19
    Telnet connection from: 127.0.0.1
    Resolving hostname...
    Resolving identity...

    Hope all this helps.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- Don't You Know, Can't You See, Don't You Understand!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Wednesday, March 02, 2022 06:41:35
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Tue Mar 01 2022 16:24:26

    Hope all this helps.

    Unfortunately nothing's jumping out at me at the moment.

    ³Command Line ?rlogin bbs.valhallabbs.com:5513 TG_RLOGINSWAP

    Is that your entire command line, or did part of it get cut off?

    Use of TG_RLOGINSWAP shouldn't be a problem, but makes me wonder if something's going awry behind the scenes.

    My hunch is that there's going to be some weird problem with rlogin-over-rlogin and the handling of the terminal type or username/password swap. In fact this is jogging a very fuzzy memory for me.

    What happens if you connect to your BBS via rlogin using SyncTERM, and then try to play Odin's Maze?

    3/1/2022 12:32:55 PM Incoming RLogin connection from 73.152.104.255:51586 3/1/2022 12:32:55 PM Node 6 (LOGOFF): Logging off

    It's a shame that this doesn't tell us whether the login succeeded, etc.

    And when you use the home menu to access ftelnet, it goes in as a Telnet connection. Gamesrv, Odin's MAze works going in through ftelnet on the home page.

    What does Gamesrv's log output look like in this situation? Does it ever say anything about which user logged in, which game they played, etc.?

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Wednesday, March 02, 2022 08:27:34
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Wed Mar 02 2022 06:41 am

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Tue Mar 01 2022 16:24:26

    Hope all this helps.

    Unfortunately nothing's jumping out at me at the moment.

    ³Command Line ?rlogin bbs.valhallabbs.com:5513 TG_RLOGINSWAP

    Is that your entire command line, or did part of it get cut off?

    That's the complete command line

    Use of TG_RLOGINSWAP shouldn't be a problem, but makes me wonder if something's going awry behind the scenes.

    I took the TG_RLOGINSWAP out of the command line, and got the same results.

    My hunch is that there's going to be some weird problem with rlogin-over-rlogin and the handling of the terminal type or username/password swap. In fact this is jogging a very fuzzy memory for me.

    What happens if you connect to your BBS via rlogin using SyncTERM, and then try to play Odin's Maze?

    Works great, Heres the log:

    3/2/2022 7:15:05 AM Node 6 (LOGOFF): Logging off
    3/2/2022 7:59:11 AM Incoming RLogin connection from 73.152.104.255:55378 3/2/2022 7:59:11 AM Node 6 (LOGON): Desotofireflite Logging on
    3/2/2022 7:59:11 AM Node 6: Desotofireflite: Running Logon Process
    3/2/2022 7:59:11 AM Node 6: Desotofireflite: Displaying ansi\logon_success (with pause)
    3/2/2022 7:59:11 AM Node 6: Desotofireflite: Running REMIND01
    3/2/2022 7:59:14 AM Node 6: Desotofireflite: External terminated with exit code: 0
    3/2/2022 7:59:14 AM Node 6: Desotofireflite: Changing to MAIN menu
    3/2/2022 7:59:14 AM Node 6: Desotofireflite: At MAIN menu
    3/2/2022 7:59:25 AM Node 6: Desotofireflite: Changing to INTERBBS menu 3/2/2022 7:59:26 AM Node 6: Desotofireflite: At INTERBBS menu
    3/2/2022 7:59:28 AM Node 6: Desotofireflite: Running BOOBYTRP
    3/2/2022 7:59:44 AM Node 6: Desotofireflite: External terminated with exit code: 0
    3/2/2022 7:59:44 AM Node 6: Desotofireflite: At INTERBBS menu
    3/2/2022 7:59:49 AM Node 6: Desotofireflite: Changing to MAIN menu
    3/2/2022 7:59:49 AM Node 6: Desotofireflite: At MAIN menu
    3/2/2022 7:59:53 AM Node 6: Desotofireflite: Logging off
    3/2/2022 7:59:53 AM Node 6: Desotofireflite: Running Logoff Process

    3/1/2022 12:32:55 PM Incoming RLogin connection from
    73.152.104.255:51586 3/1/2022 12:32:55 PM Node 6 (LOGOFF): Logging
    off

    It's a shame that this doesn't tell us whether the login succeeded, etc.

    And when you use the home menu to access ftelnet, it goes in as a
    Telnet connection. Gamesrv, Odin's MAze works going in through
    ftelnet on the home page.

    What does Gamesrv's log output look like in this situation? Does it ever say anything about which user logged in, which game they played, etc.?

    Here's the gamesrv log when logging in through the home screen of webv4. 3/2/2022 8:07:15 AM Incoming RLogin connection from 73.152.104.255:55468 3/2/2022 8:07:15 AM Node 6 (LOGON): Dracon Drake Logging on
    3/2/2022 8:07:15 AM Node 6: Dracon Drake: Running Logon Process
    3/2/2022 8:07:15 AM Node 6: Dracon Drake: Displaying ansi\logon_success (with pause)
    3/2/2022 8:07:15 AM Node 6: Dracon Drake: Running REMIND01
    3/2/2022 8:07:18 AM Node 6: Dracon Drake: External terminated with exit code: 0
    3/2/2022 8:07:18 AM Node 6: Dracon Drake: Changing to MAIN menu
    3/2/2022 8:07:18 AM Node 6: Dracon Drake: At MAIN menu
    3/2/2022 8:07:22 AM Node 6: Dracon Drake: Changing to INTERBBS menu
    3/2/2022 8:07:22 AM Node 6: Dracon Drake: At INTERBBS menu
    3/2/2022 8:07:25 AM Node 6: Dracon Drake: Running BOOBYTRP
    3/2/2022 8:07:38 AM Node 6: Dracon Drake: External terminated with exit code: 0
    3/2/2022 8:07:38 AM Node 6: Dracon Drake: At INTERBBS menu
    3/2/2022 8:07:40 AM Node 6: Dracon Drake: Changing to MAIN menu
    3/2/2022 8:07:41 AM Node 6: Dracon Drake: At MAIN menu
    3/2/2022 8:07:42 AM Node 6: Dracon Drake: Logging off
    3/2/2022 8:07:42 AM Node 6: Dracon Drake: Running Logoff Process
    3/2/2022 8:07:45 AM Node 6 (LOGOFF): Dracon Drake: Logging off

    Here is a snippet from the gamesrv ini file, which I have never set. I've been running it this way for years, with no issue. Could these setting have anything to do with the issue at hand. I don't see any setting for this in the webv4 setup in modopts. I'm guessing it doesn't matter since it runs ok going through the telnet window through the bbs, but I may be wrong, anyway, I was thinking this was for the old version of html term?

    ; IP and Port to listen for flash socket policy requests on
    ; IP will usually be 0.0.0.0, which tells GameSrv to listen on all available IP addresses. Only change if you know what this means, and why you need it
    ; Port will usually be 843, but you can set it to anything you want (within the valid range of 1-65535)
    ; Set port to 0 to disable flash socket policy server
    ; NB: Disabling this server means users won't be able to connect with my super awesome flash telnet client, fTelnet -- http://www.ftelnet.ca
    FlashSocketPolicyServerIP=0.0.0.0
    FlashSocketPolicyServerPort=0
    ; IP and Port to listen for websocket connections on
    ; IP will usually be 0.0.0.0, which tells GameSrv to listen on all available IP addresses. Only change if you know what this means, and why you need it
    ; Port will usually be 1123, but you can set it to anything you want (within the valid range of 1-65535)
    ; Set port to 0 to disable websocket server
    ; NB: Disabling this server means users won't be able to connect with my super awesome HTML5 terminal client, HtmlTerm -- http://www.ftelnet.ca
    WebSocketServerIP=0.0.0.0
    WebSocketServerPort=0

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Wednesday, March 02, 2022 15:44:17
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 08:27:34

    Here's the gamesrv log when logging in through the home screen of webv4. 3/2/2022 8:07:15 AM Incoming RLogin connection from 73.152.104.255:55468 3/2/2022 8:07:15 AM Node 6 (LOGON): Dracon Drake Logging on
    3/2/2022 8:07:15 AM Node 6: Dracon Drake: Running Logon Process
    ...
    3/2/2022 8:07:42 AM Node 6: Dracon Drake: Logging off
    3/2/2022 8:07:42 AM Node 6: Dracon Drake: Running Logoff Process
    3/2/2022 8:07:45 AM Node 6 (LOGOFF): Dracon Drake: Logging off

    The obvious difference is that we see LOGON and user alias, which never happens when you're doing this via your Games page. Maybe authentication is failing?

    Hard to say more unless you can increase Gamesrv's verbosity. Any options for debug logging in that INI file?

    If you use SyncTERM to connect directly to Gamesrv, via RLOGIN, and deliberately supply a valid username but invalid password, what do you see in Gamesrv's logs? What if you change from RLOGIN to RLOGN Reversed?

    What happens if you make a copy of exec/rlogin.js in your mods/ directory, and alter line 16:

    ,argv[4] // terminal-type

    to this:

    ,'syncterm/115200' // terminal-type

    and try again from webv4's Games page? (Be sure to delete the file from mods/ after.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Wednesday, March 02, 2022 13:21:23
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Wed Mar 02 2022 03:44 pm

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 08:27:34

    Here's the gamesrv log when logging in through the home screen of
    webv4. 3/2/2022 8:07:15 AM Incoming RLogin connection from
    73.152.104.255:55468 3/2/2022 8:07:15 AM Node 6 (LOGON): Dracon
    Drake Logging on 3/2/2022 8:07:15 AM Node 6: Dracon Drake: Running
    Logon Process ...
    3/2/2022 8:07:42 AM Node 6: Dracon Drake: Logging off
    3/2/2022 8:07:42 AM Node 6: Dracon Drake: Running Logoff Process
    3/2/2022 8:07:45 AM Node 6 (LOGOFF): Dracon Drake: Logging off

    The obvious difference is that we see LOGON and user alias, which never happens when you're doing this via your Games page. Maybe authentication is failing?

    I'm pretty sure that is what is happening.

    Hard to say more unless you can increase Gamesrv's verbosity. Any options for debug logging in that INI file?

    I just checked all the ini files, no place for a log. I even checked the very sketchy documentation, and there was no options for logs that I could see.

    If you use SyncTERM to connect directly to Gamesrv, via RLOGIN, and deliberately supply a valid username but invalid password, what do you see in Gamesrv's logs? What if you change from RLOGIN to RLOGN Reversed?

    Logs in both ways, but with rlogin reversed, it uses the password as the name, and the name as a password, and creates a new account.

    Syncterm to Gamesrv regular login

    3/2/2022 1:05:05 PM Incoming RLogin connection from 73.152.104.255:56666 3/2/2022 1:05:05 PM Node 6 (LOGON): Desotofireflite Logging on
    3/2/2022 1:05:05 PM Node 6: Desotofireflite: Running Logon Process
    3/2/2022 1:05:06 PM Node 6: Desotofireflite: Displaying ansi\logon_success (with pause)
    3/2/2022 1:05:06 PM Node 6: Desotofireflite: Running REMIND01
    3/2/2022 1:05:08 PM Node 6: Desotofireflite: External terminated with exit code: 0
    3/2/2022 1:05:08 PM Node 6: Desotofireflite: Changing to MAIN menu
    3/2/2022 1:05:09 PM Node 6: Desotofireflite: At MAIN menu
    3/2/2022 1:05:15 PM Node 6: Desotofireflite: Logging off
    3/2/2022 1:05:15 PM Node 6: Desotofireflite: Running Logoff Process
    3/2/2022 1:05:17 PM Node 6 (LOGOFF): Desotofireflite: Logging off

    Syncterm to gamesrv with Rlogin Reversed
    (I changed the password in the logs below)

    3/2/2022 1:05:52 PM Incoming RLogin connection from 73.152.104.255:56676 3/2/2022 1:05:53 PM Node 6 (LOGON): cadre Logging on
    3/2/2022 1:05:53 PM Node 6: cadre: Running Logon Process
    3/2/2022 1:05:53 PM Node 6: cadre: Displaying ansi\logon_success (with pause) 3/2/2022 1:05:53 PM Node 6: cadre: Running REMIND01
    3/2/2022 1:05:56 PM Node 6: cadre: External terminated with exit code: 0 3/2/2022 1:05:56 PM Node 6: cadre: Changing to MAIN menu
    3/2/2022 1:05:56 PM Node 6: cadre: At MAIN menu
    3/2/2022 1:06:02 PM Node 6: cadre: Changing to WORD_GAMES menu
    3/2/2022 1:06:02 PM Node 6: cadre: At WORD_GAMES menu
    3/2/2022 1:06:06 PM Node 6: cadre: Changing to MAIN menu
    3/2/2022 1:06:06 PM Node 6: cadre: At MAIN menu
    3/2/2022 1:06:10 PM Node 6: cadre: Logging off
    3/2/2022 1:06:10 PM Node 6: cadre: Running Logoff Process
    3/2/2022 1:06:13 PM Node 6 (LOGOFF): cadre: Logging off

    What happens if you make a copy of exec/rlogin.js in your mods/ directory, and alter line 16:

    ,argv[4] // terminal-type

    to this:

    ,'syncterm/115200' // terminal-type

    and try again from webv4's Games page? (Be sure to delete the file from mods/ after.)

    No difference, still won't log in through games.

    maybe this is one of those unsolvable issues. I don't need it on the web, but It sure would be nice, as most of my doors are on the gameserver. Eitherway, it's not worth re-inventing the wheel since this is a one off issue.

    Is there any chance this switch in gamesrv would have anything to do with the problem. If so what should it be set to for webv4.

    ; IP and Port to listen for flash socket policy requests on
    ; IP will usually be 0.0.0.0, which tells GameSrv to listen on all available IP addresses. Only change if you know what this means, and why you need it
    ; Port will usually be 843, but you can set it to anything you want (within the valid range of 1-65535)
    ; Set port to 0 to disable flash socket policy server
    ; NB: Disabling this server means users won't be able to connect with my super awesome flash telnet client, fTelnet -- http://www.ftelnet.ca
    FlashSocketPolicyServerIP=0.0.0.0
    FlashSocketPolicyServerPort=0

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Wednesday, March 02, 2022 20:22:28
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 13:21:23

    If you use SyncTERM to connect directly to Gamesrv, via RLOGIN, and
    deliberately supply a valid username but invalid password, what do

    Logs in both ways, but with rlogin reversed, it uses the password as the name, and the name as a password, and creates a new account.

    Just to clarify, I meant that you should use a *valid* username and an *invalid* password - meaning an account that already exists on Gamesrv, but with a password that shouldn't work. Is that what you did?

    (I'm assuming that Gamesrv actually keeps user accounts and does password authentication. Maybe it doesn't. I don't know very much about it.)

    What I'm looking for is some indication that Gamesrv would log a failure to authenticate.

    ,'syncterm/115200' // terminal-type

    No difference, still won't log in through games.

    I guess that doesn't prove much, but makes a termtype issue less likely.

    maybe this is one of those unsolvable issues. I don't need it on the web,

    Nah, there's always a solution. Will we find it? I dunno.

    You said that after the connection to Gamesrv fails, the user is sent back to your games menu - correct? In other words, they're still connected to your BBS via ftelnet, they're just not on Gamesrv via the BBS.

    And the other items on your Games page work, just not the Gamesrv ones.

    Is there any chance this switch in gamesrv would have anything to do with the problem. If so what should it be set to for webv4.

    ; IP and Port to listen for flash socket policy requests on

    Definitely not. That's a legacy service for Flash applets, and nothing should be using it these days.

    The only other thing I can ask you to try at the moment is another change to rlogin.js. As last time, please copy the file to mods/ and change these lines:

    ,argv[2] // client-name
    ,argv[3] // server-name

    to these:

    ,user.alias // client-name
    ,user.security.password // server-name

    I may have those backward, so if the password ends up being used as the username, just swap those lines around.

    As before, delete the file after testing (unless it works, then just leave it for now).

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Wednesday, March 02, 2022 17:26:42
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Wed Mar 02 2022 08:22 pm

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 13:21:23

    If you use SyncTERM to connect directly to Gamesrv, via RLOGIN, and
    deliberately supply a valid username but invalid password, what do

    Logs in both ways, but with rlogin reversed, it uses the password
    as the name, and the name as a password, and creates a new account.


    Just to clarify, I meant that you should use a *valid* username and an *invalid* password - meaning an account that already exists on Gamesrv, but with a password that shouldn't work. Is that what you did?

    No, I missunderstood you, but I just logged in from syncterm using Rlogin, with the correct name, but wrong password, and it let me in. I'm assuming it just made a new account in gameserver, as there are 3 for me in there now. The logs didn't show anything, but here is the log where I just logged in

    3/2/2022 5:03:36 PM Node 6 (LOGON): Desotofireflite Logging on
    3/2/2022 5:03:36 PM Node 6: Desotofireflite: Running Logon Process
    3/2/2022 5:03:36 PM Node 6: Desotofireflite: Displaying ansi\logon_success (with pause)
    3/2/2022 5:03:37 PM Node 6: Desotofireflite: Running REMIND01
    3/2/2022 5:03:41 PM Node 6: Desotofireflite: External terminated with exit code: 0
    3/2/2022 5:03:41 PM Node 6: Desotofireflite: Changing to MAIN menu
    3/2/2022 5:03:41 PM Node 6: Desotofireflite: At MAIN menu
    3/2/2022 5:03:50 PM Node 6: Desotofireflite: Logging off
    3/2/2022 5:03:50 PM Node 6: Desotofireflite: Running Logoff Process
    3/2/2022 5:03:53 PM Node 6 (LOGOFF): Desotofireflite: Logging off

    (I'm assuming that Gamesrv actually keeps user accounts and does password authentication. Maybe it doesn't. I don't know very much about it.)

    It's fairly loose, as it's set for a login with rlogin, and it set's up the user account with the info optained from rlogon, the user name and password. If it finds it, it logs them in, if it doesn't find it, it creates a new account, and logs them in. I use Handles(alias) only, so users can log in from other systems and play the same games using the same alias.

    What I'm looking for is some indication that Gamesrv would log a failure to authenticate.

    ,'syncterm/115200' // terminal-type

    No difference, still won't log in through games.

    I guess that doesn't prove much, but makes a termtype issue less likely.

    maybe this is one of those unsolvable issues. I don't need it on the
    web,

    Nah, there's always a solution. Will we find it? I dunno.

    I'll stick with it as long as you are willing :)

    You said that after the connection to Gamesrv fails, the user is sent back to your games menu - correct? In other words, they're still connected to your BBS via ftelnet, they're just not on Gamesrv via the BBS.

    correct, it just fails, but doesn't kick you out of the website, you can choose another game and play it.

    And the other items on your Games page work, just not the Gamesrv ones.

    Correct

    Is there any chance this switch in gamesrv would have anything to do
    with the problem. If so what should it be set to for webv4.

    ; IP and Port to listen for flash socket policy requests on

    Definitely not. That's a legacy service for Flash applets, and nothing should be using it these days.

    I thought so, but I wanted to be sure.

    The only other thing I can ask you to try at the moment is another change to rlogin.js. As last time, please copy the file to mods/ and change these lines:

    ,argv[2] // client-name
    ,argv[3] // server-name

    to these:

    ,user.alias // client-name
    ,user.security.password // server-name

    I may have those backward, so if the password ends up being used as the username, just swap those lines around.

    It would not allow me in with these, but you do have it correct, as I changed the lines around, and it passed the wrong info to the other games.

    As before, delete the file after testing (unless it works, then just leave it for now).

    It's mack to the way it was, but I left the lines in the rlogon.js, I just commented them out for now.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- Sticks and stones may break my bones but whips and chains excite me.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Thursday, March 03, 2022 04:52:47
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 17:26:42

    No, I missunderstood you, but I just logged in from syncterm using Rlogin, with the correct name, but wrong password, and it let me in. I'm assuming

    it just made a new account in gameserver, as there are 3 for me in there now. The logs didn't show anything, but here is the log where I just

    Okay, I think I understand. Gamesrv doesn't require unique usernames. If you supply the username and password of an existing account, you get logged in as that user. If the username + password that you provide don't match an existing account, a new one is created.

    Seems like authentication failure is basically impossible, barring any rules surrounding username/password validity (bad characters, too long, too short, etc.)

    ,user.alias // client-name
    ,user.security.password // server-name

    It would not allow me in with these, but you do have it correct, as I changed the lines around, and it passed the wrong info to the other games.

    This pretty much rules out an authentication problem.

    correct, it just fails, but doesn't kick you out of the website, you can choose another game and play it.

    I just tried it and saw different behaviour - after a bit of output from Synchronet's rlogin server, fTelnet got disconnected and the page refreshed.
    I think that's as it should be. Maybe it's different for the sysop.

    I'm stumped for now. I'll ponder it a bit and let you know if I come up with anything. Workarounds are possible, but really shouldn't be necessary.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Thursday, March 03, 2022 07:11:31
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Thu Mar 03 2022 04:52 am

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 17:26:42

    correct, it just fails, but doesn't kick you out of the
    website, you can choose another game and play it.

    I just tried it and saw different behaviour - after a bit of output from Synchronet's rlogin server, fTelnet got disconnected and the page refreshed. I think that's as it should be. Maybe it's different for the sysop.

    Yeah, that's a better description of what it's doing. That's exactly what it is doing. ftelnet fails, and disconnects, and it returns you to the game page, but it doesn't kick you out of the logged in portion of the website, which I considered the bbs, since you don't have to log in again to the website.

    I'm stumped for now. I'll ponder it a bit and let you know if I come up with anything. Workarounds are possible, but really shouldn't be necessary.

    OK, and I understand. Thank You so much for the effort you put into this for me. I'm going to try a few things myself, and I'll let you know if I figure out anything. Again, Thanks.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From DesotoFireflite@VERT/VALHALLA to echicken on Thursday, March 03, 2022 09:19:06
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Thu Mar 03 2022 04:52 am

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Wed Mar 02 2022 17:26:42

    I'm stumped for now. I'll ponder it a bit and let you know if I come up with anything. Workarounds are possible, but really shouldn't be necessary.

    I figured a work around, I loaded the telnet version at the bottom of the list on synchronet where it doesn't show, and it works fine on the web that way but you have to enter yor name and password as expected with telnet. I just excluded the telnet version from showing up on the web.

    Is there a way to sort the game areas on webv4 so I can make it show up at the top of the list on the games web page. I want to sort the catagorys only, not the actual games, but both would be fine also. Then I can make the catigory for Oden's Maze telnet "!Odin's Maze", and it should show up first at the top of the list. Example Below for the Games web page only.

    !Odin's Maze (Putting !, would put it at the top of the list if sorted)
    Odin's maze
    InterBBS Local
    Game1 Game2 Game3 Game4
    Game5 Game5
    Main
    Game1 Game2 Game3 Game4
    Game5 Game6
    Other Systems
    Game1 Game2 Game3 Game4

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- Don't eat the yellow snow!
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Thursday, March 03, 2022 15:26:42
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 09:19:06

    I figured a work around, I loaded the telnet version at the bottom of the list on synchronet where it doesn't show, and it works fine on the web that way but you have to enter yor name and password as expected with telnet. I just excluded the telnet version from showing up on the web.

    Another thing we can try is a separate page for this game server:

    https://gitlab.synchro.net/-/snippets/12

    In this example we're adding two more websocket servers to your BBS, one for HTTP and another for HTTPS. They listen on ports 1513 and 1514 respectively, and those need to be opened to the outside.

    I'd be curious to know if this works. It's removing your Synchronet rlogin server from the equation. fTelnet would connect to one of the new websocket servers, which would connect directly to Gamesrv.

    If it fails the same as before, that'll be informative. If it fails differently, well, that'll be interesting too. If it works, you can either keep this page or we can try to integrate it into your existing Games page.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Thursday, March 03, 2022 13:31:23
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Thu Mar 03 2022 03:26 pm

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 09:19:06
    I'd be curious to know if this works. It's removing your Synchronet rlogin server from the equation. fTelnet would connect to one of the new websocket servers, which would connect directly to Gamesrv.

    I like this idea

    If it fails the same as before, that'll be informative. If it fails differently, well, that'll be interesting too. If it works, you can either keep this page or we can try to integrate it into your existing Games page.

    It failed as before, but took longer to do it. I left it up in case you wanted to check it out. I tried it both on http and https. One think I noticed, it does the same thing weather you are logged in, or not logged in. I checked the gamesrv logs, and it didn't log anything.

    On another note, I played around with what we were doing yesterday to see if I could figure out what it was passing to gamesrv from the games menu. I changed it to the telnet port of 5523, but left the rlogin cammand line, and I was able to see what it passed. The line it passed was:

    DesotoFirefliteC.G.Learnxtrn=gamesrv/30000

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Thursday, March 03, 2022 19:09:52
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 13:31:23

    It failed as before, but took longer to do it. I left it up in case you wanted to check it out. I tried it both on http and https. One think I

    It's actually working perfectly for me right now (via HTTP). I clicked 'connect' and I'm sitting at the Odin's Maze main menu.

    Did you change something? If not, it's likely network realted, working for people outside your LAN but not for you for one reason or another.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to DesotoFireflite on Thursday, March 03, 2022 19:14:18
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 13:31:23

    On another note, I played around with what we were doing yesterday to see if I could figure out what it was passing to gamesrv from the games menu.

    DesotoFirefliteC.G.Learnxtrn=gamesrv/30000

    Thanks - that's as it should be. I was more wondering what Gamesrv was interpreting it as, if it was getting any extra/junk characters/nulls.

    It's still a mystery, even more so now.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Thursday, March 03, 2022 15:07:23
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Thu Mar 03 2022 07:09 pm

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 13:31:23

    It's actually working perfectly for me right now (via HTTP). I clicked 'connect' and I'm sitting at the Odin's Maze main menu.

    It's working for me now also

    Only thing I did, was put last nights SBBS build in to fix a sbbsecho issue.

    Is there a way to only see the gameserv menu after logging in as a user.

    Awesome sauce...Thanks

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- FART(n): An audio test of one's waste-disposal system.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net
  • From echicken@VERT/ECBBS to DesotoFireflite on Thursday, March 03, 2022 20:29:32
    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 15:07:23

    Only thing I did, was put last nights SBBS build in to fix a sbbsecho issue.

    I imagine your BBS/services hadn't recycled/restarted before this, so the new websocket servers weren't running.

    Is there a way to only see the gameserv menu after logging in as a user.

    Yes. I think you'll need to create a 'webctrl.ini' file in the same directory where this page resides (eg. webv4/mods/pages/) and add this to it:

    [*gamesrv.xjs]
    AccessRequirements = LEVEL 50 AND REST NOT G

    Adjust the section name and ARS string to suit your needs. The wildcard is there in the filename so that you can change the numeric prefix of the page without having to update webctrl.ini each time.

    I'm not certain if that'll work, so please let me know how it goes.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From DesotoFireflite@VERT/VALHALLA to echicken on Thursday, March 03, 2022 16:32:29
    Re: webv4 telnet window
    By: echicken to DesotoFireflite on Thu Mar 03 2022 08:29 pm

    Re: webv4 telnet window
    By: DesotoFireflite to echicken on Thu Mar 03 2022 15:07:23

    Only thing I did, was put last nights SBBS build in to fix a
    sbbsecho issue.

    I imagine your BBS/services hadn't recycled/restarted before this, so the new websocket servers weren't running.

    Don't know, but I make it a habit of everytime I change anything, I recycle the server, but maybe closing it down and restarting it was the key for this. It's working, and that's all I care about. I'm gonna play around with it to try to make a different splash screen for it, but that's not important.

    Thanks You so much for sticking with me on this :)

    Is there a way to only see the gameserv menu after logging in as a
    user.

    Yes. I think you'll need to create a 'webctrl.ini' file in the same directory where this page resides (eg. webv4/mods/pages/) and add this to it:

    [*gamesrv.xjs]
    AccessRequirements = LEVEL 50 AND REST NOT G

    Damn, I knew that, don't know where my brain went for that question..LOL

    Adjust the section name and ARS string to suit your needs. The wildcard is there in the filename so that you can change the numeric prefix of the page without having to update webctrl.ini each time.

    I already have, and moved it to a different spot on the top line, and renamed it to Odin's Maze...

    I'm not certain if that'll work, so please let me know how it goes.

    Works like a charm. Again, Thank You, couldn't have done it without you.

    SysOp: C.G. Learn, AKA: DesotoFireflite
    Valhalla Home Services! - (Synchronet) - bbs.valhallabbs.com
    Valhalla II! - (GAP) - bbs.valhallabbs.com:24
    Valhalla III! - (RemoteAccess) - bbs.valhallabbs.com:5023
    Valhalla IIII! - (Dungeons & Dragons BBS) - bbs.valhallabbs.com:26
    Valhalla Home Services Web! - http://bbs.valhallabbs.com
    A Gamers Paradise - Over 150 Registered Online Game Doors!
    Home Of Odin's Maze Game Server!

    --- CAT (n.), Furry keyboard cover.
    þ Synchronet þ Valhalla Home Services þ USA þ http://valhalla.synchro.net