trasz
b9b743fae9
Rework the way we enable CTL iSCSI port. Previously conf_apply()
...
needed it to be already enabled, because listening in proxy mode
requires it; however, it's conf_apply() that opens pidfiles,
so it resulted in port being enabled before pidfile was opened.
This was not so bad, but it was also disabled when pidfile couldn't
be opened due to ctld already running; this means that starting
second ctld instance screwed up the first.
Sponsored by: The FreeBSD Foundation
2014-04-16 10:43:12 +00:00
trasz
e1b3e5b339
Show proper configuration file line numbers in error messages.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:37:49 +00:00
trasz
d223366773
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
2014-02-11 11:32:36 +00:00
trasz
e4d2947104
Add a new auth-group "default", defaulting to deny, and make it possible
...
to redefine it. From now on, assigning auth-group to a target is no longer
mandatory.
Sponsored by: The FreeBSD Foundation
2014-02-11 11:29:05 +00:00
trasz
7dbe2512bb
Make it possible to redefine portal-group "default".
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:27:25 +00:00
trasz
f5f5c39110
Add auth-type.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:26:05 +00:00
trasz
e8652707f0
Rename a variable, no functional changes.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:14:50 +00:00
trasz
5f228e3b08
Yacc cleanup; no functional changes.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:11:37 +00:00
trasz
fec3636fbd
Implement initiator-name and initiator-portal restrictions.
...
Sponsored by: The FreeBSD Foundation
2014-02-11 11:08:04 +00:00
trasz
e3b2accfd9
Fix typos.
...
MFC after: 3 days
Sponsored by: The FreeBSD Foundation
2013-12-02 09:23:34 +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