332616 |
16-Apr-2018 |
trasz |
MFC r328336:
Add missing SPDX identifier in iscsid(8). |
330449 |
05-Mar-2018 |
eadler |
MFC r326276:
various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task.
The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts.
No functional change intended. |
319628 |
06-Jun-2017 |
trasz |
MFC r319074:
Minor tweaks to iscsi(4) and iscsid(8).
This is mostly wording and clarification of the userspace/kernel split.
Approved by: re (gjb) |
319119 |
29-May-2017 |
ngie |
MFC r314659,r314676:
r314659:
usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
r314676:
Fix build after r314656
Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated.
Reminder: thou shalt separate out separate functional changes before committing them.
(YUGE) Pointyhat to: ngie In collaboration with: bdrewery |
317062 |
17-Apr-2017 |
araujo |
MFC r314987-r314989, r314993-r314994, r315046-r315049, r315102
r314987: Use nitems() from sys/param.h.
Reviewed by: asomers MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9944
r314988: Use nitems() from sys/param.h.
Reviewed by: ume MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9938
r314989: Use nitems() from sys/param.h and also remove the cast.
Reviewed by: markj MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9937
r314993: Use nitems() from sys/param.h.
Reviewed by: ngie MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9936
r314994: Use nitems() from sys/param.h.
Reviewed by: ngie MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9940
r315046: Use nitems() from sys/param.h
Reviewed by: jhb MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9941
r315047: Use nitems() from sys/param.h.
Reviewed by: np MFC after: 3 weeks. Differential Revision: https://reviews.freebsd.org/D9945
r315048: Use nitems() from sys/param.h.
MFC after: 3 weeks.
r315049: Bring back the cast removed in my previous commit to allow us build vmstat with WARNS 2. This cast was first introduced at r87690.
Reported by: bde, pfg and ngie MFC after: 3 weeks.
r315102: Use nitems() from sys/param.h.
Reviewed by: ngie Differential Revision: https://reviews.freebsd.org/D9943 |
307697 |
21-Oct-2016 |
araujo |
MFC r303541, r303542, r303543, r303545, r303546, r303547, r304225, r304226, r304605, r304676, r305212, r305863:
r303541: Use nitems() from sys/param.h.
Sponsored by: gandi.net (BSD Day Taiwan) MFC after: 2 weeks.
r303542: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303543: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303545: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303546: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r303547: Use nitems() from sys/param.h.
MFC after: 2 weeks. Sponsored by: gandi.net (BSD Day Taiwan)
r304225: Use nitems() from sys/param.h.
MFC after: 2 weeks.
r304226: Use nitems() from sys/param.h.
MFC after: 2 weeks.
r304605: Fix calloc(3) argument order.
Reviewed by: trasz MFC after: 4 weeks. Differential Revision: https://reviews.freebsd.org/D7532
r304676: Fix calloc(3) argument order.
MFC after: 4 weeks.
r305212: - Invert calloc(3) argument order.
MFC after: 4 weeks
r305863: Invert calloc(3) argument order.
Reviewed by: ed. MFC after: 4 weeks. Differential Revision: https://reviews.freebsd.org/D7902 |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
301721 |
09-Jun-2016 |
trasz |
Decouple MaxBurstLength and FirstBurstLength from MaxRecvDataSegmentLength reported by the ICL module in iscsid(8). This harmed performance and was just wrong.
MFC after: 1 month
|
300504 |
23-May-2016 |
trasz |
Build iscsid(8) with ICL_KERNEL_PROXY defined by default, as required for iSER.
Obtained from: Mellanox Technologies MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
300212 |
19-May-2016 |
trasz |
When iscsid(8) is running in ICL proxy mode, don't try to send Logout PDUs. The kernel already does this for us when we ask it to terminate the session.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
300022 |
17-May-2016 |
trasz |
Add initial support for negotiating iSER parameters to iscsid(8). Some rework might be needed to support asymetrical limits, but this should be ok for now.
Obtained from: Mellanox Technologies (earlier version) MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
296898 |
15-Mar-2016 |
trasz |
Make fail() preserve the errno.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
296897 |
15-Mar-2016 |
trasz |
Use the log_errno value passed to the function instead of the errno global variable.
Suggested by: Daniel Braniss MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
294932 |
27-Jan-2016 |
trasz |
Improve reporting of connection problems in iscsid(8).
Obtained from: Mellanox Technologies MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
294670 |
24-Jan-2016 |
trasz |
The <libutil.h> is an ordinary header file; should sort just like any other.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
291563 |
01-Dec-2015 |
bdrewery |
META MODE: Update dependencies with 'the-lot' and add missing directories.
This is not properly respecting WITHOUT or ARCH dependencies in target/. Doing so requires a massive effort to rework targets/ to do so. A better approach will be to either include the SUBDIR Makefiles directly and map to DIRDEPS or just dynamically lookup the SUBDIR. These lose the benefit of having a userland/lib, userland/libexec, etc, though and results in a massive package. The current implementation of targets/ is very unmaintainable.
Currently rescue/rescue and sys/modules are still not connected.
Sponsored by: EMC / Isilon Storage Division
|
290822 |
14-Nov-2015 |
trasz |
Remove unneeded includes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
288959 |
06-Oct-2015 |
delphij |
Remove a few unused headers.
MFC after: 2 weeks
|
287431 |
03-Sep-2015 |
trasz |
Use proper term in the ctld(8) and iscsid(8) man pages.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
285086 |
03-Jul-2015 |
trasz |
Remove OpenSSL dependency from iscsid(8) and ctld(8).
Differential Revision: https://reviews.freebsd.org/D2866 Submitted by: Tony Morlan <tony at scroner.com> (earlier version) Reviewed by: bapt@, delphij@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
278622 |
12-Feb-2015 |
trasz |
Remove unused code.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
278236 |
05-Feb-2015 |
trasz |
The connection_new() routine was taking an absurd number of parameters; fix it.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
278232 |
05-Feb-2015 |
trasz |
Make it possible to set (via iscsi.conf(5)) and query (via iscsictl -v) initiator iSCSI offload. Pass maximum data segment size supported by chosen offload module to iscsid(8), and make iscsid(8) not try to negotiate anything larger than that.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
275925 |
19-Dec-2014 |
mav |
Slightly polish iSCSI parameters negotiation.
MFC after: 1 week
|
275864 |
17-Dec-2014 |
mav |
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.
MFC after: 2 weeks
|
275054 |
25-Nov-2014 |
bapt |
Convert usr.sbin to LIBADD Reduce overlinking
|
274853 |
22-Nov-2014 |
mav |
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.
MFC after: 1 week
|
274328 |
09-Nov-2014 |
mav |
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.
Reviewed by: trasz (earlier version) MFC after: 2 weeks Sponsored by: iXsystems, Inc.
|
274171 |
06-Nov-2014 |
bapt |
iscsid does not need to link to libssl
|
273464 |
22-Oct-2014 |
trasz |
Whitespace fixes.
MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
273459 |
22-Oct-2014 |
trasz |
Untangle iSCSI authentication code by splitting off the CHAP implementation.
Reviewed by: mav@ MFC after: 1 month Sponsored by: The FreeBSD Foundation
|
271543 |
13-Sep-2014 |
allanjude |
Add the new iscsi(4) man page Cross reference it from iscsid(8) and iscsictl(8)
Reviewed by: trasz Approved by: bcr (mentor), wblock (mentor) Sponsored by: ScaleEngine Inc. CR: https://reviews.freebsd.org/D741
|
271437 |
11-Sep-2014 |
trasz |
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@ MFC after: 1 week
|
271366 |
10-Sep-2014 |
mav |
Fix memory leak, reported by Coverity.
CID: 1229996
|
270279 |
21-Aug-2014 |
trasz |
Make the iSCSI stack use __FBSDID() properly.
MFC after: 2 weeks Sponsored by: The FreeBSD Foundation
|
270146 |
18-Aug-2014 |
ngie |
Add LIBCRYPTO and LIBSSL to DPADD
This fixes "make checkdpadd"
Phabric: D621 PR: 192761 Approved by: rpaulo (mentor) MFC after: 2 weeks
|
268326 |
06-Jul-2014 |
mav |
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.
Reviewed by: trasz MFC after: 1 week
|
267668 |
20-Jun-2014 |
bapt |
use .Mt to mark up email addresses consistently (part2)
PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de>
|
267613 |
18-Jun-2014 |
trasz |
Implement redirection handling in initiator.
Sponsored by: The FreeBSD Foundation
|
267612 |
18-Jun-2014 |
trasz |
Get rid of unneccessary argument.
Sponsored by: The FreeBSD Foundation
|
267609 |
18-Jun-2014 |
trasz |
Improve code a little; no functional changes.
Sponsored by: The FreeBSD Foundation
|
267608 |
18-Jun-2014 |
trasz |
Use proper term in debug messages.
MFC after: 1 month Sponsored by: FreeBSD Foundation
|
266169 |
15-May-2014 |
trasz |
Remove unused variable.
|
264604 |
17-Apr-2014 |
trasz |
Remove redundant code.
Sponsored by: The FreeBSD Foundation
|
264549 |
16-Apr-2014 |
trasz |
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
|
263234 |
16-Mar-2014 |
rwatson |
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.
MFC after: 3 weeks
|
261748 |
11-Feb-2014 |
trasz |
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
|
261747 |
11-Feb-2014 |
trasz |
Empty data segment during Login Phase is rather unlikely, but it's not a protocol error.
Sponsored by: The FreeBSD Foundation
|
261715 |
10-Feb-2014 |
trasz |
The log_whatever() routines don't accept NULL for format strings, so mark them as __printflike instead of __printf0like.
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
|