• SSH connections in daemon mode

    From Al@21:5/102 to g00r00 on Sat Dec 29 01:32:46 2018
    Hello g00r00,

    I can't seem to connect to the BBS with SSH when I run mis in daemon mode. I can connect fine when I run mis in server mode.

    All else including encrypted netmail and IPv6 to the hub is working as
    expected since I updated a short time ago.

    The log..

    --------------------- Mystic v1.12 A42 2018/12/29 Sat, Dec 29 2018 (loglevel 3

    + 2018.12.29 01:10:53 MANAGER Starting event system
    + 2018.12.29 01:10:53 MANAGER Starting 4 server(s)
    + 2018.12.29 01:10:53 MANAGER Starting servers in DAEMON mode
    + 2018.12.29 01:10:53 BINKP Listening on IPV4 port 24560 using interface "0.0. .0"
    + 2018.12.29 01:10:53 BINKP Listening on IPV6 port 24560 using interface "::" + 2018.12.29 01:10:53 SSH Listening on IPV4 port 2222 using interface "0.0.0.0

    + 2018.12.29 01:10:53 SSH Listening on IPV6 port 2222 using interface "::"
    + 2018.12.29 01:10:53 RLOGIN Listening on IPV4 port 513 using interface "0.0.0 0"
    + 2018.12.29 01:10:53 RLOGIN Listening on IPV6 port 513 using interface "::"
    + 2018.12.29 01:10:53 TELNET Listening on IPV4 port 2323 using interface "0.0. .0"
    + 2018.12.29 01:10:53 TELNET Listening on IPV6 port 2323 using interface "::" + 2018.12.29 01:10:53 EVENT Starting 2 event(s)
    + 2018.12.29 01:11:02 SSH > Connect on slot 1/5 (75.155.238.60)
    + 2018.12.29 01:11:02 SSH 1-HostName d75-155-238-60.bchsia.telus.net
    + 2018.12.29 01:11:02 SSH 1-Negotiating SSH session
    + 2018.12.29 01:11:02 SSH 1-Session failed

    Ttyl :-),
    Al


    --- Mystic BBS v1.12 A42 2018/12/29 (Linux/64)
    * Origin: Nemesis BBS - Penticton, BC Canada (21:5/102)
  • From g00r00@21:1/108 to Al on Sat Dec 29 14:16:08 2018
    Hello g00r00,

    I can't seem to connect to the BBS with SSH when I run mis in daemon
    mode. I can connect fine when I run mis in server mode.

    I did see your message and I was doing some testing on my 64-bit system. For me it does fail but only the very first connection after startup. After that it seems to work fine.

    It also seems specific to 64-bit Linux too, all over versions do not have
    this issue.

    Can you double check to see if it works after the first attempt to connect?

    All else including encrypted netmail and IPv6 to the hub is working as expected since I updated a short time ago.

    Great to hear!

    --- Mystic BBS v1.12 A42 2018/12/29 (Windows/32)
    * Origin: Sector 7 [Mystic BBS WHQ] (21:1/108)
  • From Al@21:5/102 to g00r00 on Sat Dec 29 15:37:14 2018
    On 29 Dec 2018, g00r00 said the following...

    I did see your message and I was doing some testing on my 64-bit system. For me it does fail but only the very first connection after startup. After that it seems to work fine.

    I had dupe IP set to 1 before so subsequent tries to log in reported a duplicate IP. I have it set to 0 now.

    I do see the login screen now but it fails to detect my terminal and asks
    me.. 0 for ascii or 1 for ansi but it doesn't accept my keyboard input.

    I did see that login screen with both syncterm and nodespy but am not getting
    a response at the moment and I see this in mis.log

    + 2018.12.29 15:15:37 SSH > Connect on slot 5/5 (127.0.0.1)
    + 2018.12.29 15:15:37 SSH 5-HostName localhost
    + 2018.12.29 15:15:37 SSH 5-Negotiating SSH session

    The above was from a call from nodespy when mis was in daemon mode.

    I have a quick question about shutting down mis gracefully when I make
    changes to the config and want to restart. I have always used "killall mis"
    to shut it down when I need to restart but that doesn't shut it down completely. It stops most of the mis threads but a few remain and I have to "killall -9 mis" to get the remaining ones to stop.

    Is there a better way to shut down mis when it's in daemon mode?

    Ttyl :-),
    Al


    --- Mystic BBS v1.12 A42 2018/12/29 (Linux/64)
    * Origin: Nemesis BBS - Penticton, BC Canada (21:5/102)
  • From Michael Borthwick@21:4/132 to Al on Sun Dec 30 11:20:02 2018
    Is there a better way to shut down mis when it's in daemon mode?

    I use

    sudo mis shutdown

    --- Mystic BBS v1.12 A41 2018/12/27 (Raspberry Pi/32)
    * Origin: Fusion BBS ~ Newcastle, Australia (21:4/132)
  • From Al@21:5/102 to Michael Borthwick on Sat Dec 29 16:36:16 2018
    On 30 Dec 2018, Michael Borthwick said the following...

    Is there a better way to shut down mis when it's in daemon mode?

    I use

    sudo mis shutdown

    Ahh.. I should have realized mis had a shutdown option.. :)

    Ttyl :-),
    Al


    --- Mystic BBS v1.12 A42 2018/12/29 (Linux/64)
    * Origin: Nemesis BBS - Penticton, BC Canada (21:5/102)