History log of /freebsd-10-stable/usr.sbin/iscsid/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
290145 29-Oct-2015 delphij

MFC r288959:

Remove a few unused headers.

288698 05-Oct-2015 mav

MFC r278622 (by trasz): Remove unused code.

286219 03-Aug-2015 trasz

MFC r285086:

Remove OpenSSL dependency from iscsid(8) and ctld(8).

Sponsored by: The FreeBSD Foundation

280250 19-Mar-2015 rwatson

Merge an applicable subset of r263234 from HEAD to stable/10:

Update most userspace consumers of capability.h to use capsicum.h instead.

auditdistd is not updated as I will make the change upstream and then do a
vendor import sometime in the next week or two.

Note that a significant fraction does not apply, as FreeBSD 10 doesn't
contain a Capsicumised ping, casperd, libcasper, etc. When these features
are merged, the capsicum.h change will need to be merged with them.

Sponsored by: Google, Inc.

279001 19-Feb-2015 mav

MFC r274853:
For both iSCSI initiator and target increase socket buffer sizes before
establishing connection.

This is a workaround for Chelsio TOE driver, that does not update socket
buffer size in hardware after connection established, and unless that is
done beforehand, kernel code will stuck, attempting to send/receive full
PDU at once.

276613 03-Jan-2015 mav

MFC r275864: Make sequence numbers checks more strict.

While we don't support MCS, hole in received sequence numbers may mean
only PDU loss. While we don't support lost PDU recovery, terminate the
connection to avoid stuck commands.

While there, improve handling of sequence numbers wrap after 2^32 PDUs.

276234 26-Dec-2014 mav

MFC r275925: Slightly polish iSCSI parameters negotiation.

275259 29-Nov-2014 trasz

MFC r271366 (by mav@):

Fix memory leak, reported by Coverity.

274909 23-Nov-2014 mav

MFC r274328:
Make both iSCSI initiator and target support base64 encoded CHAP data.

While all tested initiators and targets use hex-encoded CHAP data, RFC also
allows base64 encoding there, and Microsoft certificaition tool uses it.

274870 22-Nov-2014 trasz

MFC r273464:

Whitespace fixes.

Sponsored by: The FreeBSD Foundation

274866 22-Nov-2014 trasz

MFC r273459:

Untangle iSCSI authentication code by splitting off the CHAP
implementation.

Sponsored by: The FreeBSD Foundation

271734 18-Sep-2014 allanjude

MFC r271445,r271446,r271560:
Improve markup and language throughout the ctl.conf man page

MFC r271543:
Add the new iscsi(4) man page
Cross reference it from iscsid(8) and iscsictl(8)

Approved by: re (gjb), bcr (mentor)

271706 17-Sep-2014 trasz

MFC r271437:

Don't blindly assume the target agreed to transition to Full Feature Phase;
if we got a Login Response PDU without the "T" bit set, try again with
an empty request. This fixes interoperability with COMSTAR.

Reviewed by: mav
Tested by: mav
Approved by: re (kib)
Sponsored by: The FreeBSD Foundation

270909 01-Sep-2014 ngie

MFC r270146:

Add LIBCRYPTO and LIBSSL to DPADD

This fixes "make checkdpadd"

Phabric: D621
PR: 192761
Approved by: rpaulo (mentor)

270888 31-Aug-2014 trasz

MFC r270279:

Make the iSCSI stack use __FBSDID() properly.

Sponsored by: The FreeBSD Foundation

269069 24-Jul-2014 mav

MFC r267612 (by trasz):
Get rid of unneccessary argument.

269068 24-Jul-2014 mav

MFC r267609 (by trasz):
Improve code a little; no functional changes.

269067 24-Jul-2014 mav

MFC r267608 (by trasz):
Use proper term in debug messages.

269066 24-Jul-2014 mav

MFC r266169 (by trasz):
Remove unused variable.

269065 24-Jul-2014 mav

MFC r267613 (by trasz):
Implement redirection handling in initiator.

268703 15-Jul-2014 mav

MFC r268326:
Make iSCSI initiator keep Initiator Session ID (ISID) across reconnects.

Previously ISID was changed every time, that made impossible correct
persistent reservation, because reconnected session was identified as
completely new one.

265528 07-May-2014 trasz

MFC r264604:

Remove redundant code.

Sponsored by: The FreeBSD Foundation

265526 07-May-2014 trasz

MFC r264549:

Make it possible for the initiator side to operate in both proxy
and normal mode; this makes it possible to compile with the former
by default, but use it only when neccessary. That's especially
important for the userland part.

Sponsored by: The FreeBSD Foundation

262846 06-Mar-2014 trasz

MFC r261748:

So, it turns out SIGCHLD is discarded by default, so we have to set up
a dummy handler to make it interrupt an ioctl(2) or select(2).

This makes those short-lived iscsid(8) zombies disappear.

Sponsored by: The FreeBSD Foundation

262845 06-Mar-2014 trasz

MFC r261747:

Empty data segment during Login Phase is rather unlikely, but it's not
a protocol error.

Sponsored by: The FreeBSD Foundation

262844 06-Mar-2014 trasz

MFC r261715:

The log_whatever() routines don't accept NULL for format strings,
so mark them as __printflike instead of __printf0like.

Sponsored by: The FreeBSD Foundation

256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256194 09-Oct-2013 trasz

Plug memory leak.

Coverity CID: 1087991
Approved by: re (gjb)
Sponsored by: FreeBSD Foundation


256193 09-Oct-2013 trasz

Fix memory overrun.

Coverity CID: 1092478
Approved by: re (gjb)
Sponsored by: FreeBSD Foundation


255678 18-Sep-2013 trasz

Fix several problems in the new iSCSI stack; this includes interoperability
fix for LIO (Linux target), removing possibility for the target to avoid mutual
CHAP by choosing to skip authentication altogether, and fixing truncated error
messages in iscsictl(8) output. This also fixes several of the problems found
with Coverity.

Note that this change requires world rebuild.

Coverity CID: 1088038, 1087998, 1087990, 1088004, 1088044, 1088041, 1088040
Approved by: re (blanket)
Sponsored by: FreeBSD Foundation


255665 18-Sep-2013 trasz

Make iscsictl(8) automatically try to load the iscsi module. While here,
improve module loading in iscsid(8) and ctld(8).

Approved by: re (delphij)


255636 17-Sep-2013 trasz

Improve iSCSI address resolution, fixing "InitiatorAddress" handling,
and error reporting.

Approved by: re (kib)


255575 14-Sep-2013 joel

Minor mdoc fixes.

Approved by: re (blanket)


255570 14-Sep-2013 trasz

Bring in the new iSCSI target and initiator.

Reviewed by: ken (parts)
Approved by: re (delphij)
Sponsored by: FreeBSD Foundation