/var/target/policy/fabric_iscsi.lio is in python-rtslib 1:3.0~pre4.1~g1b33ceb-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 | fabric iscsi {
discovery_auth {
enable %bool(yes)
mutual_password %str("")
mutual_userid %str("")
password %str("")
userid %str("")
}
target %iqn tpgt %int {
enable %bool(yes)
portal %ipport
acl %str {
attribute {
dataout_timeout %int(3)
dataout_timeout_retries %int(5)
default_erl %erl(0)
nopin_response_timeout %int(30)
nopin_timeout %int(15)
random_datain_pdu_offsets %bool(no)
random_datain_seq_offsets %bool(no)
random_r2t_offsets %bool(no)
}
auth {
password %str("")
password_mutual %str("")
userid %str("")
userid_mutual %str("")
}
mapped_lun %int {
target_lun @(-3 lun)
write_protect %bool(no)
}
}
auth {
password %str("")
password_mutual %str("")
userid %str("")
userid_mutual %str("")
}
attribute {
authentication %bool(no)
default_erl %erl(0)
demo_mode_discovery %bool(yes)
cache_dynamic_acls %bool(no)
default_cmdsn_depth %int(16)
demo_mode_write_protect %bool(no)
generate_node_acls %bool(no)
login_timeout %int(15)
netif_timeout %int(2)
prod_mode_write_protect %bool(no)
}
lun %int backend %backend
parameter {
AuthMethod %str(CHAP)
DataDigest %str("CRC32C,None")
DataPDUInOrder %bool(yes)
DataSequenceInOrder %bool(yes)
DefaultTime2Retain %int(20)
DefaultTime2Wait %int(2)
ErrorRecoveryLevel %bool(no)
FirstBurstLength %int(65536)
HeaderDigest %str("CRC32C,None")
IFMarkInt %str("2048~65535")
IFMarker %bool(no)
ImmediateData %bool(yes)
InitialR2T %bool(yes)
MaxBurstLength %int(262144)
MaxConnections %int(1)
MaxOutstandingR2T %int(1)
MaxRecvDataSegmentLength %int(8192)
MaxXmitDataSegmentLength %int(262144)
OFMarkInt %str("2048~65535")
OFMarker %bool(no)
TargetAlias %str("LIO Target")
}
}
}
|