aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/iscsid
Commit message (Collapse)AuthorAgeFilesLines
* Make the iSCSI stack use __FBSDID() properly.Edward Tomasz Napierala2014-08-216-6/+18
| | | | | | | | MFC after: 2 weeks Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=270279
* Add LIBCRYPTO and LIBSSL to DPADDEnji Cooper2014-08-181-1/+1
| | | | | | | | | | | | This fixes "make checkdpadd" Phabric: D621 PR: 192761 Approved by: rpaulo (mentor) MFC after: 2 weeks Notes: svn path=/head/; revision=270146
* Make iSCSI initiator keep Initiator Session ID (ISID) across reconnects.Alexander Motin2014-07-063-24/+10
| | | | | | | | | | | | Previously ISID was changed every time, that made impossible correct persistent reservation, because reconnected session was identified as completely new one. Reviewed by: trasz MFC after: 1 week Notes: svn path=/head/; revision=268326
* use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-1/+1
| | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* Implement redirection handling in initiator.Edward Tomasz Napierala2014-06-182-2/+62
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267613
* Get rid of unneccessary argument.Edward Tomasz Napierala2014-06-181-5/+8
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267612
* Improve code a little; no functional changes.Edward Tomasz Napierala2014-06-181-9/+21
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=267609
* Use proper term in debug messages.Edward Tomasz Napierala2014-06-181-5/+5
| | | | | | | | MFC after: 1 month Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=267608
* Remove unused variable.Edward Tomasz Napierala2014-05-151-4/+0
| | | | Notes: svn path=/head/; revision=266169
* Remove redundant code.Edward Tomasz Napierala2014-04-171-1/+0
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=264604
* Make it possible for the initiator side to operate in both proxyEdward Tomasz Napierala2014-04-163-34/+46
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=264549
* Update most userspace consumers of capability.h to use capsicum.h instead.Robert Watson2014-03-161-1/+1
| | | | | | | | | | auditdistd is not updated as I will make the change upstream and then do a vendor import sometime in the next week or two. MFC after: 3 weeks Notes: svn path=/head/; revision=263234
* So, it turns out SIGCHLD is discarded by default, so we have to set upEdward Tomasz Napierala2014-02-111-0/+28
| | | | | | | | | | | 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 Notes: svn path=/head/; revision=261748
* Empty data segment during Login Phase is rather unlikely, but it's notEdward Tomasz Napierala2014-02-113-7/+1
| | | | | | | | | a protocol error. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=261747
* The log_whatever() routines don't accept NULL for format strings,Edward Tomasz Napierala2014-02-101-4/+4
| | | | | | | | | so mark them as __printflike instead of __printf0like. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=261715
* Plug memory leak.Edward Tomasz Napierala2013-10-091-0/+1
| | | | | | | | | Coverity CID: 1087991 Approved by: re (gjb) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=256194
* Fix memory overrun.Edward Tomasz Napierala2013-10-091-1/+1
| | | | | | | | | Coverity CID: 1092478 Approved by: re (gjb) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=256193
* Fix several problems in the new iSCSI stack; this includes interoperabilityEdward Tomasz Napierala2013-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 Notes: svn path=/head/; revision=255678
* Make iscsictl(8) automatically try to load the iscsi module. While here,Edward Tomasz Napierala2013-09-181-1/+1
| | | | | | | | | improve module loading in iscsid(8) and ctld(8). Approved by: re (delphij) Notes: svn path=/head/; revision=255665
* Improve iSCSI address resolution, fixing "InitiatorAddress" handling,Edward Tomasz Napierala2013-09-171-31/+35
| | | | | | | | | and error reporting. Approved by: re (kib) Notes: svn path=/head/; revision=255636
* Minor mdoc fixes.Joel Dahl2013-09-141-2/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=255575
* Bring in the new iSCSI target and initiator.Edward Tomasz Napierala2013-09-149-0/+2609
Reviewed by: ken (parts) Approved by: re (delphij) Sponsored by: FreeBSD Foundation Notes: svn path=/head/; revision=255570