Ronnie Sahlberg
116af01156
TYPO: Change periperal_device_type to just device_type
...
but leave the old name as a define for backward compatibility
2012-09-03 09:45:59 -07:00
Ronnie Sahlberg
b7f342906f
Change to proper default IQN names for the iscsi-ls/-inq utilities
...
Change the default iqn name for the utilities to
iqn.2007-10.com.github:sahlberg:libiscsi:iscsi-ls/-inq
2012-08-10 10:17:47 +10:00
Ronnie Sahlberg
d71a9d4f95
Add support for BLOCK LIMITS VPD page
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-04-20 17:57:40 +10:00
Ronnie Sahlberg
422bc32ce8
Add support for INQUIRY LOGICAL_BLOCK_PROVISIONING page
...
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com >
2012-04-19 20:09:14 +10:00
Ronnie Sahlberg
ed1d957ec9
fix a compiler warning
2012-03-10 12:02:01 +11:00
Ronnie Sahlberg
7b5ff1095c
Improve help/usage strings for iscsi-ls and iscsi-inq
...
For help output, also print the syntax for the iscsi url required.
2011-01-09 10:36:53 +11:00
Ronnie Sahlberg
190ea92810
Rework error messages generated when login fails to not repeat the same
...
thing "Failed to login to target" several times as the error cascades
up through the layers of callbacks.
2011-01-02 12:12:30 +11:00
Ronnie Sahlberg
46199d2f59
Improve the parsing of iscsi URLs and validate the input.
...
Generate better error messages when a badly formed URL is given
and an error string that points to the field there is a problem with.
2010-12-31 09:44:14 +11:00
Ronnie Sahlberg
240e250b11
USERNAME / PASSWORD
...
When failing iscsi-ls due to a missing url, print the url syntax
in the error message before aborting
2010-12-25 12:04:29 +11:00
Ronnie Sahlberg
40abe849b0
CHAP
...
Add unidirectional chap support so we can authenticate to the target.
Make the login phase more "intelligent" so we can iterate over login
pdus until we have reached full feature phase
Add a new helper functions to parse a iscsi url and break it down
into elements in a structure
Update iscsi-inq to allow CHAP authentication
2010-12-22 22:23:55 +11:00
Ronnie Sahlberg
cf0ddbd0d9
URL PARSER
...
Add a function to parse a common iscsi://... URL so we dont have to re
implement the same code in every application
2010-12-22 18:40:46 +11:00
Ronnie Sahlberg
32b39f62bd
Update iscsi-ls and iscsi-inq
...
to take the URLs in the form
iscsi://<host>[:<port>]
and
iscsi://<host>[:<port>]/<target-iqn>/<lun>
instead of specifying the values as --portal/--target/--lun
2010-12-05 08:57:10 +11:00
Ronnie Sahlberg
098bc5a9a7
Initial import of libiscsi
2010-12-05 08:24:57 +11:00