• Port Permissions

    From Mickey@1:103/705 to All on Sun Jan 26 19:10:15 2025
    I have just installed 3.20c on a Pi. The build went alone nicely and the system is mostly working. My issue:

    I execute sbbs with sudo and (according to what I've read) then hand access back to sbbs:sbbs after all the ports are loaded. This works great until ports 11 and 18 are called during operation and of course, access is denied. This does'nt seem to affect the bbs too much but I'd like to correct it (if I can).

    ufw is off and these ports are set-up to forward to the Pi. How do I fix this?

    Thanks,
    ____________

    Mickey - CORSys Synchro
    centralontarioremote.net:12500

    ---
    ■ Synchronet ■ CORSys Synchro
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Mickey on Sun Jan 26 21:16:06 2025
    Re: Port Permissions
    By: Mickey to All on Sun Jan 26 2025 07:10 pm

    I have just installed 3.20c on a Pi. The build went alone nicely and the system is mostly working. My issue:

    I execute sbbs with sudo and (according to what I've read) then hand access back to sbbs:sbbs after all the ports are loaded. This works great until ports 11 and 18 are called during operation and of course, access is denied.

    Why would access be denied?

    Rather than using sudo, consider using setcap instead: https://wiki.synchro.net/howto:linux_non-root

    This does'nt seem to affect the bbs too much but I'd like to correct it (if I can).

    ufw is off and these ports are set-up to forward to the Pi. How do I fix this?

    Most of the default TCP ports that sbbs tries to bind are privileged (i.e. < 1024), so I'm not clear why ports 11 and 18 would be special. Maybe they're just already bound to other services?

    https://wiki.synchro.net/faq:tcpip#bind
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #93:
    XON = Transmit On (ASCII 17, Ctrl-Q)
    Norco, CA WX: 45.8°F, 93.0% humidity, 0 mph E wind, 0.57 inches rain/24hrs
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Mickey@1:103/705 to Digital Man on Mon Jan 27 11:45:11 2025
    Re: Port Permissions
    By: Digital Man to Mickey on Sun Jan 26 2025 21:16:06

    Re: Port Permissions
    By: Mickey to All on Sun Jan 26 2025 07:10 pm

    I have just installed 3.20c on a Pi. The build went alone nicely and the
    system is mostly working. My issue:

    Rather than using sudo, consider using setcap instead: https://wiki.synchro.net/howto:linux_non-root

    This wiki entry helped I think, at least so far. I followed your direction, re-booted the Pi and it seems to be working.

    Thanks for the direction. :-)
    ____________

    Mickey - CORSys Synchro
    centralontarioremote.net:2323

    ---
    ■ Synchronet ■ CORSys Synchro
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)