[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Closing ports
--- Bruce Smith <bruce@armintl.com> wrote:
> > I did a nmap on my laptop that has Storm Linux2000
> on
> > it (Debian based) and I have 4 ports that are open
> > that I would like to try and close.
> >
> > Port
> >
> > 111 sunrpc
>
> That's the portmapper. Used for NFS.
I don't use NFS so I commented out of /etc/services
>
> > 515 printer
>
> lpd (printer daemon)
For some reason there was a generic dot matrix printer
installed, so I uninstalled that and stopped lpd
>
> > 813 unknown
>
> Don't know.
>
> Find out what process is listening on that port with
> the
> command: "netstat -lp".
the netstat -lp came back with the following:
tcp 0 0 *:813 *:* Listen
>
> > 6000 X11
>
> That's X windows. You won't be able to get rid of
> this.
> But you could block it with ipchains, or just make
> sure
> you have X authorization turned on, and be careful
> with
> "xhost" commands.
I'm not familiar with IPCHAINS so off a reading I will
go. As far as X authorization go is that in the
documentation for X or would that be in the docs for
the winmanager I'm currently running?
>
> > as far as the printer goes I thought I stopped lpd
> > from starting at boot.. but I could be wrong.
>
> Did you reboot after changing that? Is lpd still
> running?
>
> --------------------------------------------
> Bruce Smith bruce@armintl.com
> System Administrator / Network Administrator
> Armstrong International, Inc.
> Three Rivers, Michigan 49093 USA
> http://www.armstrong-intl.com/
> --------------------------------------------
>
__________________________________________________
Do You Yahoo!?
Yahoo! Mail - Free email you can access from anywhere!
http://mail.yahoo.com/