Home | History | Annotate | only in /src/sbin/iscsictl
History log of /src/sbin/iscsictl
RevisionDateAuthorComments
 1.5 03-Jun-2023  lukem bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
GCC_NO_warning
to
CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.4 13-Oct-2019  mrg introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints. many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
 1.3 30-May-2015  joerg branches: 1.3.16;
Remove userland side of ISCSI_DEBUG and ISCSI_TEST_MODE.
 1.2 11-Aug-2013  dholland These pass WARNS=5, so don't set WARNS=4
 1.1 23-Oct-2011  agc branches: 1.1.2; 1.1.8;
Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.1.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.2.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.3.16.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3 30-May-2015  joerg Remove userland side of ISCSI_DEBUG and ISCSI_TEST_MODE.
 1.2 30-Oct-2011  christos remove some lint
 1.1 23-Oct-2011  agc Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.6 25-Jun-2012  mlelstv it's really 32bit
 1.5 25-Jun-2012  mlelstv report luns returns a 32bit list length.
 1.4 20-Jun-2012  martin Fix previous
 1.3 20-Jun-2012  martin Avoid printing values past the end of the buffer, and a size_t underflow.
 1.2 30-Oct-2011  christos branches: 1.2.2; 1.2.4;
remove some lint
 1.1 23-Oct-2011  agc Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.2.4.2 03-Jul-2012  jdc Pull up revisions:
