Libiscsi is mainly/only initiator side today.
There is some limited cdb-unmarshalling code in there that could be
useful in a target but it is very incomplete.
It would take a lot of work to add all the missing pieces to make
libiscsi a target.
Why not use TGT (
http://stgt.sourceforge.net/) it runs in userspace
and is fairly straightforward to work on.
I have a really tiny iscsi target i hacked up a number of years ago.
Its about a thousand lines of code all in all, including SBC
emulation.
At some stage I will clean it up and perhaps add it to the libiscsi
package as "fun code".
On Wed, May 15, 2013 at 2:54 PM, Florian <
cdi...@gmail.com> wrote:
> Hi everybody
> I was thinking about how to use libiscsi to emulate a target: accepting
> connections on port 3260 and read iscsi PDUs.
>
> --
> You received this message because you are subscribed to the Google Groups
> "libiscsi" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
libiscsi+u...@googlegroups.com.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>