Commit Graph

  • b5bfe7879a Accepting request 1268088 from Base:System factory Ana Guerrero 2025-04-10 19:57:32 +00:00
  • 39e5e0092a - Update to version 1.20.0+git.20250327: * 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 Martin Pluskal 2025-04-09 09:40:14 +00:00
  • 5381bdf0c2 Accepting request 1247082 from Base:System Ana Guerrero 2025-02-20 15:27:26 +00:00
  • dbfce8828e - Update to version 1.20.0+git.20250104: * Add CHAP SHA3-256 support * Add support for CHAP with SHA-256 * Add support for CHAP using SHA1 * Don't use inet_ntoa, it is deprecated Martin Pluskal 2025-02-19 13:09:46 +00:00
  • 8941254ed0 Accepting request 1229784 from Base:System Ana Guerrero 2024-12-11 20:00:57 +00:00
  • 461e8d3877 - 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 Martin Pluskal 2024-12-10 13:28:57 +00:00
  • be63bba1a1 Accepting request 1179242 from Base:System Ana Guerrero 2024-06-09 18:19:00 +00:00
  • c8ebd1a04e - 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 Martin Pluskal 2024-06-07 13:51:12 +00:00
  • 9edd9c1956 Accepting request 1153223 from Base:System Dominique Leuenberger 2024-03-01 22:34:47 +00:00
  • 9f152f1fab - 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 Martin Pluskal 2024-02-29 13:07:57 +00:00
  • d4f5d8e3ab Accepting request 1125840 from Base:System Ana Guerrero 2023-11-15 20:06:39 +00:00
  • f04535b81c - Update to version 1.19.0+git.20231114: * Log necessary message on internal reconnect * Dump opcode string in iscsi_dump_pdu_header() * Introduce helper function scsi_opcode_str * Declare value-string maps as static * Distinguish command timeout * doc: Add iscsi-md5sum * fixup! checking if task is in outqueue * checking if task is in outqueue * Add add a timeout to the event_loop in sync.c * iscsi-discard: adapt block limits * gitignore: Add utils/iscsi-md5sum * iscsi-md5sum: Add new tool * gitignore: add utils/iscsi-discard * iscsi-discard: Add new tool * utils: use strtol instead of atoi * Add iscsi_set_fd_dup_cb * Add /utils/iscsi-pr into .gitignore * iscsi-perf: Add -h/--help Martin Pluskal 2023-11-14 10:21:12 +00:00
  • 1f0f7d8d05 Accepting request 1070165 from Base:System slfo-main slfo-1.2 Dominique Leuenberger 2023-03-09 16:44:51 +00:00
  • 31be0167cd - Update to version 1.19.0+git.20230208: * iser: Remove unnecessary 'return;' * pdu: Remove temporary variables from functions * connect: Add check after malloc allocation * aros_compat: Add check after malloc allocation - Build AVX2 enabled hwcaps library for x86_64-v3 Martin Pluskal 2023-03-08 11:50:58 +00:00
  • b1ec1c03df Accepting request 1038591 from Base:System Dominique Leuenberger 2022-11-29 09:52:20 +00:00
  • 0c8951dd69 - 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 Martin Pluskal 2022-11-28 08:44:54 +00:00
  • 675a5d303a Accepting request 962192 from Base:System Dominique Leuenberger 2022-03-18 15:41:34 +00:00
  • 31fdd4b3c0 - Update to version 1.19.0+git.20220303: * iscsi-command: Fix leak in iscsi_send_data_out * iscsi-pr: add persistent reservation tool * add iscsi_force_reconnect() * add libiscsi.syms to .gitignore Martin Pluskal 2022-03-16 13:32:13 +00:00
  • e3d3c827f9 Accepting request 937751 from Base:System Dominique Leuenberger 2021-12-13 19:42:12 +00:00
  • efbf7f9eb6 - 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 Martin Pluskal 2021-12-09 10:52:05 +00:00
  • 78d0905a57 Accepting request 901639 from Base:System Dominique Leuenberger 2021-06-27 16:58:12 +00:00
  • 02d47ff7e2 - Update to version 1.19.0+git.20210523: * Port to MinGW * win32/win32_compat.c: Reformat this file * Enable -Wno-unused-parameter * Use __attribute__((format(printf, ...))) directly * build: Add -no-undefined where missing * build: Correct usage of LIBADD and LDADD * build: Remove bogus LDADD variables * Add header <strings.h> for strncasecmp Martin Pluskal 2021-06-24 08:14:30 +00:00
  • e8c82d305b Accepting request 887462 from Base:System Dominique Leuenberger 2021-04-24 21:06:40 +00:00
  • 9c6ed6d3d1 - 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 Martin Pluskal 2021-04-22 06:55:32 +00:00
  • fb6d1119d4 Accepting request 859042 from Base:System Dominique Leuenberger 2020-12-30 16:11:43 +00:00
  • e36c744f3b - Update to version 1.19.0+git.20201217: * Revert "specify number of blocks in write_same command" * iser: fix segmentation fault when task management pdu is received * iser: fix segmentation fault when async message pdu is received Martin Pluskal 2020-12-28 15:18:00 +00:00
  • 44d8cceaa3 Accepting request 846196 from Base:System Dominique Leuenberger 2020-11-10 12:38:50 +00:00
  • 6704a023ff - 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 Martin Pluskal 2020-11-05 10:54:43 +00:00
  • 0cc1fb5007 Accepting request 826266 from Base:System Dominique Leuenberger 2020-08-15 19:18:38 +00:00
  • 7c0daa7932 - 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 Martin Pluskal 2020-08-13 11:41:48 +00:00
  • 55bca705f7 Accepting request 808956 from Base:System Yuchen Lin 2020-05-29 19:13:37 +00:00
  • 73a7f33fd0 - 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 Martin Pluskal 2020-05-26 08:40:58 +00:00
  • c8f67a148e Accepting request 798446 from Base:System Dominique Leuenberger 2020-04-29 18:43:27 +00:00
  • 518c1e084c Accepting request 798384 from home:marxin:branches:Base:System Martin Pluskal 2020-04-28 05:41:07 +00:00
  • 0d4a3ab046 Accepting request 775204 from Base:System Dominique Leuenberger 2020-02-21 15:39:34 +00:00
  • 3f0da9257a - Update to version 1.19.0+git.20200212 (resolves boo#1160276): * drop the LD_PRELOAD tool * remove FIXME * Fix data segment length comparison to unsigned long * iser: queue pdus when cmdsn exceeds maxcmdsn * iser: send immediate data * iser: remove __packed from struct iser_cm_hdr declaration * iser: fix struct iser_rx_desc * test-tool: avoid use-after-free on iscsi_logout_sync * Use dynamic memory allocation instead of variable-length arrays Martin Pluskal 2020-02-18 13:39:42 +00:00
  • 857fb94d10 Accepting request 732876 from Base:System Dominique Leuenberger 2019-09-30 13:51:11 +00:00
  • 8727be0e2a - Update build dependencies (libgcrypt) Martin Pluskal 2019-09-24 08:57:28 +00:00
  • 0c12150f38 Accepting request 723086 from Base:System Dominique Leuenberger 2019-08-16 13:30:13 +00:00
  • 6214712719 - Update to version 1.19: * Mostly internal changes - Drop no longer needed patches: * libiscsi-1.18.0-Fix-32bit-build.patch * libiscsi-rdma.patch Martin Pluskal 2019-08-13 13:51:35 +00:00
  • cee525afcf Accepting request 618440 from Base:System Dominique Leuenberger 2018-07-02 21:27:52 +00:00
  • e348a01e83 - Fix building of recent rdma (boo#1098749): * libiscsi-rdma.patch Martin Pluskal 2018-06-22 08:00:58 +00:00
  • e55bfb02b3 Accepting request 586696 from Base:System Dominique Leuenberger 2018-03-19 22:31:04 +00:00
  • 11dec23a15 - Morernise spec file with spec-clener Martin Pluskal 2018-03-14 09:00:55 +00:00
  • e12281e771 Accepting request 484320 from Base:System Dominique Leuenberger 2017-04-24 07:45:39 +00:00
  • b30ad469ae - Do not build with -Werror Martin Pluskal 2017-04-01 10:32:13 +00:00
  • 04c52f92d9 Accepting request 440274 from Base:System Dominique Leuenberger 2016-11-15 16:54:01 +00:00
  • 55b45cae9e * libiscsi-1.18.0-Fix-32bit-build.patch Martin Pluskal 2016-11-14 17:48:06 +00:00
  • 7a3b8f0f25 Accepting request 440267 from home:michals:boo1009438 Martin Pluskal 2016-11-14 17:28:29 +00:00
  • 77fdcd3346 Accepting request 438932 from Base:System Dominique Leuenberger 2016-11-08 17:25:59 +00:00
  • c4b8a97597 - Exclued from building on 32 bit architectures Martin Pluskal 2016-11-06 16:32:07 +00:00
  • 3c4fddfe63 Accepting request 438904 from home:jengelh:branches:Base:System Martin Pluskal 2016-11-06 16:01:39 +00:00
  • adfe84eeeb - Update to version 1.18.0: * Various test updates * Add support for iSER * Add support for zero-copy reads Martin Pluskal 2016-11-06 09:15:14 +00:00
  • bcc55c173f Accepting request 394630 from Base:System Dominique Leuenberger 2016-05-11 14:38:01 +00:00
  • 478919c340 - Update to 1.17.0 (fate#320080) Martin Pluskal 2016-05-10 10:55:24 +00:00
  • 5556b0530e - Update to 1.17.0 * Bugfix for a rare condition where if a DATA-OUT PDU has a callback registered, it can cause a crash on reconnect/timeout. Martin Pluskal 2016-05-10 07:53:48 +00:00
  • ac60e6ee7a Accepting request 393923 from Base:System Dominique Leuenberger 2016-05-10 07:27:01 +00:00
  • 5c430c0ef2 * Various test updates. * Add tests for ExtendedCopy and ReceiveCopyResults * Add support for WRITE_ATOMIC_16 and tests * Multipath tests added * Persistent Reservation test updates. * Make sure to process target NOPs in the tests * Fix broken CHAP has handling. Martin Pluskal 2016-05-05 16:53:02 +00:00
  • 0ae4cd5537 - Update to 1.16.0 * No upstream changelog provided Martin Pluskal 2016-05-05 16:34:38 +00:00
  • 1a411e587b Accepting request 346519 from Base:System Dominique Leuenberger 2015-12-01 08:18:40 +00:00
  • a147a895b9 OBS-URL: https://build.opensuse.org/package/show/Base:System/libiscsi?expand=0&rev=2 Martin Pluskal 2015-11-27 13:18:18 +00:00
  • f3f271f857 Accepting request 346322 from home:pluskalm Marcus Meissner 2015-11-26 09:35:02 +00:00