From owner-freebsd-stable@FreeBSD.ORG Mon Oct 20 08:35:35 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68DE76A8 for ; Mon, 20 Oct 2014 08:35:35 +0000 (UTC) Received: from mx0.gentlemail.de (mx0.gentlemail.de [IPv6:2a00:e10:2800::a130]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8557ECA for ; Mon, 20 Oct 2014 08:35:34 +0000 (UTC) Received: from mh0.gentlemail.de (mh0.gentlemail.de [78.138.80.135]) by mx0.gentlemail.de (8.14.5/8.14.5) with ESMTP id s9K8ZU4u037077 for ; Mon, 20 Oct 2014 10:35:30 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.inop.mo1.omnilan.net (titan.inop.mo1.omnilan.net [IPv6:2001:a60:f0bb:1::3:1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mh0.gentlemail.de (Postfix) with ESMTPSA id B67483134; Mon, 20 Oct 2014 10:35:30 +0200 (CEST) Message-ID: <5444C94C.4050705@omnilan.de> Date: Mon, 20 Oct 2014 10:35:24 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; de-DE; rv:1.9.2.8) Gecko/20100906 Lightning/1.0b2 Thunderbird/3.1.2 MIME-Version: 1.0 To: FreeBSD Stable Subject: ctld(8), multiple 'portal-group' on same socket (individual 'discovery-auth-group' restrictions) X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig3E1F7EC4744638EF54E10C63" X-Greylist: ACL 119 matched, not delayed by milter-greylist-4.2.7 (mx0.gentlemail.de [78.138.80.130]); Mon, 20 Oct 2014 10:35:30 +0200 (CEST) X-Milter: Spamilter (Reciever: mx0.gentlemail.de; Sender-ip: 78.138.80.135; Sender-helo: mh0.gentlemail.de; ) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Oct 2014 08:35:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig3E1F7EC4744638EF54E10C63 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Hello, I'm trying to move from istgt(1) to ctld(8), but it seems my setup isn't possible with ctld. Besides missing support for virtual-DVDs ('UnitType DVD' in istgt) and real ODD-devices ('UnitType pass' in istgt), I guess it's impossible to define multiple "portal-group"s, listening on the same socket, but with different "discovery-auth-group". The idea is, to present initiators only targets at discovery, which they are allowed to connect to. Am I missing something which could provide such selective discovery with ctld(8)? Thanks, -Harry --------------enig3E1F7EC4744638EF54E10C63 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAlREyVIACgkQLDqVQ9VXb8h2+QCfUl/JA3kfxjFdoffvmJdY/FH1 lH8AnRe+YWpgLVh6DWDbmbGxRfdGyugR =Qpv4 -----END PGP SIGNATURE----- --------------enig3E1F7EC4744638EF54E10C63--