summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/ctl.conf.5
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-03-25 12:01:55 +0000
committertrasz <trasz@FreeBSD.org>2014-03-25 12:01:55 +0000
commitc67809725b91564418db05d81c4defd4948baa01 (patch)
tree8f32ea3fb07ad18a77ceef48d79fdb7f6a75212e /usr.sbin/ctld/ctl.conf.5
parentcf1ffe3cac870ee6ad26c728c25900ce607b3839 (diff)
downloadFreeBSD-src-c67809725b91564418db05d81c4defd4948baa01.zip
FreeBSD-src-c67809725b91564418db05d81c4defd4948baa01.tar.gz
MFC r261754:
Implement initiator-name and initiator-portal restrictions. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/ctld/ctl.conf.5')
-rw-r--r--usr.sbin/ctld/ctl.conf.530
1 files changed, 29 insertions, 1 deletions
diff --git a/usr.sbin/ctld/ctl.conf.5 b/usr.sbin/ctld/ctl.conf.5
index a0f6ad8..187a3bd 100644
--- a/usr.sbin/ctld/ctl.conf.5
+++ b/usr.sbin/ctld/ctl.conf.5
@@ -27,7 +27,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 2, 2013
+.Dd February 11, 2014
.Dt CTL.CONF 5
.Os
.Sh NAME
@@ -107,6 +107,18 @@ Specifies CHAP authentication credentials.
Specifies mutual CHAP authentication credentials.
Note that for any auth-group, configuration may contain either chap,
or chap-mutual entries; it's an error to mix them.
+.It Ic initiator-name Ao Ar initiator-name Ac
+Specifies iSCSI initiator name.
+If not defined, there will be no restrictions based on initiator
+name.
+Otherwise, only initiators with names matching one of defined
+ones will be allowed to connect.
+.It Ic initiator-portal Ao Ar address Ac
+Specifies iSCSI initiator portal - IPv4 or IPv6 address.
+If not defined, there will be no restrictions based on initiator
+address.
+Otherwise, only initiators with addresses matching one of defined
+ones will be allowed to connect.
.El
.Ss portal-group level
The following statements are available at the portal-group level:
@@ -143,6 +155,22 @@ or chap-mutual clauses; it's a configuration error to mix them in one target.
Specifies mutual CHAP authentication credentials.
Note that targets must use either auth-group, chap, or
chap-mutual clauses; it's a configuration error to mix them in one target.
+.It Ic initiator-name Ao Ar initiator-name Ac
+Specifies iSCSI initiator name.
+If not defined, there will be no restrictions based on initiator
+name.
+Otherwise, only initiators with names matching one of defined
+ones will be allowed to connect.
+This clause is mutually exclusive with auth-group; one cannot use
+both in a single target.
+.It Ic initiator-portal Ao Ar address Ac
+Specifies iSCSI initiator portal - IPv4 or IPv6 address.
+If not defined, there will be no restrictions based on initiator
+address.
+Otherwise, only initiators with addresses matching one of defined
+ones will be allowed to connect.
+This clause is mutually exclusive with auth-group; one cannot use
+both in a single target.
.It Ic portal-group Aq Ar name
Assigns previously defined portal group to that target.
Default portal group is "default", which makes the target available
OpenPOWER on IntegriCloud