From owner-freebsd-stable@freebsd.org Wed Mar 2 20:44:19 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C380BAC15AB for ; Wed, 2 Mar 2016 20:44:19 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9080E1AB5 for ; Wed, 2 Mar 2016 20:44:19 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: by mail-io0-x235.google.com with SMTP id n190so5313551iof.0 for ; Wed, 02 Mar 2016 12:44:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=XQgNqcXluDoByzQOv+DNJwxVvIWZ+FwD6sdQfUmXAQA=; b=c9t/FwcANGSGX+UmEatfczpFkLbe++yIlv+3YZ4+4pKQXWqUCtrbF/Ox5cVDTjhmNa PmHwyBbxnajc7a2DhzunQDUWLUodbkwnIIA7XAD3CSH3gd6Q+fwqOCFsSMy2ci9MFRqF Yl+ePxDsYN9pe7WFfudXkOmTx/l7tX/ToLj3VTPt31mk1Qa9S/bBLbI7VO/8WvDKnySu XynZ9b3wp89G6akOexjqPvUbfrku2vZOI7T4DwurKxV7xo8wVWUFYM1PqrEL+tRA1E3N F3R1BHgwTfzz1xnMmUbgnOKb3dNWbW53nbjAeeTJOKDkCmMo08NIRCbORx+G7EqTiN6Y xU1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=XQgNqcXluDoByzQOv+DNJwxVvIWZ+FwD6sdQfUmXAQA=; b=YnNPX4VJIt8kTsgd+yDozLrc/s8lbzuWWYHHASkZ7woj41pr2ZwdjRE7vhnO1CYpcQ IMwbN9hGQbjFywCU04KyHoILugtna17rTaP0DFF2FNVLr/sJcvi5G7Y7m0rqc1YBL7+N FSficfSVBXm1kLpW4B7BVgq63ZSajlyB1qjTX+1au91ZHTsqL0OfPo91B/Luai6RN3JR 4pC5pDo2NrM9jZGnnr5KwWVFALcfvzb8qffaAZM2gs+LYljz+wm2loSPqvgzvGBZda1x dDg3Etqoivo25KLQ12gnKF2VYVyujrn1tw7fi3E9+SckCIRPA5EXSXFkxlhepc6yw/GO Aaqg== X-Gm-Message-State: AG10YOQHf5bYlyhzgHrdqocl8LxsboEeZZTiCk7r0pvnZ/z5XE75KYKSQthAZzG4/2FFjw5B+ZpMPVIvah2PRA== MIME-Version: 1.0 X-Received: by 10.107.3.79 with SMTP id 76mr30444160iod.101.1456951458930; Wed, 02 Mar 2016 12:44:18 -0800 (PST) Received: by 10.107.140.129 with HTTP; Wed, 2 Mar 2016 12:44:18 -0800 (PST) In-Reply-To: References: Date: Wed, 2 Mar 2016 12:44:18 -0800 Message-ID: Subject: Re: Why must X open TCP by default? From: Freddie Cash To: Chris H Cc: FreeBSD STABLE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Mar 2016 20:44:19 -0000 On Wed, Mar 2, 2016 at 12:40 PM, Chris H wrote: > Hello, > This is regarding 9-STABLE. All of the 9-STABLE boxes > that have Xorg installed, and running on them, insist on > opening TCP port 6000; as reported by sockstat(1) > > Xorg 1295 1 tcp6 *:6000 *:* > Xorg 1295 3 tcp4 *:6000 *:* > > I see that the (current(ish)) documentation indicates > that this option is off, by default, and can be enabled > by passing -listen_tcp to startx(1). This seems to hold > true, as all of my -CURRENT boxes do not show port 6000 > as being open while X is running. So my question is; > how can I prevent X from opening tcp ports? > I attempted; > startx -nolisten tcp > =E2=80=8BDoes the following work (note the extra -- in the command)?=E2=80= =8B =E2=80=8Bstartx -- -nolisten tcp=E2=80=8B --=20 Freddie Cash fjwcash@gmail.com