History log of /freebsd-10.3-release/usr.sbin/ctld/login.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

# 288753 05-Oct-2015 mav

MFC r287766: Add negotiation of iSCSIProtocolLevel to 2 (RFC7144).

We may need to pass negotiated value to kernel level, but so far it is
not necessary, since it does not use any new features without request.


# 288704 05-Oct-2015 mav

MFC r281532 (by delphij): Eliminate unused headers.


# 287026 22-Aug-2015 mav

MFC r286462: Refactor early stages of security negotiation.


# 286801 15-Aug-2015 mav

MFC r286456: Remove some code duplication.


# 286222 03-Aug-2015 trasz

MFC r282086:

Make setproctitle(3) work in Capsicum capability mode. This makes
ctld(8) child processes to indicate initiator address and name in
their titles, similar to what iscsid(8) child processes do.

PR: 181352
Sponsored by: The FreeBSD Foundation


# 279006 19-Feb-2015 mav

MFC r278322: Add support for multiple portal groups per target.

This change allows multiple "portal-group" options to be specified per
target. Each of them may include new optional auth-group name parameter
to override per-target auth parameters for specific portal group.

Kernel side support was added earlier at r278161.

Sponsored by: iXsystems, Inc.


# 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.


# 275642 09-Dec-2014 trasz

MFC r274308:

Add support for sending redirections to iSCSI target.

MFC r274309:

Fix several nits in redirection handling - don't use wrong CSG,
and avoid use-after-free.

Sponsored by: The FreeBSD Foundation


# 275244 29-Nov-2014 trasz

MFC r273813:

Add discovery-filter. This makes it possible to restrict which targets
are returned during discovery based on initiator portal, name, and CHAP
credentials.


# 274949 24-Nov-2014 trasz

MFC r273584:

Make the initiator-name and initiator-portal checks a little nicer.

Sponsored by: The FreeBSD Foundation


# 274947 24-Nov-2014 trasz

MFC 273583:

Tidy up the login code; no functional changes.

Sponsored by: The FreeBSD Foundation


# 274870 22-Nov-2014 trasz

MFC r273464:

Whitespace fixes.

Sponsored by: The FreeBSD Foundation


# 274869 22-Nov-2014 trasz

MFC r271320:

Use keys_add_int() where appropriate. No functional changes.

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


# 271701 17-Sep-2014 trasz

MFC r271319:

Fix ctld(8) to not forget to send TargetPortalGroupTag and TargetAlias
when the initiator skips security negotiation. This fixes interoperability
with Xtend SAN initiator.

PR: 193021
Approved by: re (marius)
Sponsored by: The FreeBSD Foundation


# 271626 15-Sep-2014 trasz

MFC r271157:

Fix typo.

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


# 270888 31-Aug-2014 trasz

MFC r270279:

Make the iSCSI stack use __FBSDID() properly.

Sponsored by: The FreeBSD Foundation


# 270137 18-Aug-2014 mav

MFC r269183, r269191:
Add netmasks support to initiator-portal option.


# 268684 15-Jul-2014 mav

MFC r268302:
Pass through iSCSI session ISID from LOGIN request to the CTL frontend.

ISID is an important part of initiator transport ID for iSCSI. It is not
used now, but should be to properly implement persistent reservation.


# 265515 07-May-2014 trasz

MFC r264532:

Use proper terminology in debug messages.

Sponsored by: The FreeBSD Foundation


# 263734 25-Mar-2014 trasz

MFC r263356:

Make the error message more clear.

Sponsored by: The FreeBSD Foundation


# 263733 25-Mar-2014 trasz

MFC r261752:

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


# 263729 25-Mar-2014 trasz

MFC r261763:

Use new auth-type "deny" instead of using "chap" with no chap entries;
it's cleaner this way, and gives better feedback to the user.

Sponsored by: The FreeBSD Foundation


# 263723 25-Mar-2014 trasz

MFC r261757:

Rename a variable, no functional changes.

Sponsored by: The FreeBSD Foundation


# 263720 25-Mar-2014 trasz

MFC r261754:

Implement initiator-name and initiator-portal restrictions.

Sponsored by: The FreeBSD Foundation


# 259305 13-Dec-2013 trasz

MFC r259182:

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.

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


# 256192 09-Oct-2013 trasz

Plug memory leaks.

Coverity CID: 1087993, 1087992
Approved by: re (marius)
Sponsored by: FreeBSD Foundation


# 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