• Telnet session not allowed

    From Stephen Atkins@1:342/13 to All on Wed Jan 27 16:15:27 2016
    Hello everyone. I've been making some head way on this new ArchLinux and MBSE but I've hit yet another snag. I can connect to the bbs using ssh but for telnet it's giving me an error after logging in that "BBS is not allowed on this port". I thought this strange as the docs say network connections don't need to be setup in the TTY Lines any more. That and I haven't setup any for the SSH connections. It must be something that telnetd is reporting back to the mblogin program but I don't know how to find this out.

    Stephen


    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

    --- MBSE BBS v1.0.6 (GNU/Linux-x86_64)
    * Origin: The Bit Bucket BBS (1:342/13)
  • From Vince Coen@2:250/1 to Stephen Atkins on Thu Jan 28 00:40:03 2016
    Hello Stephen!

    Wednesday January 27 2016 16:15, you wrote to All:

    Hello everyone. I've been making some head way on this new ArchLinux
    and MBSE but I've hit yet another snag. I can connect to the bbs
    using ssh but for telnet it's giving me an error after logging in that
    "BBS is not allowed on this port". I thought this strange as the docs
    say network connections don't need to be setup in the TTY Lines any
    more. That and I haven't setup any for the SSH connections. It must
    be something that telnetd is reporting back to the mblogin program but
    I don't know how to find this out.

    Have you got in /etc -

    xinetd.d

    and in that mbsebbs

    that contains:

    #:MBSE BBS services are defined here.
    #
    # Author: Michiel Broek <mbse@mbse.eu>, 27-Sep-2004

    service binkp
    {
    socket_type = stream
    protocol = tcp
    wait = no
    user = mbse
    instances = 10
    server = /home/mbse/bin/mbcico
    server_args = -t ibn
    }

    service fido
    {
    socket_type = stream
    protocol = tcp
    wait = no
    user = mbse
    instances = 10
    server = /home/mbse/bin/mbcico
    server_args = -t ifc
    }

    service tfido
    {
    socket_type = stream
    protocol = tcp
    wait = no
    user = mbse
    instances = 10
    server = /home/mbse/bin/mbcico
    server_args = -t itn
    }

    # Telnet to the bbs using mblogin, disabled by default.
    #
    service telnet
    {
    disable = no
    protocol = tcp
    instances = 10
    flags = REUSE
    log_on_failure += USERID
    socket_type = stream
    user = root
    server = /usr/sbin/telnetd
    server_args = -L /home/mbse/bin/mblogin
    wait = no
    }


    If so then change the 'disable = no' to 'disable = yes'

    Now this is on the basis that you have installed telnetd !


    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Stephen Atkins@1:342/13 to Stephen Atkins on Thu Jan 28 13:15:56 2016
    Stephen Atkins wrote to All:
    Hello everyone. I've been making some head way on this new ArchLinux and MBSE
    but I've hit yet another snag. I can connect to the bbs using ssh but for telnet it's giving me an error after logging in that "BBS is not allowed on
    this port". I thought this strange as the docs say network connections don't
    need to be setup in the TTY Lines any more. That and I haven't setup any for
    the SSH connections. It must be something that telnetd is reporting back to
    the mblogin program but I don't know how to find this out.

    Not to worry everyone. I got it figured out. Turns out my xinet.d was not being run at boot when I thought it was. Sorry for the hassle.

    Stephen


    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

    --- MBSE BBS v1.0.6 (GNU/Linux-x86_64)
    * Origin: The Bit Bucket BBS (1:342/13)
  • From Stephen Atkins@1:342/13 to Vince Coen on Fri Jan 29 08:47:47 2016
    Vince Coen wrote to Stephen Atkins:
    Hello Stephen!

    Wednesday January 27 2016 16:15, you wrote to All:

    Hello everyone. I've been making some head way on this new ArchLinux and MBSE but I've hit yet another snag. I can connect to the bbs
    using ssh but for telnet it's giving me an error after logging in that "BBS is not allowed on this port". I thought this strange as the docs say network connections don't need to be setup in the TTY Lines any more. That and I haven't setup any for the SSH connections. It must
    be something that telnetd is reporting back to the mblogin program but
    I don't know how to find this out.

    Have you got in /etc -

    xinetd.d

    and in that mbsebbs


    So I spoke to soon in my previous email. xinetd is being run at boot. I have that exact same file you have in your reply to me in my /etc/xinetd.d directory. When I run the xinetd service manually it shows in the logs that it
    is listening on that port (22). I have telnetd installed but noticed that I had to change the -L /opt/mbse/mblogin to a -E in this version of telnetd.

    So my machine does answer the telnet connection and let me log in to the bbs and shows me the first welcome screen. At the bottom of that welcome screen it
    says "BBS is not allowed on thsi port" and hangs up. When I connected this time the sysop shows that I was connect to pts/3. Is it possible that ArchLinux has a different naming for telnet sessions? I do thind this strange in that I can SSH as right now I'm using the board in a ssh session and it's on
    tty pts/1.

    Stephen


    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

    --- MBSE BBS v1.0.6 (GNU/Linux-x86_64)
    * Origin: The Bit Bucket BBS (1:342/13)
  • From Vince Coen@2:250/1 to Stephen Atkins on Sat Jan 30 01:29:37 2016
    Hello Stephen!

    Friday January 29 2016 08:47, you wrote to me:

    It might not be too happy by you using a local port to do a telnet - can't remember when I played with it but I do have issues using Mageia in that creating passwords (or updating them) is an issue.

    So try logging in using the internet round robin by running telnet to your IP address and see what happens then.

    Next go into the setting menus option 6 and check if you have enabled all tty ports (1 - 6) by setting

    6 = Local
    7 = Yes
    9 = No


    Vince

    OK, clutching at straws here :)



    Vince Coen wrote to Stephen Atkins:
    Hello Stephen!

    Wednesday January 27 2016 16:15, you wrote to All:

    Hello everyone. I've been making some head way on this new
    ArchLinux
    and MBSE but I've hit yet another snag. I can connect to the
    bbs
    using ssh but for telnet it's giving me an error after logging
    in that
    "BBS is not allowed on this port". I thought this strange as
    the docs
    say network connections don't need to be setup in the TTY Lines
    any
    more. That and I haven't setup any for the SSH connections.
    It must
    be something that telnetd is reporting back to the mblogin
    program but
    I don't know how to find this out.

    Have you got in /etc -

    xinetd.d

    and in that mbsebbs


    So I spoke to soon in my previous email. xinetd is being run at boot.
    I have that exact same file you have in your reply to me in my
    /etc/xinetd.d directory. When I run the xinetd service manually it
    shows in the logs that it is listening on that port (22). I have
    telnetd installed but noticed that I had to change the -L
    /opt/mbse/mblogin to a -E in this version of telnetd.

    So my machine does answer the telnet connection and let me log in to
    the bbs and shows me the first welcome screen. At the bottom of that welcome screen it says "BBS is not allowed on thsi port" and hangs up.
    When I connected this time the sysop shows that I was connect to
    pts/3. Is it possible that ArchLinux has a different naming for
    telnet sessions? I do thind this strange in that I can SSH as right
    now I'm using the board in a ssh session and it's on tty pts/1.

    Stephen


    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca



    Vince

    --- Mageia Linux v5/Mbse v1.0.6/GoldED+/LNX 1.1.501-b20150715
    * Origin: Air Applewood, The Linux Gateway to the UK (2:250/1)
  • From Stephen Atkins@1:342/13 to Vince Coen on Tue Feb 2 11:09:59 2016
    Vince Coen wrote to Stephen Atkins:
    Hello Stephen!

    Friday January 29 2016 08:47, you wrote to me:

    It might not be too happy by you using a local port to do a telnet - can't remember when I played with it but I do have issues using Mageia in that creating passwords (or updating them) is an issue.

    So try logging in using the internet round robin by running telnet to your IP
    address and see what happens then.

    Next go into the setting menus option 6 and check if you have enabled all tty
    ports (1 - 6) by setting

    So I checked those setting and they where correct. So I ended up adding 6 new ports name pts/1 thru /6. I was then able to telnet in from my work machine (on a completely different ISP) through telnet. The original 1 thru 6 are still using tty1 thru tty6 and are basically local only ports (must be at console). Any way it works now so I'm happier. Now I just got to get my door games and systemd start up script working. For now I'm logging in at tty1 with
    my mbse user and running mbtask manually.

    Stephen


    ---
    The Bit Bucket BBS - telnet://bbs.thebitbucket.ca

    --- MBSE BBS v1.0.6 (GNU/Linux-x86_64)
    * Origin: The Bit Bucket BBS (1:342/13)