Deleted Added
full compact
ctl.conf.5 (258990) ctl.conf.5 (263720)
1.\" Copyright (c) 2012 The FreeBSD Foundation
2.\" All rights reserved.
3.\"
4.\" This software was developed by Edward Tomasz Napierala under sponsorship
5.\" from the FreeBSD Foundation.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
1.\" Copyright (c) 2012 The FreeBSD Foundation
2.\" All rights reserved.
3.\"
4.\" This software was developed by Edward Tomasz Napierala under sponsorship
5.\" from the FreeBSD Foundation.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 11 unchanged lines hidden (view full) ---

20.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26.\" SUCH DAMAGE.
27.\"
28.\" $FreeBSD: stable/10/usr.sbin/ctld/ctl.conf.5 258990 2013-12-05 16:29:22Z trasz $
28.\" $FreeBSD: stable/10/usr.sbin/ctld/ctl.conf.5 263720 2014-03-25 12:01:55Z trasz $
29.\"
29.\"
30.Dd December 2, 2013
30.Dd February 11, 2014
31.Dt CTL.CONF 5
32.Os
33.Sh NAME
34.Nm ctl.conf
35.Nd CAM Target Layer / iSCSI target daemon configuration file
36.Sh DESCRIPTION
37The
38.Nm

--- 63 unchanged lines hidden (view full) ---

102The following statements are available at the auth-group level:
103.Bl -tag -width indent
104.It Ic chap Ao Ar user Ac Aq Ar secret
105Specifies CHAP authentication credentials.
106.It Ic chap-mutual Ao Ar user Ac Ao Ar secret Ac Ao Ar mutualuser Ac Aq Ar mutualsecret
107Specifies mutual CHAP authentication credentials.
108Note that for any auth-group, configuration may contain either chap,
109or chap-mutual entries; it's an error to mix them.
31.Dt CTL.CONF 5
32.Os
33.Sh NAME
34.Nm ctl.conf
35.Nd CAM Target Layer / iSCSI target daemon configuration file
36.Sh DESCRIPTION
37The
38.Nm

--- 63 unchanged lines hidden (view full) ---

102The following statements are available at the auth-group level:
103.Bl -tag -width indent
104.It Ic chap Ao Ar user Ac Aq Ar secret
105Specifies CHAP authentication credentials.
106.It Ic chap-mutual Ao Ar user Ac Ao Ar secret Ac Ao Ar mutualuser Ac Aq Ar mutualsecret
107Specifies mutual CHAP authentication credentials.
108Note that for any auth-group, configuration may contain either chap,
109or chap-mutual entries; it's an error to mix them.
110.It Ic initiator-name Ao Ar initiator-name Ac
111Specifies iSCSI initiator name.
112If not defined, there will be no restrictions based on initiator
113name.
114Otherwise, only initiators with names matching one of defined
115ones will be allowed to connect.
116.It Ic initiator-portal Ao Ar address Ac
117Specifies iSCSI initiator portal - IPv4 or IPv6 address.
118If not defined, there will be no restrictions based on initiator
119address.
120Otherwise, only initiators with addresses matching one of defined
121ones will be allowed to connect.
110.El
111.Ss portal-group level
112The following statements are available at the portal-group level:
113.Bl -tag -width indent
114.It Ic discovery-auth-group Aq Ar name
115Assigns previously defined authentication group to that portal group,
116to be used for target discovery.
117By default, the discovery will be denied.

--- 20 unchanged lines hidden (view full) ---

138.It Ic chap Ao Ar user Ac Aq Ar secret
139Specifies CHAP authentication credentials.
140Note that targets must use either auth-group, or chap,
141or chap-mutual clauses; it's a configuration error to mix them in one target.
142.It Ic chap-mutual Ao Ar user Ac Ao Ar secret Ac Ao Ar mutualuser Ac Aq Ar mutualsecret
143Specifies mutual CHAP authentication credentials.
144Note that targets must use either auth-group, chap, or
145chap-mutual clauses; it's a configuration error to mix them in one target.
122.El
123.Ss portal-group level
124The following statements are available at the portal-group level:
125.Bl -tag -width indent
126.It Ic discovery-auth-group Aq Ar name
127Assigns previously defined authentication group to that portal group,
128to be used for target discovery.
129By default, the discovery will be denied.

--- 20 unchanged lines hidden (view full) ---

150.It Ic chap Ao Ar user Ac Aq Ar secret
151Specifies CHAP authentication credentials.
152Note that targets must use either auth-group, or chap,
153or chap-mutual clauses; it's a configuration error to mix them in one target.
154.It Ic chap-mutual Ao Ar user Ac Ao Ar secret Ac Ao Ar mutualuser Ac Aq Ar mutualsecret
155Specifies mutual CHAP authentication credentials.
156Note that targets must use either auth-group, chap, or
157chap-mutual clauses; it's a configuration error to mix them in one target.
158.It Ic initiator-name Ao Ar initiator-name Ac
159Specifies iSCSI initiator name.
160If not defined, there will be no restrictions based on initiator
161name.
162Otherwise, only initiators with names matching one of defined
163ones will be allowed to connect.
164This clause is mutually exclusive with auth-group; one cannot use
165both in a single target.
166.It Ic initiator-portal Ao Ar address Ac
167Specifies iSCSI initiator portal - IPv4 or IPv6 address.
168If not defined, there will be no restrictions based on initiator
169address.
170Otherwise, only initiators with addresses matching one of defined
171ones will be allowed to connect.
172This clause is mutually exclusive with auth-group; one cannot use
173both in a single target.
146.It Ic portal-group Aq Ar name
147Assigns previously defined portal group to that target.
148Default portal group is "default", which makes the target available
149on TCP port 3260 on all configured IPv4 and IPv6 addresses.
150.It Ic lun Aq Ar number
151Opens a lun configuration section, defining LUN exported by a target.
152.El
153.Ss lun level

--- 91 unchanged lines hidden ---
174.It Ic portal-group Aq Ar name
175Assigns previously defined portal group to that target.
176Default portal group is "default", which makes the target available
177on TCP port 3260 on all configured IPv4 and IPv6 addresses.
178.It Ic lun Aq Ar number
179Opens a lun configuration section, defining LUN exported by a target.
180.El
181.Ss lun level

--- 91 unchanged lines hidden ---