Mailinglist Archive: opensuse-security (636 mails)

< Previous Next >
Re: [suse-security] how can i close port number 6000 & 515 ?
  • From: Peter Münster <peter@xxxxxxxxxxxxxxx>
  • Date: Sun, 11 Feb 2001 16:06:35 +0100 (CET)
  • Message-id: <Pine.LNX.4.30.0102111555030.18342-100000@xxxxxxxxxxxxxxxxxxxxxxx>
On Sun, 11 Feb 2001, [iso-8859-1] Armin Schöch wrote:

> > Can me tell somebody tell me, how do i can close a port number 6000 -
> > a X-xerver port and a port numer 515 - a printer-port ??
>
> Look at the FAQ at www.susececurity.com/faq about how to make X stop
> listening at port 6000.
> About the printer port, I don't now, sorry.

If you want to print, I think you need lpd or inetd listening on this
port, but you can restrict it to localhost by setting something like
lpd: ALL EXCEPT 127.0.0.1 in /etc/hosts.deny
I don't know, if lpd is respecting this file, so starting it by inetd with
a line like
printer stream tcp nowait root /usr/sbin/tcpd /usr/bin/lpd -i
in /etc/inetd.conf could be better than lpd standalone.
If you don't want to print, just set START_LPD=no in /etc/rc-config or
deinstall the lpd-package.
Hope, this helps!
Peter

--
Peter Münster
http://notrix.net/pm-vcard


< Previous Next >
References