summaryrefslogtreecommitdiffstats
path: root/usr.sbin/iscsid
Commit message (Collapse)AuthorAgeFilesLines
* MFC r275925: Slightly polish iSCSI parameters negotiation.mav2014-12-261-2/+7
|
* MFC r271366 (by mav@):trasz2014-11-291-0/+1
| | | | Fix memory leak, reported by Coverity.
* MFC r274328:mav2014-11-231-1/+50
| | | | | | | 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.
* MFC r273464:trasz2014-11-222-4/+4
| | | | | | Whitespace fixes. Sponsored by: The FreeBSD Foundation
* MFC r273459:trasz2014-11-224-193/+449
| | | | | | | Untangle iSCSI authentication code by splitting off the CHAP implementation. Sponsored by: The FreeBSD Foundation
* MFC r271445,r271446,r271560:allanjude2014-09-181-5/+7
| | | | | | | | | | 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)
* MFC r271437:trasz2014-09-171-9/+31
| | | | | | | | | | | 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
* MFC r270146:ngie2014-09-011-1/+1
| | | | | | | | | | Add LIBCRYPTO and LIBSSL to DPADD This fixes "make checkdpadd" Phabric: D621 PR: 192761 Approved by: rpaulo (mentor)
* MFC r270279:trasz2014-08-316-6/+18
| | | | | | Make the iSCSI stack use __FBSDID() properly. Sponsored by: The FreeBSD Foundation
* MFC r267612 (by trasz):mav2014-07-241-5/+8
| | | | Get rid of unneccessary argument.
* MFC r267609 (by trasz):mav2014-07-241-9/+21
| | | | Improve code a little; no functional changes.
* MFC r267608 (by trasz):mav2014-07-241-5/+5
| | | | Use proper term in debug messages.
* MFC r266169 (by trasz):mav2014-07-241-4/+0
| | | | Remove unused variable.
* MFC r267613 (by trasz):mav2014-07-242-2/+62
| | | | Implement redirection handling in initiator.
* MFC r268326:mav2014-07-153-24/+10
| | | | | | | | 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.
* MFC r264604:trasz2014-05-071-1/+0
| | | | | | Remove redundant code. Sponsored by: The FreeBSD Foundation
* MFC r264549:trasz2014-05-073-34/+46
| | | | | | | | | 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
* MFC r261748:trasz2014-03-061-0/+28
| | | | | | | | | 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
* MFC r261747:trasz2014-03-063-7/+1
| | | | | | | Empty data segment during Login Phase is rather unlikely, but it's not a protocol error. Sponsored by: The FreeBSD Foundation
* MFC r261715:trasz2014-03-061-4/+4
| | | | | | | The log_whatever() routines don't accept NULL for format strings, so mark them as __printflike instead of __printf0like. Sponsored by: The FreeBSD Foundation
* Plug memory leak.trasz2013-10-091-0/+1
| | | | | | Coverity CID: 1087991 Approved by: re (gjb) Sponsored by: FreeBSD Foundation
* Fix memory overrun.trasz2013-10-091-1/+1
| | | | | | Coverity CID: 1092478 Approved by: re (gjb) Sponsored by: FreeBSD Foundation
* Fix several problems in the new iSCSI stack; this includes interoperabilitytrasz2013-09-182-55/+84
| | | | | | | | | | | | | 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
* Make iscsictl(8) automatically try to load the iscsi module. While here,trasz2013-09-181-1/+1
| | | | | | improve module loading in iscsid(8) and ctld(8). Approved by: re (delphij)
* Improve iSCSI address resolution, fixing "InitiatorAddress" handling,trasz2013-09-171-31/+35
| | | | | | and error reporting. Approved by: re (kib)
* Minor mdoc fixes.joel2013-09-141-2/+2
| | | | Approved by: re (blanket)
* Bring in the new iSCSI target and initiator.trasz2013-09-149-0/+2609
Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation
OpenPOWER on IntegriCloud