diff options
author | trasz <trasz@FreeBSD.org> | 2014-11-09 13:01:09 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2014-11-09 13:01:09 +0000 |
commit | 4eec651ec388a7406d989f93aef0d62f748080fc (patch) | |
tree | 7fce56b0e4a689fc51e535b741025162dc8c5f61 /usr.sbin/ctld/ctl.conf.5 | |
parent | 037bd5af5746c3f20b892933dccfc78a245f81a4 (diff) | |
download | FreeBSD-src-4eec651ec388a7406d989f93aef0d62f748080fc.zip FreeBSD-src-4eec651ec388a7406d989f93aef0d62f748080fc.tar.gz |
Add support for sending redirections to iSCSI target.
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/ctld/ctl.conf.5')
-rw-r--r-- | usr.sbin/ctld/ctl.conf.5 | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/usr.sbin/ctld/ctl.conf.5 b/usr.sbin/ctld/ctl.conf.5 index 6a6184b..8e427b1 100644 --- a/usr.sbin/ctld/ctl.conf.5 +++ b/usr.sbin/ctld/ctl.conf.5 @@ -27,7 +27,7 @@ .\" .\" $FreeBSD$ .\" -.Dd November 8, 2014 +.Dd November 9, 2014 .Dt CTL.CONF 5 .Os .Sh NAME @@ -218,6 +218,17 @@ An IPv4 or IPv6 address and port to listen on for incoming connections. .\".It Ic listen-iser Ar address .\"An IPv4 or IPv6 address and port to listen on for incoming connections .\"using iSER (iSCSI over RDMA) protocol. +.It Ic redirect Aq Ar address +IPv4 or IPv6 address to redirect initiators to. +When configured, all initiators attempting to connect to portal +belonging to this +.Sy portal-group +will get redirected using "Target moved temporarily" login response. +Redirection happens before authentication and any +.Sy initiator-name +or +.Sy initiator-portal +checks are skipped. .El .Ss target Context .Bl -tag -width indent @@ -296,6 +307,11 @@ The default portal group is .Qq Ar default , which makes the target available on TCP port 3260 on all configured IPv4 and IPv6 addresses. +.It Ic redirect Aq Ar address +IPv4 or IPv6 address to redirect initiators to. +When configured, all initiators attempting to connect to this target +will get redirected using "Target moved temporarily" login response. +Redirection happens after successful authentication. .It Ic lun Ar number Create a .Sy lun |