Home | History | Annotate | only in /src/sbin/iscsid
History log of /src/sbin/iscsid
RevisionDateAuthorComments
 1.6 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.5 11-Aug-2013  dholland These pass WARNS=5, so don't set WARNS=4
 1.4 28-May-2012  riz branches: 1.4.2;
Make the debugging printouts actually work when setting the debug level,
and allow the level to be set numerically from the command line.
 1.3 27-May-2012  christos use -n for nothreads.
 1.2 27-May-2012  christos make the debug level available on the command line.
 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.4.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14 14-Apr-2022  pgoyette iscsid(8) no longer requires scsibus(4) and sd(4) to be built-in to
the kernel. The scsi_subr module will be loaded if needed to resolve
any dependencies.
 1.13 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.12 10-Nov-2015  tnn fix iSCSI RFC number
 1.11 06-Jul-2014  zafer mention requirements for custom kernels.
 1.10 18-Mar-2014  riastradh branches: 1.10.2;
Merge riastradh-drm2 to HEAD.
 1.9 20-Jul-2013  wiz Use Mt for email addresses.
 1.8 28-May-2012  wiz branches: 1.8.2; 1.8.4;
Sort option descriptions (options without args, then options with args).
 1.7 28-May-2012  wiz Remove trailing whitespace.
 1.6 28-May-2012  riz Fix up the wording of the new flags, and show that the -d flag
now takes an argument.
 1.5 27-May-2012  riz Use Fl for the flags.
 1.4 27-May-2012  christos use -n for nothreads.
 1.3 27-May-2012  christos make the debug level available on the command line.
 1.2 21-Nov-2011  njoly branches: 1.2.2;
Fix title and xrefs.
 1.1 23-Oct-2011  agc branches: 1.1.2;
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.2.3 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.2 30-Oct-2012  yamt sync with head
 1.1.2.1 17-Apr-2012  yamt sync with head
 1.2.2.2 25-Nov-2012  reed Fix simple typo. (3270 is MPLS)
 1.2.2.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.8.4.1 23-Jul-2013  riastradh sync with HEAD
 1.8.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.2.1 10-Aug-2014  tls Rebase.
 1.5 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.4 21-Feb-2015  joerg Move communication socket to /var/run, especially when starting iscsid
during boot, it might disappear otherwise.
 1.3 27-May-2012  christos use -n for nothreads.
 1.2 29-Oct-2011  christos branches: 1.2.2; 1.2.4;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.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.2.2.1 30-Oct-2012  yamt sync with head
 1.6 11-Jul-2025  andvar Fix various typos, mainly in comments and log/error messages.
 1.5 29-May-2016  mlelstv branches: 1.5.28;
Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.4 24-Jun-2012  mlelstv use first successful connection to a ISNS server
 1.3 20-Nov-2011  agc branches: 1.3.2;
simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
 1.2 29-Oct-2011  christos branches: 1.2.2;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.2.1 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.5.28.1 02-Aug-2025  perseant Sync with HEAD
 1.11 13-Jul-2024  mlelstv Abort operation when a target address cannot be resolved.
 1.10 27-Dec-2023  mlelstv branches: 1.10.2;
Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before.
 1.9 25-Nov-2023  mlelstv Parse IPv6 targets and handle IPv6 addresses.
 1.8 29-May-2016  mlelstv branches: 1.8.26;
Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.7 30-May-2015  joerg Remove ISCSI_DEBUG branches.
 1.6 29-Dec-2012  mlelstv Handle invalid messages more gracefully, handle sessions with no valid
connections, and be more verbose about errors.
 1.5 27-May-2012  christos branches: 1.5.2;
use -n for nothreads.
 1.4 27-May-2012  riz Don't try to print pointers as integers, use %p instead and don't cast.
 1.3 20-Nov-2011  agc branches: 1.3.2;
simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
 1.2 29-Oct-2011  christos branches: 1.2.2;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.2.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.5.2.1 25-Feb-2013  tls resync with head
 1.8.26.2 30-Dec-2023  martin Pull up following revision(s) (requested by mlelstv in ticket #523):

sbin/iscsid/iscsid_driverif.c: revision 1.10

Treat port 0 (unset) as ISCSI_DEFAULT_PORT like before.
 1.8.26.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.10.2.1 02-Aug-2025  perseant Sync with HEAD
 1.10 05-Apr-2020  joerg Fix depenency on common symbols in sbin.
 1.9 30-May-2016  joerg branches: 1.9.16;
Add printf-like annotation.
 1.8 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.7 28-May-2012  riz Make the debugging printouts actually work when setting the debug level,
and allow the level to be set numerically from the command line.
 1.6 27-May-2012  riz Implement the remaining bits of unthreaded operation.
 1.5 27-May-2012  riz When ISCSI_NOTHREAD is defined, make UNLOCK_SESSIONS a different kind
of noop, so that things build.
 1.4 20-Nov-2011  agc branches: 1.4.2;
simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
 1.3 17-Nov-2011  joerg Use __dead
 1.2 29-Oct-2011  christos branches: 1.2.2;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.4.2.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.9.16.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.10 31-May-2022  andvar fix various typos in comments, documentation and messages.
 1.9 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.8 29-Dec-2012  mlelstv Handle invalid messages more gracefully, handle sessions with no valid
connections, and be more verbose about errors.
 1.7 28-May-2012  riz branches: 1.7.2;
Fix 4 more instances of the same bug (not returning NULL when stuff
not found). While I'm here, add comments so it hopefully doesn't happen
again.
 1.6 27-May-2012  riz Fix a bug introduced in rev 1.2: return "curr", like the debugging
says we're doing, because it, unlike "t", will propely be NULL when
the target name isn't found in the list. Now we can have multiple
targets again!
 1.5 27-May-2012  christos use -n for nothreads.
 1.4 27-May-2012  riz Don't try to print pointers as integers, use %p instead and don't cast.
 1.3 20-Nov-2011  agc branches: 1.3.2;
simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
 1.2 29-Oct-2011  christos branches: 1.2.2;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.2.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.7.2.1 25-Feb-2013  tls resync with head
 1.12 04-Feb-2019  mrg check for snprintf() truncation and fail sanely if so, rather than
attempting to use a file that won't exist or isn't secure.
 1.11 30-May-2016  mlelstv branches: 1.11.16;
mark noreturn function exit_daemon() as __dead
 1.10 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.9 30-May-2015  joerg Remove ISCSI_DEBUG branches.
 1.8 29-Dec-2012  mlelstv Handle invalid messages more gracefully, handle sessions with no valid
connections, and be more verbose about errors.
 1.7 28-May-2012  riz branches: 1.7.2;
Make the debugging printouts actually work when setting the debug level,
and allow the level to be set numerically from the command line.
 1.6 27-May-2012  riz Implement the remaining bits of unthreaded operation.
 1.5 27-May-2012  christos use -n for nothreads.
 1.4 27-May-2012  christos make the debug level available on the command line.
 1.3 20-Nov-2011  agc branches: 1.3.2;
simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
 1.2 29-Oct-2011  christos branches: 1.2.2;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.2.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.7.2.1 25-Feb-2013  tls resync with head
 1.11.16.1 10-Jun-2019  christos Sync with HEAD
 1.7 24-May-2022  andvar fix various typos in comment, documentation and log messages.
 1.6 29-May-2016  mlelstv Several improvents to iscsid

- debug log is now using syslog
- seperate options for log level and foreground mode
- writes a pidfile so that /etc/rc.d/iscsid works
Now links with libutil for pidfile(), the functions login() and logout()
needed to be renamed to avoid a conflict.
- drops the nothreads option
- handles signals to shut down gracefully
- the driver may also shut down the daemon when it terminates
Currently this cannot work as the driver can only terminate when
the daemon has closed the driver file handle.
 1.5 29-Dec-2012  mlelstv Handle invalid messages more gracefully, handle sessions with no valid
connections, and be more verbose about errors.
 1.4 27-May-2012  riz branches: 1.4.2;
Don't try to print pointers as integers, use %p instead and don't cast.
 1.3 20-Nov-2011  agc branches: 1.3.2;
simplify code by removing a useless "#define STATIC static" in both debug
and normal usage, and all of its uses.
 1.2 29-Oct-2011  christos branches: 1.2.2;
cleanup some messy casts and type violations.
XXX: There is one piece of code I marked that does not make sense.
Someone should take a look at it.
 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.2.3 23-Jan-2013  yamt sync with head
 1.2.2.2 30-Oct-2012  yamt sync with head
 1.2.2.1 17-Apr-2012  yamt sync with head
 1.3.2.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.4.2.1 25-Feb-2013  tls resync with head

RSS XML Feed