10 Commits

Author SHA1 Message Date
Peter Lieven
8c4e2ad46b feat: read and validate unit serial number after login
this patch adds a read of VPD page 0x80 (unit serial number) after successful login.

The serial is then validated on secutive reconnects to avoid the accidental mismatch
of LUN ids if some kind of remapping appears between loss of connection and a later
reconnect.

An additional url parameter force_usn is added to enforce the usn right from the beginning.
If not set via url or the new iscsi_set_unit_serial_number function the usn is learned
at the first successful login.

Signed-off-by: Peter Lieven <pl@dlhnet.de>
2025-09-11 15:15:42 +00:00
Ronnie Sahlberg
31fd95dc8f README: add blurb about multithreading
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2025-04-26 08:59:28 +10:00
Ronnie Sahlberg
b8d9fbf5e3 Add CHAP SHA3-256 support
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2025-01-04 14:20:28 +10:00
Ronnie Sahlberg
34e83f7dbd Add support for CHAP with SHA-256
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2025-01-04 09:09:02 +10:00
Ronnie Sahlberg
95a0d98cfd Add support for CHAP using SHA1
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2025-01-04 00:59:02 +10:00
Folkert van Heusden
dd1d3a9f6d Merge branch 'master' into docs 2024-09-20 06:33:37 +02:00
Folkert van Heusden
f9ca9a7ec8 libcunit1-dev is required for iscsi-test-cu to be build 2024-09-20 06:29:40 +02:00
Brian Meagher
882bcad53a Add support for Data Digest 2024-05-04 19:34:06 -07:00
Bart Van Assche
1e545eedb2 README.md: Update
Change the reference to the 'src' directory into a reference to the 'utils'
directory since commit c07779cfa7 ("AUTOTOOLS: Add a Makefile.am for the
iscsi-* utilities") renamed the 'src' directory into 'utils'.

Document the purpose of the test-tool directory.

Fix the link to the release tarballs.
2021-07-17 19:35:18 -07:00
Bart Van Assche
c9fd0743bc README: Rename into README.md
Additionally, restrict the contents of README.md to 80 columns.
2021-07-17 19:35:17 -07:00