• Telnet binding on Synchronet Linux constantly breaks.

    From Psi-Jack@VERT to All on Friday, August 15, 2014 12:50:17
    I'm running SBBS on Linux, built from CVS per the instructions, and I keep noticing a very specific problem. When I have the BBS running, and I add an external program, sbbs will stop the Terminal nodes, bound for port 23, and recycle them, however, many times when it does that, it gets an ERROR 98 binding telnet server for port 23.

    Basically the only solution I have to recover it is to stop it for about 1 minute and start it back and it does fine again for a while.

    Otherwise, the telnet portion just stays down and doesn't come back.

    I'm not running sbbs as a daemon, yet, and I am running it as a regular user, sbbs's exe is setcap'd to allow binding to privileged ports below 1024 so it should be fine. This problem did happen while using sbbs as root with priledge de-escelation as well. I have not tried root actual as I'd prefer it not run as
    root.

    Any solutions to this issue besides kicking it everytime it fails?

    Thanks,
    Eric Renfro


    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Khelair@VERT/TINFOIL to Psi-Jack on Friday, August 15, 2014 17:13:13
    Re: Telnet binding on Synchronet Linux constantly breaks.
    By: Psi-Jack to All on Fri Aug 15 2014 12:50:17

    I'm running SBBS on Linux, built from CVS per the instructions, and I keep noticing a very specific problem. When I have the BBS running, and I add an external program, sbbs will stop the Terminal nodes, bound for port 23, and recycle them, however, many times when it does that, it gets an ERROR 98 binding telnet server for port 23.

    Well, I read the rest of your message, and understand that what I'm going to say here isn't totally applicable, but meh, if it isn't then maybe it'll at least bring some notice to the issue...
    I've had the telnet pr0t binding issue on OpenBSD here, as well, so it's [presumably] a POSIX or *NIX general issue. I've just had to make sure that whenever I restart the system that I run an alias that I've set, instead; namely, 'sleep 120;/sbbs/exec/sbbs'. The 120 second delay seems to work every time for letting the pr0ts reset, as opposed to 75-90, which works most of the time, but not all. I've also jiggled my settings around a bit; if you're willing to wait for awhile, just resetting your terminal retry delay and maximum terminal binding attempts a bit higher should work, also... Unless, perhaps, each binding attempt pushes the pr0t reset back further... :P
    Any info on the details for this from a dev would be much appreciated.

    ---
    þ Synchronet þ Tinfoil Tetrahedron BBS telnet or ssh -p 2222 to tinfoil.synchro.net
  • From mark lewis@VERT to Psi-Jack on Saturday, August 16, 2014 12:33:32
    On Fri, 15 Aug 2014, Psi-Jack wrote to All:

    I'm running SBBS on Linux, built from CVS per the instructions, and
    I keep noticing a very specific problem. When I have the BBS
    running, and I add an external program, sbbs will stop the Terminal
    nodes, bound for port 23, and recycle them, however, many times
    when it does that, it gets an ERROR 98 binding telnet server for
    port 23.

    HINT: ctrl/sbbs.ini

    BindRetryCount=10
    BindRetryDelay=30

    stop your sbbs; sleep 60 (at least); start your sbbs

    let us know how it goes ;)

    )\/(ark


    * Origin: (1:3634/12)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From Deuce@VERT/SYNCNIX to Psi-Jack on Sunday, August 17, 2014 21:37:56
    Re: Telnet binding on Synchronet Linux constantly breaks.
    By: Psi-Jack to All on Fri Aug 15 2014 12:50 pm

    I'm running SBBS on Linux, built from CVS per the instructions, and I keep noticing a very specific problem. When I have the BBS running, and I add an external program, sbbs will stop the Terminal nodes, bound for port 23, and recycle them, however, many times when it does that, it gets an ERROR 98 binding telnet server for port 23.

    From http://wiki.synchro.net/faq:tcpip#bind
    you can add the following line to your ctrl/sockopts.ini file:

    REUSEADDR=1


    ---
    http://DuckDuckGo.com/ a better search engine that respects your privacy.
    þ Synchronet þ My Brand-New BBS (All the cool SysOps run STOCK!)
  • From Digital Man@VERT to Psi-Jack on Monday, August 18, 2014 17:28:47
    Re: Telnet binding on Synchronet Linux constantly breaks.
    By: Psi-Jack to All on Fri Aug 15 2014 12:50 pm

    I'm running SBBS on Linux, built from CVS per the instructions, and I keep noticing a very specific problem. When I have the BBS running, and I add an external program, sbbs will stop the Terminal nodes, bound for port 23, and recycle them, however, many times when it does that, it gets an ERROR 98 binding telnet server for port 23.

    (from Linux's errno.h):
    #define EADDRINUSE 98 /* Address already in use */

    Basically the only solution I have to recover it is to stop it for about 1 minute and start it back and it does fine again for a while.

    Otherwise, the telnet portion just stays down and doesn't come back.

    I'm not running sbbs as a daemon, yet, and I am running it as a regular user, sbbs's exe is setcap'd to allow binding to privileged ports below
    1024 so it should be fine. This problem did happen while using sbbs as root with priledge de-escelation as well. I have not tried root actual as I'd prefer it not run as root.

    Any solutions to this issue besides kicking it everytime it fails?

    http://wiki.synchro.net/faq:tcpip#bind

    digital man

    Synchronet "Real Fact" #68:
    You can purchase the BBS Documentary DVD set at http://bbsdocumentary.com/order/
    Norco, CA WX: 85.0øF, 47.0% humidity, 11 mph ESE wind, 0.00 inches rain/24hrs

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net