src/sys/dev/iscsi/iscsi_globals.h revisions 1.3,1.4
src/sys/dev/iscsi/iscsi_main.c revisions 1.4,1.5
src/sys/dev/iscsi/iscsi_text.c revisions 1.4,1.5
src/sys/dev/iscsi/iscsi_ioctl.c revisions 1.3,1.4
src/sys/dev/iscsi/iscsi_send.c revisions 1.3,1.4,1.5
src/sys/dev/iscsi/iscsi_utils.c revisions 1.2,1.3,1.4
src/sbin/iscsid/iscsid_discover.c revision 1.4
src/sys/dev/iscsi/iscsi_rcv.c revision 1.3
src/sbin/iscsictl/iscsic_driverif.c revisions 1.5,1.6
(requested by martin in ticket #357, with updates from mhitch and mlelstv).

avoid namespace pollution when debugging
don't panic when printing data for a dead (NULL) connection

Close file descriptor passed into the kernel on success.
Fix locking of file handle. More cleanup on error paths.
Keep track of CCBs, so they cannot be used after a session ends.
Handle CCB timeouts even when the connection is terminated.
Compute firstdata, firstimmed correctly.

assemble_login_parameters() has a strange error reporting convention:
errors are positive numbers, so <= 0 is good, not >= ...
This makes CHAP authenticated iscsi logins work.

use first successful connection to a ISNS server

Add more debugging, fix filehandle usage, login negotiation and session
shutdown.
Add #ifdef'd code to send negotiation parameters in hex instead of base64,
so it works against older Linux targets.

report luns returns a 32bit list length.

Make digests work also on big endian machines.

it's really 32bit
 1.2.4.1 02-Jul-2012  jdc Pull up revisions:
src/sbin/iscsictl/iscsic_driverif.c revisions 1.3,1.4
(requested by martin in ticket #363).

Avoid printing values past the end of the buffer, and a size_t underflow.

Fix previous
 1.2.2.1 30-Oct-2012  yamt sync with head
 1.6 03-Apr-2020  joerg Just declare driver and buf
 1.5 30-May-2015  joerg branches: 1.5.16;
Remove userland side of ISCSI_DEBUG and ISCSI_TEST_MODE.
 1.4 17-Nov-2011  joerg Use __dead
 1.3 30-Oct-2011  christos branches: 1.3.2;
remove some lint
 1.2 23-Oct-2011  christos add printflike and fix the format error.
 1.1 23-Oct-2011  agc Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.3.2.1 17-Apr-2012  yamt sync with head
 1.5.16.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.6 30-May-2015  joerg Remove userland side of ISCSI_DEBUG and ISCSI_TEST_MODE.
 1.5 20-Nov-2011  agc give the correct count of arguments to the sub-functions
 1.4 17-Nov-2011  joerg Use __dead
 1.3 30-Oct-2011  christos branches: 1.3.2;
remove some lint
 1.2 23-Oct-2011  christos add printflike and fix the format error.
 1.1 23-Oct-2011  agc Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.3.2.1 17-Apr-2012  yamt sync with head
 1.5 25-Nov-2023  mlelstv Parse IPv6 targets and handle IPv6 addresses.
 1.4 03-Dec-2021  andvar branches: 1.4.2;
fix various typos in comments, log messages and documentation.
 1.3 30-May-2015  joerg Remove userland side of ISCSI_DEBUG and ISCSI_TEST_MODE.
 1.2 30-Oct-2011  christos remove some lint
 1.1 23-Oct-2011  agc Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.4.2.1 18-Dec-2023  martin Pull up following revision(s) (requested by mlelstv in ticket #504):

sbin/iscsictl/iscsic_parse.c: revision 1.5
sbin/iscsid/iscsid_driverif.c: revision 1.9

Parse IPv6 targets and handle IPv6 addresses.
 1.2 30-May-2015  joerg Remove userland side of ISCSI_DEBUG and ISCSI_TEST_MODE.
 1.1 23-Oct-2011  agc Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.9 30-Aug-2015  jnemeth update client OS version as well
 1.8 30-Aug-2015  jnemeth PR/49616 - Andreas Gustafsson -- bring modload example into era of MODULAR
 1.7 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.6 20-Jul-2013  wiz Use Mt for email addresses.
 1.5 02-Jun-2012  njoly branches: 1.5.2; 1.5.4;
Fix Bl -tag width arguments.
 1.4 29-May-2012  riz The 'list_sessions' command has a -c flag to display connections
associated with the sessions.
 1.3 27-May-2012  wiz NetBSD -> Nx; new sentence, new line; remove superfluous Pp.
 1.2 26-May-2012  riz Begin the tedious process of documenting iscsictl(8) commands,
options, and flags. I gathered this information by tediously
slogging through the source code, so it's likely to be incomplete
and occasionally flat wrong.

At a minimum, specify which options the various commands take, and
clarify the address specifications. There is still much to do,
but this increases the usefulness of this man page for me, at least.
 1.1 23-Oct-2011  agc branches: 1.1.2; 1.1.4;
Start to move the in-kernel iSCSI initiator, kindly contributed to the
NetBSD Foundation by Wasabi Systems, from

othersrc/external/bsd/iscsi/{iscsictl,iscsid}

to

src/sbin/{iscsictl,iscsid}
 1.1.4.1 30-May-2012  sborrill Pull up the following revisions(s) (requested by riz in ticket #291):
etc/MAKEDEV.tmpl: revision 1.155
sbin/iscsictl/iscsictl.8: revision 1.2-1.4
sbin/iscsid/iscsid_driverif.c: revision 1.4-1.5
sbin/iscsid/iscsid_lists.c: revision 1.4-1.7
sbin/iscsid/iscsid_targets.c: revision 1.4
sbin/iscsid/iscsid_globals.h: revision 1.5-1.7
sbin/iscsid/iscsid_main.c: revision 1.4-1.7
sbin/iscsid/Makefile: revision 1.2-1.4
sbin/iscsid/iscsid.8: revision 1.3-1.8
sbin/iscsid/iscsid.h: revision 1.3
sys/dev/iscsi/iscsi_main.c: revision 1.2-1.3

Fix bugs in iscsid target list handling, and improve documentation
somewhat for the in-kernel iSCSI initiator.
 1.1.2.2 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.2.1 30-Oct-2012  yamt sync with head
 1.5.4.1 23-Jul-2013  riastradh sync with HEAD
 1.5.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.

RSS XML Feed