• Can't start telnet server...

    From Shurato@21:2/148 to All on Tue Jul 9 01:52:00 2024
    I'm getting the following:
    01:33:21 MANAGER Starting event system
    ░│ 01:33:21 MANAGER Starting 1 server(s)
    ░│ 01:33:21 TELNET Unable to open IPV4 port: Error -1 (13)
    ░│ 01:33:21 TELNET Unable to open IPV6 port: Error -1 (13)
    ░│ 01:33:21 MANAGER Cryptlib not detected; SSL/SSH capabilities disabled
    ░│ 01:33:21 EVENT Starting 0 event(s)

    I used the install utility, but I don't know what I need to do to enable the telnet server to open the port. I checked the wiki to no avail. FAQ too.
    I'm running Ubuntu 22.04 (24.04 was way too unstable for me) in a VMWare VM under a Windows 10 Pro 64Bit Host. I'm not worried about the cryptlib error, I'm just running this to start my BBS under Linux.

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    *** THE READER V4.50 [freeware]
    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Avon@21:1/101 to Shurato on Tue Jul 9 20:19:23 2024
    On 09 Jul 2024 at 01:52a, Shurato pondered and said...

    I'm getting the following:
    01:33:21 MANAGER Starting event system
    ░│ 01:33:21 MANAGER Starting 1 server(s)
    ░│ 01:33:21 TELNET Unable to open IPV4 port: Error -1 (13)
    ░│ 01:33:21 TELNET Unable to open IPV6 port: Error -1 (13)
    ░│ 01:33:21 MANAGER Cryptlib not detected; SSL/SSH capabilities disabled ░│ 01:33:21 EVENT Starting 0 event(s)

    I used the install utility, but I don't know what I need to do to enable the telnet server to open the port. I checked the wiki to no avail.
    FAQ too. I'm running Ubuntu 22.04 (24.04 was way too unstable for me) in
    a VMWare VM under a Windows 10 Pro 64Bit Host. I'm not worried about
    the cryptlib error, I'm just running this to start my BBS under Linux.


    I would not worry about the cryptlib error to start with as that can be resolved by installing the correct Cryptlib dll ... the wiki has a section about this.

    As for the Telnet port, is it a case of not enough privileges, when you start mis server do you run it with elevated privileges using sudo? It will need those to bind to the lower numbered ports.

    [snip]

    When running in Linux/macOS keep in mind that by default the operating
    system will not let a service bind to a port less than 1025 unless it is a
    ROOT user (in Linux) and NOT AT ALL in MacOS.

    In Linux, MIS has the ability to switch from root back to whatever the user
    and group is that owns the executable AFTER it binds to the ports it needs
    for the server. So in Linux you can simply do a:

    sudo ./mis

    Or if you want to run it as a DAEMON you can do:

    sudo ./mis -d

    As mentioned, it will not run as root. It will only use root to immediately
    bind the ports and then it will switch to the user who owns the executable.

    There are other ways to reconfigure Linux to allow a specific user to bind to
    ports less than 1024 but that is not yet covered in this documentation.


    [snip]

    Kerr Avon [Blake's 7] 'I'm not expendable, I'm not stupid and I'm not going' avon[at]bbs.nz | bbs.nz | fsxnet.nz

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: Agency BBS | Dunedin, New Zealand | agency.bbs.nz (21:1/101)
  • From Bucko@21:4/131 to Shurato on Tue Jul 9 18:10:33 2024
    On 09 Jul 2024, Shurato said the following...
    ░│ 01:33:21 TELNET Unable to open IPV4 port: Error -1 (13)
    ░│ 01:33:21 TELNET Unable to open IPV6 port: Error -1 (13)

    Make sure you are not using port 23 in Linux. It won't work, can't remember the minimum port number though, if you want to use 23 then set the BBS up as 2300 and port forward 23 to 2300. That is how I handle it..


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... If all the world is a stage, where is the audience sitting?

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Bucko@21:4/131 to All on Tue Jul 9 18:12:07 2024
    On 09 Jul 2024, Bucko said the following...


    Make sure you are not using port 23 in Linux. It won't work, can't remember the minimum port number though, if you want to use 23 then set the BBS up as 2300 and port forward 23 to 2300. That is how I handle it..

    Ah, Avon to the rescue it is lower then port 1025, so if you don't want to run in Sudo, you can set the BBS as 2300 and port forward 2300 to 23 or whatever port you are using below 1025..


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... We all live in a yellow subroutine...

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Accession@21:1/200 to Bucko on Tue Jul 9 19:04:58 2024
    On Tue, 9 Jul 2024 23:12:06 -0400, you wrote:

    Ah, Avon to the rescue it is lower then port 1025, so if you don't want
    to run in Sudo, you can set the BBS as 2300 and port forward 2300 to 23
    or whatever port you are using below 1025..

    You can also take a look into 'cap_net_bind_service' in order to bind to lower ports without sudo (as a regular user).

    Regards,
    Nick

    ... Take my advice, I don't use it anyway.
    --- Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:115.0) Gecko/20100101 Thunderb
    * Origin: _thePharcyde distribution system (Wisconsin) (21:1/200)
  • From Shurato@21:2/148 to Bucko on Wed Jul 10 12:32:00 2024

    * In a message originally to Shurato, Bucko said:

    On 09 Jul 2024, Shurato said the following...
    ░│ 01:33:21 TELNET Unable to open IPV4 port: Error -1 (13) ░│ 01:33:21 TELNET Unable to open IPV6 port: Error -1 (13)

    Make sure you are not using port 23 in Linux. It won't work, can't
    remember the minimum port number though, if you want to use 23 then set
    the BBS up as 2300 and port forward 23 to 2300. That is how I handle it..

    Thanks! Would I port forward from my modem or from Linux? My modem can't
    port forward to a different port and anyway has no more port forwarding rules available (I'm aleady using 16...).

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Shurato@21:2/148 to Accession on Wed Jul 10 12:39:00 2024

    On Tue, 9 Jul 2024 23:12:06 -0400, you wrote:

    Ah, Avon to the rescue it is lower then port 1025, so if you don't
    want
    to run in Sudo, you can set the BBS as 2300 and port forward 2300 to
    23
    or whatever port you are using below 1025..

    You can also take a look into 'cap_net_bind_service' in order to bind to lower ports without sudo (as a regular user).

    I'll check that out!

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    *** THE READER V4.50 [freeware]
    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Shurato@21:2/148 to Accession on Wed Jul 10 15:49:00 2024

    On Tue, 9 Jul 2024 23:12:06 -0400, you wrote:

    Ah, Avon to the rescue it is lower then port 1025, so if you don't
    want
    to run in Sudo, you can set the BBS as 2300 and port forward 2300 to
    23
    or whatever port you are using below 1025..

    You can also take a look into 'cap_net_bind_service' in order to bind to lower ports without sudo (as a regular user).

    That did it!

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    *** THE READER V4.50 [freeware]
    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Bucko@21:4/131 to Shurato on Wed Jul 10 18:17:36 2024
    On 10 Jul 2024, Shurato said the following...


    Thanks! Would I port forward from my modem or from Linux? My modem
    can't port forward to a different port and anyway has no more port forwarding rules available (I'm aleady using 16...).


    You would port forward on your Router. Usually 192.168.1.1 more then likely the password is admin see if there are any menus for port forwarding. Above Assession (Sorry if I misspelled your handle) posted also you could cap_net_bind_service, I never used this but many he could explain it a bit more so you might be able to use that if you can't change port forwarding ports..

    AL


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Press any key to continue or any other key to quit...

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Bucko@21:4/131 to Shurato on Wed Jul 10 18:18:38 2024
    On 10 Jul 2024, Shurato said the following...

    You can also take a look into 'cap_net_bind_service' in order to bind lower ports without sudo (as a regular user).

    That did it!


    There ya go. Great Job Assession!!!

    I should Google how to use that for the future! LOL


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... Unzip... expand... What kind of pervert came up with this?

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Shurato@21:2/148 to Bucko on Wed Jul 10 17:41:00 2024

    * In a message originally to Shurato, Bucko said:

    On 10 Jul 2024, Shurato said the following...


    Thanks! Would I port forward from my modem or from Linux? My modem can't port forward to a different port and anyway has no more port forwarding rules available (I'm aleady using 16...).


    You would port forward on your Router. Usually 192.168.1.1 more then
    likely the password is admin see if there are any menus for port
    forwarding. Above Assession (Sorry if I misspelled your handle) posted
    also you could cap_net_bind_service, I never used this but many he could explain it a bit more so you might be able to use that if you can't change port forwarding ports..

    Yeah, I was able to use cap_net_bind_service successfully.

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Shurato@21:2/148 to Bucko on Wed Jul 10 20:33:00 2024

    On 10 Jul 2024, Shurato said the following...

    You can also take a look into 'cap_net_bind_service' in order to
    bind
    lower ports without sudo (as a regular user).

    That did it!


    There ya go. Great Job Assession!!!

    I should Google how to use that for the future! LOL

    setcap 'cap_net_bind_service=+ep' /path/to/mis

    --
    Shurato, Sysop Shurato's Heavenly Sphere (ssh, telnet, pop3, ftp,nntp,
    ,wss) (Ports 22,23,110,21,119,8080) (ssh login 'bbs' pass 'shsbbs').


    *** THE READER V4.50 [freeware]
    ---
    * Origin: Shurato's Heavenly Sphere telnet://shsbbs.net (21:2/148)
  • From Bucko@21:4/131 to Shurato on Thu Jul 11 18:13:33 2024

    On 10 Jul 2024, Shurato said the following...


    I should Google how to use that for the future! LOL

    setcap 'cap_net_bind_service=+ep' /path/to/mis


    Thanks... Appreciate it...


    |11 Bucko |14- |06Wrong Number Family Of BBS' |07- |03www.wrgnbr.com

    ... A truly wise man never argues with a Unicorn

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)