[PATCH 0/2] target/iscsi-target: Add TPG context authentication context support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx>

Hi Dax & Co,

This series adds support for se_portal_group->tpg_auth_group context
that enables per TPG authentication attributes within individual
iscsi-target endpoints.

It allows optional CHAP authentication information to be configured
(for all connecting initiators) seperate from explict NodeACL initiator
behaviour, and appears in configfs under:

  /sys/kernel/config/target/iscsi/$TARGETNAME/$TPGT/auth/

-r--r--r-- 1 root root 4096 Jun 19 19:37 authenticate_target
-rw-r--r-- 1 root root 4096 Jun 19 19:37 password
-rw-r--r-- 1 root root 4096 Jun 19 19:37 password_mutual
-rw-r--r-- 1 root root 4096 Jun 19 19:17 userid
-rw-r--r-- 1 root root 4096 Jun 19 19:37 userid_mutual

This takes precedence over any NodeACL authentication configuration
in iscsi_handle_authentication() when session se_node_acl->dynamic_node_acl
has been set during TPG generate_node_acls=1 operation.

Including into target-pending/queue now, please review.

Thanks!

--nab

Nicholas Bellinger (2):
  target: Add se_portal_group->tpg_auth_group
  iscsi-target: Add demo-mode TPG authentication context support

 drivers/target/iscsi/iscsi_target_configfs.c |  126 ++++++++++++++++++++++++++
 drivers/target/iscsi/iscsi_target_core.h     |    1 +
 drivers/target/iscsi/iscsi_target_nego.c     |   13 +++-
 drivers/target/target_core_fabric_configfs.c |   21 ++++-
 include/target/target_core_base.h            |    3 +-
 include/target/target_core_configfs.h        |    1 +
 include/target/target_core_fabric_configfs.h |   11 +++
 7 files changed, 172 insertions(+), 4 deletions(-)

-- 
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux