History log of /netbsd/external/bsd/iscsi/dist/src/lib/initiator.c (Results 1 – 12 of 12)
Revision Date Author Comments
# 083bac57 17-Jan-2021 mrg <mrg@NetBSD.org>

remove unset (and always printed as "(null)") gfilename variable.


# ff2cac83 06-Sep-2020 christos <christos@NetBSD.org>

fix null argument


# f832e971 17-Mar-2020 fox <fox@NetBSD.org>

external/bsd/iscsi: Fix -Werror=maybe-uninitialized error in initiator.c.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Submitted by: mlelstv@
Reviewed by: kamil@


# 6858e41f 01-Nov-2013 mlelstv <mlelstv@NetBSD.org>

rfc3720 Appendix D. SendTargets Operation requires that requesting
information for all relevant targets is done with the value 'All'
(upper case A) and some implementations require it.


# b99e0f63 15-Mar-2012 joerg <joerg@NetBSD.org>

Add __printflike where needed. Fix various format string issues.


# 7fd927ea 17-Feb-2012 mbalmer <mbalmer@NetBSD.org>

Fix typos (in comments).


# f308c7ea 06-Oct-2011 sborrill <sborrill@NetBSD.org>

Provide function in libiscsi to return the compile-time limit on number of
targets. Use this function in the initiator, to ensure that the same limit
is used throughout (i.e. stop you attempting to c

Provide function in libiscsi to return the compile-time limit on number of
targets. Use this function in the initiator, to ensure that the same limit
is used throughout (i.e. stop you attempting to compile the initiator with a
different limit to the library - the initiator uses the library for most of
its functionality).

If truncating the number of targets in the initiator, truncate it to the
correct amount, not half of what it should be.

Obey RFC3720 when determining targets. SendTargets=All MUST be supported
on a discovery session, and MUST NOT be supported on an operational session.
Previously, SendTargets=All was used both in the initial discovery session
and the later session. (from Daisuke Aoyama - author of istgt).

show more ...


# 6ade720a 22-Feb-2011 sborrill <sborrill@NetBSD.org>

Skip target if TargetName is empty.
Use relevant TargetAddress, not just first one we happen to find.

Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT Cm

Skip target if TargetName is empty.
Use relevant TargetAddress, not just first one we happen to find.

Following improvement based on feedback from Daisuke Aoyama (author of istgt):
Handle NOP-OUT CmdSN and immediate bit.
Handle NOP-IN TransferTag=0xffffffff.
Interim solution for dealing with Underflow bit in iSCSI response.

iscsi-initiator now talks to istgt and other targets.

Remaining issues:
CHAP support will not work with most targets (maximum 16 octet challenge is
used, but other initiators use up to 1024). However, CHAP can now be
bypassed by not specifying a username.

show more ...


# bf032004 21-Feb-2011 sborrill <sborrill@NetBSD.org>

man page claims that you can use auth type = none, but in reality this
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work a

man page claims that you can use auth type = none, but in reality this
didn't work (insisted on a username being given and then used, plus always
advertised CHAP to the target). Make initiator work as advertised (i.e.
defaults to auth type none and so don't require a username).

To use CHAP you should explicitly request CHAP:
iscsi-initiator -a chap -u user -h targetname /mountpoint

For backwards compatibility, if a username is given (-u) and no auth type
is specified (-a), it will default to CHAP, i.e. to use none, just give no
username:
iscsi-initiator -h targetname /mountpoint

show more ...


# c21bd488 09-Feb-2011 agc <agc@NetBSD.org>

Make sure we include <inttypes.h> if we have it. From Rumko.


# 5e01dafb 30-Jun-2009 agc <agc@NetBSD.org>

Portable iSCSI - snapshot of current sources/changes

+ moved lba2cdb into iscsi-initiator.c and cdb2lba into disk.c
+ moved iscsi.c to protocol.c
+ calculate zero bytes and bits in a different way,

Portable iSCSI - snapshot of current sources/changes

+ moved lba2cdb into iscsi-initiator.c and cdb2lba into disk.c
+ moved iscsi.c to protocol.c
+ calculate zero bytes and bits in a different way, and fix a bug or two
on the way
+ add the ability to trace different types of debug information from the
initiatior as well as the target

show more ...


# b6364952 25-Jun-2009 agc <agc@NetBSD.org>

Update the external tree for new structure for reachover builds.

Add some iscsi-specific changes too:

Portable iSCSI - 20080207 to 20090622

+ Use modern autoconf
+ Add portable iSCSI initiator sou

Update the external tree for new structure for reachover builds.

Add some iscsi-specific changes too:

Portable iSCSI - 20080207 to 20090622

+ Use modern autoconf
+ Add portable iSCSI initiator sources
+ New directory structure
+ Put OSD sources in their own directory
+ iscsi.h -> iscsiprotocol.h
+ add an iscsi.h for the new interface, and install it
+ globals_t -> iscsi_target_t
+ made an iscsi-target.h with all public functions in it
+ reformatted Intel license to fit in 80 columns
+ get rid of some abstractions which aren't needed any more
+ move over to a set of (name, value) tuples in target and initiator
+ add patch to set the target's StatSN at login time, from Gleb Kozyrev via
Mark Foster
+ add manual page for libiscsi(3)
+ update libiscsi shared object major version to 2 to reflect the changes
in API and ABI

More changes to come

show more ...