Return-Path: X-Greylist: delayed 397 seconds by postgrey-1.34 at layers.openembedded.org; Tue, 25 Nov 2014 18:24:01 UTC Received: from mail1.bemta8.messagelabs.com (mail1.bemta8.messagelabs.com [216.82.243.195]) by mail.openembedded.org (Postfix) with ESMTP id A626972272 for ; Tue, 25 Nov 2014 18:24:01 +0000 (UTC) Received: from [216.82.241.196] by server-3.bemta-8.messagelabs.com id 0C/81-10983-4B7C4745; Tue, 25 Nov 2014 18:17:24 +0000 X-Env-Sender: Javier.Viguera@digi.com X-Msg-Ref: server-4.tower-46.messagelabs.com!1416939439!37926331!1 X-Originating-IP: [66.77.174.13] X-StarScan-Received: X-StarScan-Version: 6.12.4; banners=-,-,- X-VirusChecked: Checked Received: (qmail 13173 invoked from network); 25 Nov 2014 18:17:20 -0000 Received: from mail.mx1.digi.com (HELO mcl-sms-ns1.digi.com) (66.77.174.13) by server-4.tower-46.messagelabs.com with RC4-SHA encrypted SMTP; 25 Nov 2014 18:17:20 -0000 Received: from MCL-VMS-XCH01.digi.com (10.5.8.49) by mail.mx1.digi.com (172.16.1.13) with Microsoft SMTP Server (TLS) id 8.3.377.0; Tue, 25 Nov 2014 12:17:10 -0600 Received: from DOR-SMS-XCH01.digi.com (10.49.8.99) by MCL-VMS-XCH01.digi.com (10.5.8.49) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 25 Nov 2014 12:17:18 -0600 Received: from log-cln-jviguera.digi.com (10.101.2.54) by dor-sms-xch01.digi.com (10.49.8.99) with Microsoft SMTP Server (TLS) id 14.3.210.2; Tue, 25 Nov 2014 19:17:17 +0100 From: Javier Viguera To: Date: Tue, 25 Nov 2014 19:17:15 +0100 Message-ID: <1416939435-30118-1-git-send-email-javier.viguera@digi.com> X-Mailer: git-send-email 2.1.3 MIME-Version: 1.0 X-Originating-IP: [10.101.2.54] X-KSE-AntiSpam-Interceptor-Info: protection disabled X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean Subject: [meta-oe][master][dizzy]PATCH] xserver-common: disable TCP connections X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Nov 2014 18:24:04 -0000 Content-Type: text/plain For security reasons disable TCP connections to the xserver. Signed-off-by: Javier Viguera --- ...15-xserver-common-disable-TCP-connections.patch | 22 ++++++++++++++++++++++ .../xserver-common/xserver-common_1.34.bb | 1 + 2 files changed, 23 insertions(+) create mode 100644 meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch new file mode 100644 index 000000000000..0af8030160e2 --- /dev/null +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common-1.34/0015-xserver-common-disable-TCP-connections.patch @@ -0,0 +1,22 @@ +From: Javier Viguera +Date: Tue, 25 Nov 2014 18:47:12 +0100 +Subject: [PATCH] xserver-common: disable TCP connections + +Signed-off-by: Javier Viguera +--- + X11/xserver-common | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/X11/xserver-common b/X11/xserver-common +index 017e5aee1ab0..4dc48c412741 100644 +--- a/X11/xserver-common ++++ b/X11/xserver-common +@@ -44,7 +44,7 @@ SCREEN_SIZE=`fallback_screen_arg` + export USER=root + export XSERVER_DEFAULT_ORIENTATION=normal + +-ARGS="-br -pn $INPUT_EXTRA_ARGS" ++ARGS="-br -pn -nolisten tcp $INPUT_EXTRA_ARGS" + DPI="100" + MOUSE="" + KDRIVEARGS="" diff --git a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb index 12fff9ae9a0d..f5b1984cdde3 100644 --- a/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb +++ b/meta-oe/recipes-graphics/xserver-common/xserver-common_1.34.bb @@ -24,6 +24,7 @@ SRC_URI_append = " \ file://0012-xserver-common-add-support-for-gta04-alias-OpenPhoen.patch \ file://0013-xserver-common-add-support-for-tuna-alias-Galaxy-Nex.patch \ file://0014-Xserver-Start-Xsession-like-x11-common-does.patch \ + file://0015-xserver-common-disable-TCP-connections.patch \ " do_install_append() {