Subject: bin/34578: iscsi_target rejects Windows iscsi initiator.
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <hiroshi-n@iname.com>
List: netbsd-bugs
Date: 09/21/2006 07:50:00
>Number:         34578
>Category:       bin
>Synopsis:       iscsi_target rejects Windows iscsi initiator.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 21 07:50:00 +0000 2006
>Originator:     nakamoto
>Release:        4.0_BETA
>Organization:
>Environment:
NetBSD 4.0_BETA (GENERIC) #0: Sun Sep 10 22:05:52 UTC 2006 builds@b1.netbsd.org:/home/builds/ab/netbsd-4/amd64/200609100000Z-obj/home/builds/ab/netbsd-4/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
NetBSD iscsi_target rejects Windows iscsi initiator 2.02 and says (not allowed by 0.0.0.0/0) or (not allowed by any).
Windows iscsi initiator successfully mounts Linux iscsi target (IET).

It was reproduced in port-i386/port-amd64.
>How-To-Repeat:
Set /etc/iscsi/targets to export targets to 0.0.0.0/0 ( deafult ).
From Microsoft iSCSI initiator 2.02, add the NetBSD IP address to Target Portals.
Refresh targets on Windows.

See NetBSD /var/log/authlog to find "(not allowed by 0.0.0.0/0)"

>Fix: