• Telgate

    From Lab Rat@VERT/TOXIC to All on Fri Sep 20 00:33:37 2013
    Hi All,

    I was just wondering if it was possible to use Telgate to connect to another BBS and also log in using a predefined user name and password before allowing access to the user?

    Any code snippets welcome, project is to be given away and has potential to be enjoyed by a lot of users. Unfortunately, Javascript is not my strong point (I find Baja easier, but I know it's going out of fashion so I was hoping for a JS alternative).

    Mark.


    ---
    þ Synchronet þ Toxic Laboratory BBS - Birmingham, UK - toxicbbs.com
  • From echicken@VERT/ECBBS to Lab Rat on Thu Sep 19 23:16:24 2013
    Re: Telgate
    By: Lab Rat to All on Thu Sep 19 2013 17:33:37

    I was just wondering if it was possible to use Telgate to connect to another BBS and also log in using a predefined user name and password before allowing access to the user?

    Probably not exactly what you're looking for, but a while ago I added the TG_SENDPASS flag for a similar purpose. Usage is:

    bbs.telnet_gate(hostname, TG_RLOGIN|TG_SENDPASS);

    This opens an rlogin session with 'hostname', sending the username and password of the currently logged-in user. For this to work, the remote system needs to be ready to accept that username & password combo.

    I do see a bbs.change_user method in the docs, which I've never used. You might be able to call it prior to calling bbs.telnet_gate, switching to a user whose credentials are known to be valid on the remote system (then again afterward to switch back.) Of course, I might be misinterpreting what this method does, or the extent to which it does it.

    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

    ---
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From IB JOE@VERT/JOESBBS to LAB RAT on Fri Sep 20 17:51:00 2013
    I was just wondering if it was possible to use Telgate to connect to another BBS and also log in using a predefined user name and password before allowing
    access to the user?

    Any code snippets welcome, project is to be given away and has potential to be
    enjoyed by a lot of users. Unfortunately, Javascript is not my strong point (I
    find Baja easier, but I know it's going out of fashion so I was hoping for a JS
    alternative).

    I think you want to look into rlogin

    Joe
    ---
  • From The Millionaire@VERT/PARKAVE to Lab Rat on Sun Sep 22 21:53:43 2013
    Re: Telgate
    By: Lab Rat to All on Thu Sep 19 2013 05:33 pm

    Hi All,

    I was just wondering if it was possible to use Telgate to connect to
    another BBS and also log in using a predefined user name and password
    before allowing access to the user?

    Any code snippets welcome, project is to be given away and has potential to be enjoyed by a lot of users. Unfortunately, Javascript is not my strong point (I find Baja easier, but I know it's going out of fashion so I was hoping for a JS alternative).

    Mark.


    Yes Telgating is still possible in Synchronet. All you have to do is go to you r external programs and set up an area.

    $ The Millionaire $
    Park Avenue Place
    Surrey, B.C., Canada
    the.millionaire@parkave.synchro.net

    ---
    þ Synchronet þ Park Avenue Place - parkave.synchro.net
  • From MCMLXXIX@VERT/MDJ to The Millionaire on Mon Sep 23 17:19:28 2013
    Re: Telgate
    By: The Millionaire to Lab Rat on Sun Sep 22 2013 14:53:43

    I was just wondering if it was possible to use Telgate to connect to another BBS and also log in using a predefined user name and password before allowing access to the user?

    Yes Telgating is still possible in Synchronet. All you have to do is go to y r external programs and set up an area.

    really? is that all you have to do?

    ---
    þ Synchronet þ The BRoKEN BuBBLE (MDJ.ATH.CX)
  • From Lab Rat@VERT/TOXIC to The Millionaire on Tue Sep 24 10:36:29 2013
    Re: Telgate
    By: The Millionaire to Lab Rat on Sun Sep 22 2013 14:53:43

    Yes Telgating is still possible in Synchronet. All you have to do is go to y r external programs and set up an area.

    I think you missed my point there. I know telgating is possible, but I want to connect to another system by telnet (or RLogin, or any way possible) and log in as a specific user, no matter who is connecting. I am looking for a way to pass the user name and password to the remote system without the user who is connecting to intercept the details or be able to log in as anything else themselves.


    ---
    þ Synchronet þ Toxic Laboratory BBS - Birmingham, UK - toxicbbs.com
  • From Lab Rat@VERT/TOXIC to echicken on Tue Sep 24 10:47:57 2013
    Re: Telgate
    By: echicken to Lab Rat on Thu Sep 19 2013 16:16:24

    bbs.telnet_gate(hostname, TG_RLOGIN|TG_SENDPASS);

    This opens an rlogin session with 'hostname', sending the username and passw of the currently logged-in user. For this to work, the remote system needs be ready to accept that username & password combo.

    I do see a bbs.change_user method in the docs, which I've never used. You might be able to call it prior to calling bbs.telnet_gate, switching to a us whose credentials are known to be valid on the remote system (then again afterward to switch back.) Of course, I might be misinterpreting what this method does, or the extent to which it does it.

    Thanks for your thoughts. I've had a play around with this for hours now and
    am still failing to find a way to do it. The remote system is going to be a Synchronet system that I am running myself, so any necessary changes can be made to the log in process on there too.

    bbs.change_user might be a little tricky because I do actually want to pass
    the current logged in user to the remote system. Basically, I want the system itself to have a user account on the remote system, and every system which connects has a 8 character username. When connecting, the current logged in user's account number is appended to the end of the 8 character user name. I have already set up the remote system to only read the first eight characters of the user name so that the initial system can connect, but the remote system is aware of both which system is calling AND who is calling on it (by taking everything after the eighth character as the user on the system calling). You can then essentially have a unique user on the remote system without them having to create an account of their own. Then, the log in can be automated and they can access, say, a door from the initial system without any log in.

    The ultimate aim is some sort of inter-BBS door game which works irrespective of the BBS software type of the initial connecting BBS. I know it's been done before, and there are other ways of doing it, but this is the way I am trying to approach it because, well, I want to I suppose!


    ---
    þ Synchronet þ Toxic Laboratory BBS - Birmingham, UK - toxicbbs.com
  • From Digital Man@VERT to Lab Rat on Tue Sep 24 09:45:56 2013
    Re: Telgate
    By: Lab Rat to The Millionaire on Tue Sep 24 2013 03:36 am

    Re: Telgate
    By: The Millionaire to Lab Rat on Sun Sep 22 2013 14:53:43

    Yes Telgating is still possible in Synchronet. All you have to do is go to y r external programs and set up an area.

    I think you missed my point there. I know telgating is possible, but I want to connect to another system by telnet (or RLogin, or any way possible) and log in as a specific user, no matter who is connecting. I am looking for a way to pass the user name and password to the remote system without the
    user who is connecting to intercept the details or be able to log in as anything else themselves.

    Then RLogin is your protocol of choice.

    digital man

    Synchronet "Real Fact" #81:
    Flapuebarg unf vagreany ebg13 fhccbeg sbe fhcresvpvnyyl rapelcgvat grkg. Weather station currently offline (out for repair)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net