summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [SERVER] Add image->wwn, add according getterSimon Rettberg2025-09-173-12/+65
|
* Implemented iSCSI SCSI emulation read and write operations on DNBD3 image ↵Sebastian Vater2025-09-172-25/+522
| | | | without threading. Also fixed some bugs and finally, fixed doxygen documention.
* Implemented iSCSI SCSI MODE SENSE command. Also did code refactoring. ↵Sebastian Vater2025-09-162-123/+1250
| | | | Finally, fixed some bugs.
* Fixed iSCSI SCSI emulation and implemented adding target port to iSCSI ↵Sebastian Vater2025-09-122-34/+355
| | | | device, QEMU now tries to boot from PXE: Important milestone. Finally, some code refactoring was done again.
* Implemented remaining INQUIRY iSCSI SCSI emulation related stuff. Also fixed ↵Sebastian Vater2025-09-112-155/+1954
| | | | some bugs and finally did some code refactoring.
* Implemented iSCSI very basic locking for multithreaded usage. Also added ↵Sebastian Vater2025-09-093-622/+2099
| | | | non-block SCSI emulation opcodes and emulate some of them. Finally, a lot of code refactoring was done for easier SCSI emulation.
* iSCSI SCSI emulation for DNBD3 started and most block based operations ↵Sebastian Vater2025-09-052-127/+1052
| | | | finished, also some bug fixes. Finally, some code refactoring again.
* Implemented basic iSCSI SCSI Persistent Reservation (PR) handling and ↵Sebastian Vater2025-09-042-87/+998
| | | | checking. Also did some bug fixes regarding SCSI task execution. Finally, did some smaller code refactoring.
* Finished most of iSCSI data transfer task management, also done more code ↵Sebastian Vater2025-09-032-404/+1662
| | | | refactoring. Finally, improved iSCSI hash map and doxygen documentation.
* Implemented lots of iSCSI SCSI INQUIRY opcode related stuff, also did some ↵Sebastian Vater2025-08-292-121/+1339
| | | | code refactoring and finally added most of SCSI command opcode header handling.
* Added iSCSI opcode immediate flag to header file to make code more readable ↵Sebastian Vater2025-08-262-12/+15
| | | | and removed some obselete spaces.
* iSCSI Code refactoring and simplification. Finally, removed obselete iSCSI ↵Sebastian Vater2025-08-262-184/+197
| | | | PDU and session fields.
* Fixed remaining bugs preventing successful iSCSI login phase. Also added ↵Sebastian Vater2025-08-262-123/+537
| | | | basic iSCSI target node, device, LUN to DNBD3 image linkage. Finally, some code refactoring done.
* Implemented missing actual reading payload data PDU. Finally fixed most bugs ↵Sebastian Vater2025-08-222-69/+120
| | | | encoutered during test phase for login.
* Added portal group for iSCSI on DNBD3 connection init.Sebastian Vater2025-08-221-3/+36
|
* Implemented sending iSCSI Ready To Transfer (R2T) packet data. Also added ↵Sebastian Vater2025-08-212-34/+908
| | | | very basic task management. Finally, mostly implemented header SCSI-Out.
* Mostly implemented iSCSI text response handling. Finally, fixed some smaller ↵Sebastian Vater2025-08-202-51/+312
| | | | bugs.
* Added iSCSI handling to main server and network handling code and also ↵Sebastian Vater2025-08-194-8/+178
| | | | creation of basic iSCSI portal and initial iSCSI connection. Finally, implemented iSCSI logout response.
* Added iSCSI NOP-In and NOP-Out implementation for keep alive. Also increased ↵Sebastian Vater2025-08-192-34/+130
| | | | memory size alignment to 16 bytes for safe manipulation of integer values in order to prevent buffer overflows for key and value pair handling. Finally, again fixed some bugs.
* Finished iSCSI login handling. Also fixed some bugs and simplified certain ↵Sebastian Vater2025-08-182-187/+297
| | | | stuff. Finally, made some parts of code more readable.
* Some bug fixes, improvements in data structures and finally more login ↵Sebastian Vater2025-08-152-64/+362
| | | | negotiation stuff.
* Implemented iSCSI global vector init and destruction. Also more complete ↵Sebastian Vater2025-08-142-106/+789
| | | | login phase implementation. Finally, some bugs fixed and data structure rearrangements.
* Added graphviz package for creating call and caller function graphs for ↵Sebastian Vater2025-08-131-1/+1
| | | | doxygen gitlab job.
* Fixed various iSCSI implementation bugs and almost completed login phase. ↵Sebastian Vater2025-08-132-195/+1259
| | | | Finally, fixed most compiler warnings in iSCSI handling.
* Implemented more login stuff and basic data payload handling. Also fixed ↵Sebastian Vater2025-08-082-57/+718
| | | | some bugs and simplified key and value retrieval. Finally, basic sending response packets implemented.
* Implemented main loop of handling incoming iSCSI header packet data. Also ↵Sebastian Vater2025-08-072-74/+2185
| | | | added a lot of new iSCSI structures (globals, portal groups, portals, ports, etc.). Finally, fixed some bugs.
* Removed static iSCSI functions from header file and added CRC32C lookup ↵Sebastian Vater2025-08-012-5/+3Star
| | | | table doxygen tag.
* Added basic formatting for of iSCSI header and implementation file for ↵Sebastian Vater2025-08-012-346/+534
| | | | doxygen, so documentation is fully properly readable now.
* Finished conversion of iSCSI header file comments to doxygen style (just ↵Sebastian Vater2025-08-011-1/+9
| | | | another missing one).
* Finished conversion of iSCSI header file comments to doxygen style (another ↵Sebastian Vater2025-08-011-4/+10
| | | | missing one).
* Finished conversion of iSCSI header file comments to doxygen style (missing ↵Sebastian Vater2025-08-011-41/+53
| | | | ones).
* Finished of conversion of iSCSI header file comments to doxygen style.Sebastian Vater2025-08-011-253/+544
|
* Small fixes in iSCSI packet validation and mostly finished of conversion of ↵Sebastian Vater2025-07-312-1643/+3154
| | | | iSCSI header file comments to doxygen style.
* Fixed iSCSI implementation doxygen stuff and beginning of conversion of ↵Sebastian Vater2025-07-303-701/+1391
| | | | iSCSI header file comments to doxygen style.
* Fixed some iSCSI packet header definitions, also added other iSCSI protocol ↵Sebastian Vater2025-07-302-58/+162
| | | | constraints to validator. Finally, added @brief tags to functions for doxygen.
* Fixed some typos in iSCSI doxygen documentation. Also added iSCSI text ↵Sebastian Vater2025-07-292-2/+199
| | | | key=pair packet validation. Finally, added functions for creating iSCSI text key=value pairs for sending to the client.
* doxygen: Fix pathSimon Rettberg2025-07-291-1/+1
|
* doxygen: Add initial config and gitlab runner jobSimon Rettberg2025-07-292-0/+81
|
* iSCSI Hash map now resizes at 75% load capacity. Added basic text key and ↵Sebastian Vater2025-07-292-19/+517
| | | | value pair implementation and iSCSI connection handling. Finally, fixed some function names and comments
* Added initial capacity parameter for iSCSI hash map creation. Also mostly ↵Sebastian Vater2025-07-252-77/+206
| | | | finished iSCSI packet validation function and fixed some iSCSI data packet structures.
* Resize hash map after half capacity load instead full in order to avoid ↵Sebastian Vater2025-07-252-11/+23
| | | | bucket overload. Also updated iSCSI packet validation to check header and data digests, if available and check if packet size matches all header length fields.
* Made fast hashing a little bit more readable and fixed address increment for ↵Sebastian Vater2025-07-242-4/+5
| | | | next hash data value (should be 8 bytes instead of 1).
* Fixed some typos and changed header digest CRC32C functions to store the ↵Sebastian Vater2025-07-242-25/+757
| | | | result directly in the iSCSI packet data. Also added CRC32C calculation for data digest with big endian storage functions. Finally, added a ultra performant hash map implementation for the text key=value handling of iSCSI packets.
* Adapted code conventions to expected style. Also added CRC32C calculation. ↵Sebastian Vater2025-07-232-91/+224
| | | | Finally, DataSegment append implemented.
* Implemented basic iSCSI packet creation, destruction, AHS packet counting, ↵Sebastian Vater2025-07-222-8/+395
| | | | index retrieval stuff. Also initial validation for iSCSI added. Fixed certain issues with iscsi.h.
* Added little endian to big endian conversion macros using optimized assembly ↵Sebastian Vater2025-07-163-2/+52
| | | | code via builtin intrinsics for GCC/CLang/MSVC and slow C implementation for any other compiler and skeleton C file.
* Added missing remaining login related text keys in iscsi.h.Sebastian Vater2025-07-111-0/+54
|
* Added most login related text keys and fixed a few typos in iscsi.h.Sebastian Vater2025-07-101-2/+869
|
* Added logout, SNACK and reject ISCSI protocol specifications to header file ↵Sebastian Vater2025-07-091-16/+389
| | | | and fixed some small typos.
* Removed accidental else if clause in server/net.c causing compile failure. ↵Sebastian Vater2025-07-082-24/+491
| | | | Also Added login and other stuff to iscsi.h.