* fix: use correct maximum length for TargetName and InitiatorName
* refactor(TODO): cleanup todos that have been implemented for ages
* feat(socket): log resolved ip addresses if portal is a hostname
* fix(socket): restore logging of local ip and port
* feat(logging): include LUN into log messages
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=59
- Update to version 1.20.0+git.20241207:
* fix: scan PDUs before exiting event_loop due to connect timedout
* lib: finish event_loop on invalid fd
* lib: reserve the fd on reconnect
* Fix free pdu mismatch with alloc
* Fix pdu indata of iser alloc and free mismatch
* feat: add iscsi_reset_next_reconnect interface
* For failing writes, show what is in the sector instead
* libcunit1-dev is required for iscsi-test-cu to be build
* install binaries and manpage to rpm
* Add utils.h to dist_noinst_HEADERS
OBS-URL: https://build.opensuse.org/request/show/1229784
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=26
* fix: scan PDUs before exiting event_loop due to connect timedout
* lib: finish event_loop on invalid fd
* lib: reserve the fd on reconnect
* Fix free pdu mismatch with alloc
* Fix pdu indata of iser alloc and free mismatch
* feat: add iscsi_reset_next_reconnect interface
* For failing writes, show what is in the sector instead
* libcunit1-dev is required for iscsi-test-cu to be build
* install binaries and manpage to rpm
* Add utils.h to dist_noinst_HEADERS
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=55
- Update to version 1.20.0+git.20240530:
* fix use after free in recent commit
* Add support for Data Digest
* login: add support for gnutls
* login: do not try to "emulate" the libgcrypt API
* configure: add --with-libgcrypt option
* A possible 'fix' for https://github.com/sahlberg/libiscsi/issues/415 This patch adds a timestamp before each logged line. That could help correlating a logging to a network-trace. Because of offsets in time between the tracer and the test and the DUT, this does not always help.
* Manually set task to null after free to avoid double free issue
* lun_reset cancelling lun tasks only
OBS-URL: https://build.opensuse.org/request/show/1179242
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=25
* fix use after free in recent commit
* Add support for Data Digest
* login: add support for gnutls
* login: do not try to "emulate" the libgcrypt API
* configure: add --with-libgcrypt option
* A possible 'fix' for https://github.com/sahlberg/libiscsi/issues/415 This patch adds a timestamp before each logged line. That could help correlating a logging to a network-trace. Because of offsets in time between the tracer and the test and the DUT, this does not always help.
* Manually set task to null after free to avoid double free issue
* lun_reset cancelling lun tasks only
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=53
- Update to version 1.20.0+git.20240206:
* spelling fixes: eventhough, shoudl, asyncronous, maxium, implicity
* COPYING: stop mentioning ld_scsi
* New version 1.20.0
* Previously, 'task->status' was printed as decimal. In iscsi.h, the values that are put into it are defined as hexadecimal. This is a bit confusing (grepping through the code for 251658241 did not result in anything while the hex variant f000001 resulted in SCSI_STATUS_ERROR).
* Fix for https://github.com/sahlberg/libiscsi/issues/409 'ms->pages' was not checked for being NULL. This can happen when a target does not return any pages.
* Improve iSCSI PDU header dump
* Abstract value_string as common utility
* Drain DATAOUT PDU on timeout
OBS-URL: https://build.opensuse.org/request/show/1153223
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=24
* spelling fixes: eventhough, shoudl, asyncronous, maxium, implicity
* COPYING: stop mentioning ld_scsi
* New version 1.20.0
* Previously, 'task->status' was printed as decimal. In iscsi.h, the values that are put into it are defined as hexadecimal. This is a bit confusing (grepping through the code for 251658241 did not result in anything while the hex variant f000001 resulted in SCSI_STATUS_ERROR).
* Fix for https://github.com/sahlberg/libiscsi/issues/409 'ms->pages' was not checked for being NULL. This can happen when a target does not return any pages.
* Improve iSCSI PDU header dump
* Abstract value_string as common utility
* Drain DATAOUT PDU on timeout
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=51
- Update to version 1.19.0+git.20221112:
* ci/build.sh: Enable parallel compilation
* ci: Fix the Appveyor Linux and Windows builds
* ci: Add ci/install.bat
* Add CodeQL workflow for GitHub code scanning
* test-tool: remove a redundant semicolon
* lib/scsi-lowlevel: Make the REPORT LUNS unmarshalling code more flexible
* Fix segmentation fault problem.
* Check return value of scsi_malloc in order to avoid dereferencing NULL return value.
* fix iscsi-ls parameter parse
* iscsi-swp: handle setting of debug_level correctly
* Update iscsi-dd.c
* iscsi-inq: handle setting of debug_level correctly
* Retain the immediate data param during login processing
OBS-URL: https://build.opensuse.org/request/show/1038591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=21
* ci/build.sh: Enable parallel compilation
* ci: Fix the Appveyor Linux and Windows builds
* ci: Add ci/install.bat
* Add CodeQL workflow for GitHub code scanning
* test-tool: remove a redundant semicolon
* lib/scsi-lowlevel: Make the REPORT LUNS unmarshalling code more flexible
* Fix segmentation fault problem.
* Check return value of scsi_malloc in order to avoid dereferencing NULL return value.
* fix iscsi-ls parameter parse
* iscsi-swp: handle setting of debug_level correctly
* Update iscsi-dd.c
* iscsi-inq: handle setting of debug_level correctly
* Retain the immediate data param during login processing
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=45
- Update to version 1.19.0+git.20210930:
* iscsi-support: fix memory leak
* add README.md to dist tarball
* add libiscsi.syms.in to dist tarball
* test-tool, xcopy: Fix target descriptor handling
* iser: Fix a compiler warning triggered by the container_of() definition
* configure: Remove -Wno-strict-aliasing
* slist: Clean up the slist.h header file
* slist: Make this header file compatible with C++
* scsi-lowlevel.h: Include <assert.h>
* examples/iscsi-dd: use stderr for all error text
* examples/iscsi-dd: fix typos
* ci: Add a github build action
* test: fix ExtendedCopy.Large SKIPPED cases
* configure.ac: Quote argument to m4_esyscmd() properly
* Fixed several code style problems
* test-tool: check that ReceiveCopyResults is implemented
* lib: init version for 8Fh VPD page
* ci: Enable MinGW
* MinGW: Second step of porting to MinGW
* configure.ac: Use AC_CONFIG_HEADERS() instead of AC_CONFIG_HEADER()
* lib/libiscsi.syms: Sort alphabetically
* ci: First phase of adding MingW support
* configure.ac: Run autoupdate
* README.md: Update
* README: Rename into README.md
* ci: Switch from Travis to AppVeyor
* test-tool: Do not use empty initializers
OBS-URL: https://build.opensuse.org/request/show/937751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=19
* iscsi-support: fix memory leak
* add README.md to dist tarball
* add libiscsi.syms.in to dist tarball
* test-tool, xcopy: Fix target descriptor handling
* iser: Fix a compiler warning triggered by the container_of() definition
* configure: Remove -Wno-strict-aliasing
* slist: Clean up the slist.h header file
* slist: Make this header file compatible with C++
* scsi-lowlevel.h: Include <assert.h>
* examples/iscsi-dd: use stderr for all error text
* examples/iscsi-dd: fix typos
* ci: Add a github build action
* test: fix ExtendedCopy.Large SKIPPED cases
* configure.ac: Quote argument to m4_esyscmd() properly
* Fixed several code style problems
* test-tool: check that ReceiveCopyResults is implemented
* lib: init version for 8Fh VPD page
* ci: Enable MinGW
* MinGW: Second step of porting to MinGW
* configure.ac: Use AC_CONFIG_HEADERS() instead of AC_CONFIG_HEADER()
* lib/libiscsi.syms: Sort alphabetically
* ci: First phase of adding MingW support
* configure.ac: Run autoupdate
* README.md: Update
* README: Rename into README.md
* ci: Switch from Travis to AppVeyor
* test-tool: Do not use empty initializers
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=42
- Update to version 1.19.0+git.20210208:
* test-tool: Change command_is_implemented from a global variable into an argument
* test-tool: Move a logging statement into write_residuals_test()
* test-tool: Add default clauses in recently modified switch statements
* test-tool, residuals: Rename struct residuals_test_data members
* test-tool: Add overwrite check for all test cases
* test-tool: Change write residuals tests overwrite check according to FCP-4
* test-tool: Refactoring residuals write tests
* test-tool: Allow CHECK CONDITION in response to overflow/underflow
* .travis.yml: Multiple changes
* test-tool: add simple REPORT LUNS test
* init: fix Wformat on 32-bit platforms
OBS-URL: https://build.opensuse.org/request/show/887462
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=17
- Update to version 1.19.0+git.20201023:
* test-tool: add COMPARE AND WRITE MiscompareSense test
* lib: parse Information fixed sense field
* lib: parse Information sense descriptor type
* lib: check length for sense key specific sense data descriptors
* lib: drop generic sense data descriptor VALID check
* test-tool: add version descriptor checks for more SBC-3 versions
* test-tool: Fix CmdSN tests
* test-tool/test_async_lu_reset_simple: Move an assert statement
* Remove an unused function from the iSER code
* test-tool: add LogoutDuringIOAsync test case
* test-tool: rename async write dispatch/complete counters
* pdu: fix use after free during cancellation
OBS-URL: https://build.opensuse.org/request/show/846196
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=15
* test-tool: add COMPARE AND WRITE MiscompareSense test
* lib: parse Information fixed sense field
* lib: parse Information sense descriptor type
* lib: check length for sense key specific sense data descriptors
* lib: drop generic sense data descriptor VALID check
* test-tool: add version descriptor checks for more SBC-3 versions
* test-tool: Fix CmdSN tests
* test-tool/test_async_lu_reset_simple: Move an assert statement
* Remove an unused function from the iSER code
* test-tool: add LogoutDuringIOAsync test case
* test-tool: rename async write dispatch/complete counters
* pdu: fix use after free during cancellation
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=35
- Update to version 1.19.0+git.20200812:
* .travis.yml: Also build for the ppc64le architecture
* iscsi-ls: Fix iser url scheme parsing
* test-tool: Use block_size instead of hardcoded 512 bytes
* examples/iscsi-dd: use common init function for src and dst endpoints
* examples/iscsi-dd: use common iscsi_endpoint struct
* iscsi-perf: Add explicit casts to avoid two warnings
* socket: Make the pdu timeout handling aware of old iscsi context
* libiscsi: Make the cancellation aware of the pdus in old iscsi context
* pdu: Remove the checking for iscsi->is_loggedin in iscsi_cancel_pdus()
* libiscsi: Avoid discontinuities in cmdsn ordering in some cases
* test-tool: Use block_size instead of hardcoded 512 bytes
* exclude ld_iscsi.so from RPM
* include iser-private.h in make dist tarball
OBS-URL: https://build.opensuse.org/request/show/826266
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=14
* .travis.yml: Also build for the ppc64le architecture
* iscsi-ls: Fix iser url scheme parsing
* test-tool: Use block_size instead of hardcoded 512 bytes
* examples/iscsi-dd: use common init function for src and dst endpoints
* examples/iscsi-dd: use common iscsi_endpoint struct
* iscsi-perf: Add explicit casts to avoid two warnings
* socket: Make the pdu timeout handling aware of old iscsi context
* libiscsi: Make the cancellation aware of the pdus in old iscsi context
* pdu: Remove the checking for iscsi->is_loggedin in iscsi_cancel_pdus()
* libiscsi: Avoid discontinuities in cmdsn ordering in some cases
* test-tool: Use block_size instead of hardcoded 512 bytes
* exclude ld_iscsi.so from RPM
* include iser-private.h in make dist tarball
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=33
- Update to version 1.19.0+git.20200521:
* test-tool, compare and write: Reduce maximum number of blocks from 256 to 255
* test_compareandwrite_invalid_dataout_size: Simplify this test
* test-tool: Use asprintf() in sg_send_scsi_cmd()
* test-tool: Fix a comment in sg_send_scsi_cmd()
* test-tool: Split send_scsi_command()
* socket: fix rewrite cmdsn of immediate pdus
* iser: eliminate unnecessary memory allocations
* iser: use `login_resp_buf` until login is finished
* init: free iscsi->opaque before check mallocs/frees counter
* reconnect: collect mallocs/frees of the previous reconnection
OBS-URL: https://build.opensuse.org/request/show/808956
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libiscsi?expand=0&rev=13
* test-tool, compare and write: Reduce maximum number of blocks from 256 to 255
* test_compareandwrite_invalid_dataout_size: Simplify this test
* test-tool: Use asprintf() in sg_send_scsi_cmd()
* test-tool: Fix a comment in sg_send_scsi_cmd()
* test-tool: Split send_scsi_command()
* socket: fix rewrite cmdsn of immediate pdus
* iser: eliminate unnecessary memory allocations
* iser: use `login_resp_buf` until login is finished
* init: free iscsi->opaque before check mallocs/frees counter
* reconnect: collect mallocs/frees of the previous reconnection
OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=31