trasz
fec3636fbd
Implement initiator-name and initiator-portal restrictions.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:08:04 +00:00
trasz
b84432b20c
Daemonize after applying configuration, not before, so that
...
any problems - including "daemon already running" - are visible
on the terminal and not just in logs.
Sponsored by: The FreeBSD Foundation
2014-02-11 10:59:57 +00:00
trasz
e4b6e911a2
Empty data segment during Login Phase is rather unlikely, but it's
...
not, by itself, a protocol error. This fixes interoperability with
OpenBSD initiator.
Sponsored by: The FreeBSD Foundation
2014-02-11 10:58:32 +00:00
trasz
1d16ec7cee
The log_whatever() routines don't accept NULL for format strings,
...
so mark them as __printflike instead of__printf0like.
Sponsored by: The FreeBSD Foundation
2014-02-11 10:56:43 +00:00
trasz
f0306f793f
Improve check for duplicated paths. It shows the warning twice for
...
every path (once for each duplicate found), but it should do for now.
Sponsored by: The FreeBSD Foundation
2014-02-11 10:55:32 +00:00
trasz
942aab7c51
Refactor.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 10:53:08 +00:00
trasz
9e76667e13
Fix handling for empty auth-groups. Without it, ctld child process
...
would either exit on assertion, or, if assertions are not enabled,
fail to authenticate the target.
MFC after: 2 days
Sponsored by: The FreeBSD Foundation
2013-12-10 17:27:11 +00:00
trasz
6149217d80
Grammar fix.
...
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
2013-12-02 09:47:22 +00:00
trasz
e3b2accfd9
Fix typos.
...
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
2013-12-02 09:23:34 +00:00
trasz
c5a7ee0968
Fix typo.
...
Submitted by: feld@
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
2013-11-10 13:16:28 +00:00
trasz
33f6245f1b
Plug memory leaks.
...
Coverity CID: 1087993, 1087992
Approved by: re (marius)
Sponsored by: FreeBSD Foundation
2013-10-09 13:28:45 +00:00
trasz
05bb4f6fbc
Fix off-by-one.
...
Coverity CID: 1011375
Approved by: re (glebius)
Sponsored by: FreeBSD Foundation
2013-10-09 12:17:40 +00:00
trasz
84d8bf623b
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
2013-09-18 21:15:21 +00:00
trasz
2320759748
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)
2013-09-18 08:37:14 +00:00
joel
44f767ab70
Minor mdoc fixes.
...
Approved by: re (blanket)
2013-09-14 21:43:18 +00:00
trasz
a992abf041
Bring in the new iSCSI target and initiator.
...
Reviewed by: ken (parts)
Approved by: re (delphij)
Sponsored by: FreeBSD Foundation
2013-09-14 15:29:06 +00:00