[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: what runs on port 9?



netstat -a | more 
netstat -an | more (for reporting active ports based on portnumber instead
of looking it up in /etc/services like above)

or better yet:

lsof <some flag that I forget>

will do the trick.  

And of course, nmap is your friend.

On Mon, 18 Oct 1999, Scott Tyson wrote:

> Cool so /etc/services is the default mapping of  services to ports.
> Since I start nothing in /etc/inetd.conf  accept shell and login anyway
> but this is good info.  How can I get a list of what is active against
> what port? I'd like to compare that to what I think is active to make
> sure I have not missed anything.
> 
> 
> ----- Original Message -----
> From: Steve Borho <steve borho myip org>
> To: <redhat-list redhat com>
> Sent: Monday, October 18, 1999 2:01 PM
> Subject: Re: what runs on port 9?
> 
> 
> > On Mon, Oct 18, 1999 at 12:37:40PM -0700, Aaron Turner wrote:
> > >
> > > Look in /etc/services.
> > >
> > > In there you'll find that TCP and UDP port 9 is the "discard" port.
> > > Basically the network equivalent of /dev/null.
> >
> > Also, after looking in /etc/services, look in /etc/inetd.conf to see
> if
> > that service is active:
> >
> > ix% grep discard /etc/inetd.conf
> > # Echo, discard, daytime, and chargen are used primarily for testing.
> > #discard        stream  tcp     nowait  root    internal
> > #discard        dgram   udp     wait    root    internal
> >
> > So you can see that the 'discard' service is not even active.
> >
> > --
> > Steve Borho
> >
> >
> > --
> > To unsubscribe: mail redhat-list-request redhat com with "unsubscribe"
> > as the Subject.
> >
> 
> 
> -- 
> To unsubscribe: mail redhat-list-request redhat com with "unsubscribe"
> as the Subject.
> 

--
Aaron Turner, Core Developer       http://vodka.linuxkb.org/~aturner/
Linux Knowledge Base Organization  http://linuxkb.org/
Because world domination requires quality open documentation.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]