• webv4 telnet window

    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 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 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 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 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