From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42587) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMz9q-0001bt-Ld for guix-patches@gnu.org; Mon, 19 Jun 2017 12:04:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMz9m-0006cd-Rt for guix-patches@gnu.org; Mon, 19 Jun 2017 12:04:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:53737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMz9m-0006cW-Ot for guix-patches@gnu.org; Mon, 19 Jun 2017 12:04:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dMz9m-0003yB-E5 for guix-patches@gnu.org; Mon, 19 Jun 2017 12:04:02 -0400 Subject: [bug#27426] [PATCH 0/2] 'guix-daemon --listen' can specify multiple interfaces Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMz93-00012m-5I for guix-patches@gnu.org; Mon, 19 Jun 2017 12:03:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMz92-0006G1-80 for guix-patches@gnu.org; Mon, 19 Jun 2017 12:03:17 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Date: Mon, 19 Jun 2017 18:03:02 +0200 Message-Id: <20170619160302.31557-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 27426@debbugs.gnu.org Hello Guix! Commit 3dff90ce34448551bc82a6a7262837c0561a4691 added support for guix:// URIs on the client side. This commit adds guix-daemon support to specify TCP sockets to listen to, like this: # Listen on the loopback interface only, port 1234. guix-daemon --listen=localhost:1234 # Listen on the Unix-domain socket and on the public interface, # port 44146. guix-daemon --listen=/var/guix/daemon-socket/socket \ --listen=0.0.0.0 The primary use case is clusters running a single ‘guix-daemon’ instance that can be accessed from other nodes on the local network. Feedback welcome! Ludo’. Ludovic Courtès (2): store: Define a default port for TCP connections. daemon: '--listen' can be passed several times, can specify TCP endpoints. doc/guix.texi | 39 +++++- guix/store.scm | 12 +- nix/nix-daemon/guix-daemon.cc | 152 +++++++++++++++++++++-- nix/nix-daemon/nix-daemon.cc | 283 +++++++++++++++++++----------------------- tests/guix-daemon.sh | 12 ++ 5 files changed, 317 insertions(+), 181 deletions(-) -- 2.13.1