| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Updated Changelog and two include files.
Note that this bumps the minor version number from
0 to 1, and starts the "patch" version number over
again at 0.
See https://semver.org for information on semantic
versioning.
|
|
|
|
|
| |
Some places list version number with "2.0-NUMBER", and some
as "2.0.NUMBER". The latter is correct.
|
|\
| |
| | |
first batch of changes to address Coverity scan issues
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This loop is executing 16 times (sizeof(struct ipv6_addr)) but then
consumes 16-bits at a time (and moves ptr ahead two bytes).
|
| | |
|
| |
| |
| |
| |
| | |
Resource Leak: Variable mac_file going out of scope leaks the storage it points to.
Resource Leak: Handle variable mac_fd going out of scope leaks the storage it points to.
|
| |
| |
| |
| |
| |
| | |
Picked up by Coverity as a resource leak on the allocated context,
callers are not expected allocation here (and the function would need to
take a **boot_context if they were)
|
| | |
|
| |
| |
| |
| | |
Don't know who might be trying to make really long IQNs ¯\_(ツ)_/¯
|
| |
| |
| |
| |
| | |
We don't actually control the open-iscsi.org domain anymore, so change
the prefix to reflect the use of open-iscsi.com
|
| |
| |
| |
| | |
dereferencing pointer
|
| | |
|
| |
| |
| |
| |
| |
| | |
This is comming up in places where the error handling assumes that on a
failure there is no file descriptor to worry about. I don't think we
need to keep fd around when indicating a connection error.
|
| |
| |
| |
| | |
points to.
|
| |
| |
| |
| | |
points to.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
acl_text_to_number
This was triggering from acl_text_to_number callsites, but the issue to
me looks like the unneeded reading of the parameter num. The variable
number is always going to be overwritten after this with the output of
strtoul.
|
| |
| |
| |
| |
| |
| |
| |
| | |
On iscsi_context_new failure in main, this was jumping to out without
the ifaces list head being initialized.
Run through this file making use of LIST_HEAD for static initialization
where possible.
|
| | |
|
| |
| |
| |
| | |
destination array
|
| |
| |
| |
| | |
point to.
|
| | |
|
| |
| |
| |
| | |
destination array might leave the destination string unterminated
|
| | |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Here I thought I was all carefull about it before pushing the config.
I guess a notification_email is required, I was hoping that could all be
managed on the repo setting in Coverity. I'll put myself down.
|
|\
| |
| | |
setup Travis-CI builds and Coverity scans
|
|/
|
|
|
|
|
|
|
|
| |
Configure Travis-CI for automated build tests.
Hopefully we can extend this to basic functional as well.
Also sets up Coverity scanning from the Travis build.
Synopsys gives Open Source projects a limited number of free Coverity
scans each day, so this is currently configured to only scan when code
is pushed to a "coverity_scan" branch.
|
|\
| |
| | |
Initialize timeout for printing specific session info.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When printing session info from iscsiadm, the following worked:
> # iscsiadm -m session -r N -- print session info for session N
> # iscsiadm -m session -s -- print session stats for all sessions
But this did not:
> # iscsiadm -m session -r N -s -- print session stats for session N
Which is the same as the simple "-s" form if there is just one session.
To fix this error, initialize the timeout to "none" (-1) when sending
our request to iscsi for session stats, as do other requests.
|
|\ \
| |/
|/| |
RFC: CHAP SHA1, SHA3-256 via OpenSSL's libcrypto
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Extended CHAP authentication modes using newer hash digest functions
than MD5. SHA-256 and SHA3-256 should be usable in FIPS-140
environments for some time.
These CHAP algorithms have been registered with IANA for this purpose.
https://www.iana.org/assignments/ppp-numbers/ppp-numbers.xhtml#ppp-numbers-9
Makes OpenSSL libcrypto use a requirement, replacing the in tree MD5
implementation as well (and removing the unused SHA1 code).
Signed-off-by: Chris Leech <cleech@redhat.com>
|
|
|
|
| |
Updated Changelog and two include files.
|
|\
| |
| | |
Add make target to install systemd units
|
|/ |
|
| |
|
|\
| |
| | |
The iscsi login/logout service requires iscsid.
|
|/
|
|
|
|
| |
The iscsi.service systemd unit file, which controls
iscsi logins and logouts, should be stopped if the
iscsid service file is stopped.
|
|\
| |
| | |
rec update: disable the idbm_lock in read/write when updating the rec
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The iscsiadm is getting a file lock while writing out records, and
updates are a read-modify-write operation and currently only the
write is locked.
So the parallel requests are reading in the pre-update record and
then overwriting each other with the writes.
Fixing RHBZ#1624670
Signed-off-by: Xiubo Li <xiubli@redhat.com>
|
|\ \
| |/
|/| |
iscsiuio bug fix
|
| |
| |
| |
| | |
Signed-off-by: Nilesh Javali <njavali@marvell.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
In the event of DHCP failure, killing of enable_nic_thread did not
process any iscsid requests leading to error,
iscsistart: Could not broadcast to uIP after 5 tries
and login failure to next active path.
Do not kill enable_nic_thread and allow further processing of iscsid
requests and performing login to next active path.
Signed-off-by: Nilesh Javali <njavali@marvell.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Commit c1870ae6dddb7bc2dbdc750df68edbbe1a80763f added systemd
support to iscsiuio, but it was not integrated with the
autoconf script there, so this commit rectifies that. Now one
can build without systemd support, from the top, using:
$ make OPTFLAGS="... -DNO_SYSTEMD ...
which now works for both iscsid and iscsiuio.
|
|\ \
| | |
| | | |
Make iscsid systemd usage optional
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
You can compile without system now by using something
like:
make OPTFLAGS="-DNO_SYSTEMD ..." NO_SYSTEMD=1
This will skip systemd code for iscsid and iscsiuio.
|