From: Eric S. <Eric@Clickability.com> - 2006-09-01 00:48:26
|
So, I got everything working without authentication just fine. The problems came when I tried to get CHAP working ... =20 I have a testinitiator user set as a "Peer" (target authenticates initiator) and a testtarget user set as "Local" (initiator authenticates target). In my iscsi.conf file I have the following set: =20 OutgoingUsername=3Dtestinitiator OutgoingPassword=3Dpasswordpassword IncomingUsername=3Dtesttarget IncomingPassword=3Dpasswordpassword =20 When I try to connect I get the following in the /var/log/messages (edited for brevity): =20 Connected to Discovery Address 192.168.3.244 Login failed to authenticate with target Discovery login to 192.168.3.244 rejected: initiator error (02/01), non-retryable, giving up =20 Now I've got this to work with the Microsoft iSCSI initiator with bidirectional authentication, so I know it's theoretically set up properly on the M300i. Anyone have some pointers on CHAP in general, or specifically with the Vtrak device? =20 TIA =20 =20 For those of you who like packet captures,=20 =20 1169.021503 192.168.3.206 -> 192.168.3.244 TCP 33408 > 3260 [SYN] = Seq=3D0=20 Len=3D0 MSS=3D1460 TSV=3D83163878 TSER=3D0 WS=3D5 1169.021989 192.168.3.244 -> 192.168.3.206 TCP 3260 > 33408 [SYN, PSH,=20 ACK] Seq=3D0 Ack=3D1 Win=3D16384 Len=3D0 TSV=3D99156 TSER=3D0 MSS=3D1460 = WS=3D0 1169.022018 192.168.3.206 -> 192.168.3.244 TCP 33408 > 3260 [ACK] = Seq=3D1=20 Ack=3D1 Win=3D5856 Len=3D0 TSV=3D83163879 TSER=3D99156 1169.023775 192.168.3.206 -> 192.168.3.244 iSCSI Login Command 1169.024325 192.168.3.206 -> 192.168.3.244 TCP 33408 > 3260 [PSH, ACK]=20 Seq=3D49 Ack=3D1 Win=3D5856 [TCP CHECKSUM INCORRECT] Len=3D348 = TSV=3D83163882=20 TSER=3D99156 1169.024535 192.168.3.244 -> 192.168.3.206 TCP 3260 > 33408 [ACK] = Seq=3D1=20 Ack=3D397 Win=3D16384 Len=3D0 TSV=3D99156 TSER=3D83163881 1169.025193 192.168.3.244 -> 192.168.3.206 iSCSI Login Response=20 (Authentication failed) 1169.025201 192.168.3.244 -> 192.168.3.206 TCP 3260 > 33408 [RST, ACK]=20 Seq=3D257 Ack=3D397 Win=3D16384 Len=3D0 TSV=3D99156 TSER=3D83163881 = 1169.025636 192.168.3.206 -> 192.168.3.244 TCP 33408 > 3260 [ACK]=20 Seq=3D397 Ack=3D257 Win=3D6912 Len=3D0 TSV=3D83163883 TSER=3D99156 = 1169.025874 192.168.3.244 -> 192.168.3.206 TCP 3260 > 33408 [RST, ACK]=20 Seq=3D257 Ack=3D397 Win=3D16384 Len=3D0 =20 |