• netstat

    From Dumas Walker@1:103/705 to DIGITAL MAN on Thursday, May 24, 2018 19:21:00
    Did you just just run 'netstat' with no arguments? You must include the -l or -a options to display listening ports:

    I am trying -lp. I may be very dense but I don't see any of the port
    numbers I am trying to use (21, 23, 80) anywhere in either list it produces.

    One problem, since fixed, was that I was not running as su. :)

    On the 32-bit machine sbbs is currently running on, I do get the service
    name, like 'http', 'telnet', 'ftp', and they are all being used by sbbs.

    On the machine in question, the only one that shows up is http, and it is indeed in use by apache2. telnet and ftp do not show up. Since the port number does not show up (in any human-readable form), I am not sure if some other service has tied 21 and 23 up or not.

    I lied... ssh also shows up, in use by sshd. :)

    On the 32-bit machine, some numbers show up on the list instead of service names... 5500, 5501, 10088, 843... and all are in use by sbbs. On the
    machine in question, there are also other numbers in place of the service names, and they are being used by things like rpcbind, avahi-daemon, and minissdpd.

    I know how to disable apache to get the http port back. I guess my problem
    is being able to decipher which bit of the output means "Port 23" when the service "telnet" and the port number are not listed. :)

    ---
    þ SLMR 2.1a þ Here is a loud announcement... Silence in the studio!!
    þ Synchronet þ CAPCITY2 * CCO BBS * capcity2.synchro.net:26
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Digital Man@1:103/705 to Dumas Walker on Thursday, May 24, 2018 22:27:01
    Re: netstat
    By: Dumas Walker to DIGITAL MAN on Thu May 24 2018 07:21 pm

    Did you just just run 'netstat' with no arguments? You must include the -l or -a options to display listening ports:

    I am trying -lp. I may be very dense but I don't see any of the port numbers I am trying to use (21, 23, 80) anywhere in either list it produces.

    You have to use the -n option for it port numbers instead of service/protocol names (e.g. "21", instead of "ftp").

    Type "man netstat" or run "netstat --help" to get help on how to use it.

    digital man

    Synchronet/BBS Terminology Definition #31:
    ISDN = Integrated Services Digital Network
    Norco, CA WX: 57.5øF, 86.0% humidity, 5 mph E wind, 0.00 inches rain/24hrs
    --- SBBSecho 3.04-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Tony Langdon@3:633/410 to Dumas Walker on Saturday, May 26, 2018 08:12:00
    Dumas Walker wrote to DIGITAL MAN <=-

    Did you just just run 'netstat' with no arguments? You must include the -l
    r
    -a options to display listening ports:

    I am trying -lp. I may be very dense but I don't see any of the port numbers I am trying to use (21, 23, 80) anywhere in either list it produces.

    If you want to see port numbers, you will also need to include the n option, otherwise it will look up the service name in /etc/services and display that instead.

    One problem, since fixed, was that I was not running as su. :)

    On the 32-bit machine sbbs is currently running on, I do get the
    service name, like 'http', 'telnet', 'ftp', and they are all being used
    by sbbs.

    On the machine in question, the only one that shows up is http, and it
    is indeed in use by apache2. telnet and ftp do not show up. Since the port number does not show up (in any human-readable form), I am not
    sure if some other service has tied 21 and 23 up or not.

    The service name comes from /etc/services, which maps port numbers to service names, so if you don't see "ftp" in the list of listening ports, then there's nothing listening on port 21. Same for "telnet" and port 23. Using the -n argument in your netstat command line will give you port numbers instead of service names.


    ... An experiment in Artificial Stupidity.
    === MultiMail/Win32 v0.49
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (3:633/410)