From owner-freebsd-questions Thu Feb 21 7:57:49 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id 1834137B416 for ; Thu, 21 Feb 2002 07:57:43 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020221155742.LNLN2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Thu, 21 Feb 2002 15:57:42 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1LFvgF80716; Thu, 21 Feb 2002 07:57:42 -0800 (PST) (envelope-from cjc) Date: Thu, 21 Feb 2002 07:57:42 -0800 From: "Crist J. Clark" To: Manuel Hendel Cc: FreeBSD Questions Subject: Re: securing open ports 515(printer) and 6000(X11)?? Message-ID: <20020221075741.Z48401@blossom.cjclark.org> References: <20020221144420.GJ35089@he0.easygolucky.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020221144420.GJ35089@he0.easygolucky.de>; from Manuel.Hendel@easygolucky.de on Thu, Feb 21, 2002 at 03:44:20PM +0100 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Feb 21, 2002 at 03:44:20PM +0100, Manuel Hendel wrote: > I got FreeBSD 4.5 on my desktop installed. Natural I got X and printer > installed, I need it, but I don't want it listening on all interfaces! > I just want to listen it on localhost! Is that possible somehow? lpd(8) is easy, -p The -p flag causes lpd not to open an Internet listening socket. This means that lpd will not accept any connections from any remote hosts, although it will still accept print requests from all local users. For X, see Xserver(8), -nolisten trans-type Disable a transport type. For example, TCP/IP connections can be disabled with -nolisten tcp Did you actually look at netstat(1) though? The default XFree86 will start your X in the "no listen" state from startx(1) for you. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message