So I have used wireshark now. A detailed log follows (it's just a small
view on 7 packets but still quite big, I hope not too big):
No. Time Source Destination Protocol Length Info
12 0.224006 127.0.0.1 127.0.0.1 TCP 66
50503 > iscsi-target [ACK] Seq=1 Ack=1 Win=32832 Len=0 TSval=2192802
TSecr=2192802
Frame 12: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Arrival Time: Jun 25, 2012 13:16:02.706075000 CEST
Epoch Time: 1340622962.706075000 seconds
[Time delta from previous captured frame: 0.000007000 seconds]
[Time delta from previous displayed frame: 0.000007000 seconds]
[Time since reference or first frame: 0.224006000 seconds]
Frame Number: 12
Frame Length: 66 bytes (528 bits)
Capture Length: 66 bytes (528 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 52
Identification: 0x172f (5935)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0x2593 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 50503 (50503), Dst Port:
iscsi-target (3260), Seq: 1, Ack: 1, Len: 0
Source port: 50503 (50503)
Destination port: iscsi-target (3260)
[Stream index: 2]
Sequence number: 1 (relative sequence number)
Acknowledgement number: 1 (relative ack number)
Header length: 32 bytes
Flags: 0x010 (ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 0... = Push: Not set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 513
[Calculated window size: 32832]
[Window size scaling factor: 64]
Checksum: 0xfe28 [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192802, TSecr 2192802
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192802
Timestamp echo reply: 2192802
[SEQ/ACK analysis]
[This is an ACK to the segment in frame: 11]
[The RTT to ACK the segment was: 0.000007000 seconds]
No. Time Source Destination Protocol Length Info
13 *REF* 127.0.0.1 127.0.0.1 iSCSI 590
Login Command
Frame 13: 590 bytes on wire (4720 bits), 590 bytes captured (4720 bits)
Arrival Time: Jun 25, 2012 13:16:02.729559000 CEST
Epoch Time: 1340622962.729559000 seconds
[Time delta from previous captured frame: 0.023484000 seconds]
[Time delta from previous displayed frame: 0.023484000 seconds]
[Time since reference or first frame: 0.000000000 seconds]
[This is a Time Reference frame]
Frame Number: 13
Frame Length: 590 bytes (4720 bits)
Capture Length: 590 bytes (4720 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp:iscsi]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 576
Identification: 0x1730 (5936)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0x2386 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 50503 (50503), Dst Port:
iscsi-target (3260), Seq: 1, Ack: 1, Len: 524
Source port: 50503 (50503)
Destination port: iscsi-target (3260)
[Stream index: 2]
Sequence number: 1 (relative sequence number)
[Next sequence number: 525 (relative sequence number)]
Acknowledgement number: 1 (relative ack number)
Header length: 32 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 513
[Calculated window size: 32832]
[Window size scaling factor: 64]
Checksum: 0x0035 [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192808, TSecr 2192802
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192808
Timestamp echo reply: 2192802
[SEQ/ACK analysis]
[Bytes in flight: 524]
iSCSI (Login Command)
Opcode: Login Command (0x03)
1... .... = T: Transit to next login stage
.0.. .... = C: Text is complete
.... 01.. = CSG: Operational negotiation (0x01)
.... ..11 = NSG: Full feature phase (0x03)
VersionMax: 0x00
VersionMin: 0x00
TotalAHSLength: 0x00
DataSegmentLength: 0x000001d9
ISID: ff84d65c0000
11.. .... = ISID_t: Unknown (0x03)
..11 1111 = ISID_a: 0x3f
ISID_b: 0x84d6
ISID_c: 0x5c
ISID_d: 0x0000
TSIH: 0x0000
InitiatorTaskTag: 0x00000001
CID: 0x0000
CmdSN: 0x00000000
ExpStatSN: 0x00000000
Key/Value Pairs
KeyValue: HeaderDigest=None
KeyValue: MaxBurstLength=262144
KeyValue: DefaultTime2Retain=20
KeyValue: ErrorRecoveryLevel=0
KeyValue: DefaultTime2Wait=2
KeyValue: DataPDUInOrder=Yes
KeyValue: OFMarkInt=2048
KeyValue: MaxOutstandingR2T=1
KeyValue: InitiatorName=IdefixInitiator
KeyValue: InitiatorAlias=InitiatorAlias
KeyValue: DataDigest=None
KeyValue: IFMarker=No
KeyValue: OFMarker=No
KeyValue: FirstBurstLength=65536
KeyValue: ImmediateData=No
KeyValue: AuthMethod=None
KeyValue: InitialR2T=Yes
KeyValue: SessionType=Normal
KeyValue: MaxConnections=1
KeyValue: MaxRecvDataSegmentLength=8192
KeyValue: DataSequenceInOrder=Yes
KeyValue: IFMarkInt=2048
KeyValue: TargetName=iqn.2010-04.local-test:disk-1
Padding: 000000
No. Time Source Destination Protocol Length Info
14 0.000030 127.0.0.1 127.0.0.1 TCP 66
iscsi-target > 50503 [ACK] Seq=1 Ack=525 Win=32768 Len=0 TSval=2192808
TSecr=2192808
Frame 14: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Arrival Time: Jun 25, 2012 13:16:02.729589000 CEST
Epoch Time: 1340622962.729589000 seconds
[Time delta from previous captured frame: 0.000030000 seconds]
[Time delta from previous displayed frame: 0.000030000 seconds]
[Time since reference or first frame: 0.000030000 seconds]
Frame Number: 14
Frame Length: 66 bytes (528 bits)
Capture Length: 66 bytes (528 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 52
Identification: 0x889a (34970)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0xb427 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: iscsi-target (3260), Dst Port:
50503 (50503), Seq: 1, Ack: 525, Len: 0
Source port: iscsi-target (3260)
Destination port: 50503 (50503)
[Stream index: 2]
Sequence number: 1 (relative sequence number)
Acknowledgement number: 525 (relative ack number)
Header length: 32 bytes
Flags: 0x010 (ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 0... = Push: Not set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 512
[Calculated window size: 32768]
[Window size scaling factor: 64]
Checksum: 0xfe28 [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192808, TSecr 2192808
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192808
Timestamp echo reply: 2192808
[SEQ/ACK analysis]
[This is an ACK to the segment in frame: 13]
[The RTT to ACK the segment was: 0.000030000 seconds]
No. Time Source Destination Protocol Length Info
15 0.000171 127.0.0.1 127.0.0.1 iSCSI 454
Login Response (Success)
Frame 15: 454 bytes on wire (3632 bits), 454 bytes captured (3632 bits)
Arrival Time: Jun 25, 2012 13:16:02.729730000 CEST
Epoch Time: 1340622962.729730000 seconds
[Time delta from previous captured frame: 0.000141000 seconds]
[Time delta from previous displayed frame: 0.000141000 seconds]
[Time since reference or first frame: 0.000171000 seconds]
Frame Number: 15
Frame Length: 454 bytes (3632 bits)
Capture Length: 454 bytes (3632 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp:iscsi]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 440
Identification: 0x889b (34971)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0xb2a2 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: iscsi-target (3260), Dst Port:
50503 (50503), Seq: 1, Ack: 525, Len: 388
Source port: iscsi-target (3260)
Destination port: 50503 (50503)
[Stream index: 2]
Sequence number: 1 (relative sequence number)
[Next sequence number: 389 (relative sequence number)]
Acknowledgement number: 525 (relative ack number)
Header length: 32 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 512
[Calculated window size: 32768]
[Window size scaling factor: 64]
Checksum: 0xffac [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192808, TSecr 2192808
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192808
Timestamp echo reply: 2192808
[SEQ/ACK analysis]
[Bytes in flight: 388]
iSCSI (Login Response)
Opcode: Login Response (0x23)
1... .... = T: Transit to next login stage
.0.. .... = C: Text is complete
.... 01.. = CSG: Operational negotiation (0x01)
.... ..11 = NSG: Full feature phase (0x03)
VersionMax: 0x00
VersionActive: 0x00
TotalAHSLength: 0x00
DataSegmentLength: 0x00000151
ISID: ff84d65c0000
11.. .... = ISID_t: Unknown (0x03)
..11 1111 = ISID_a: 0x3f
ISID_b: 0x84d6
ISID_c: 0x5c
ISID_d: 0x0000
TSIH: 0x1300
InitiatorTaskTag: 0x00000001
StatSN: 0x00000000
ExpCmdSN: 0x00000000
MaxCmdSN: 0x00000001
Status: Success (0x0000)
Key/Value Pairs
KeyValue: TargetPortalGroupTag=1
KeyValue: HeaderDigest=None
KeyValue: MaxBurstLength=262144
KeyValue: DefaultTime2Retain=0
KeyValue: ErrorRecoveryLevel=0
KeyValue: DefaultTime2Wait=2
KeyValue: DataPDUInOrder=Yes
KeyValue: OFMarkInt=Reject
KeyValue: MaxOutstandingR2T=1
KeyValue: DataDigest=None
KeyValue: IFMarker=No
KeyValue: OFMarker=No
KeyValue: FirstBurstLength=65536
KeyValue: ImmediateData=No
KeyValue: InitialR2T=Yes
KeyValue: MaxConnections=1
KeyValue: DataSequenceInOrder=Yes
KeyValue: IFMarkInt=Irrelevant
Padding: 000000
No. Time Source Destination Protocol Length Info
16 0.000197 127.0.0.1 127.0.0.1 TCP 66
50503 > iscsi-target [ACK] Seq=525 Ack=389 Win=32768 Len=0 TSval=2192808
TSecr=2192808
Frame 16: 66 bytes on wire (528 bits), 66 bytes captured (528 bits)
Arrival Time: Jun 25, 2012 13:16:02.729756000 CEST
Epoch Time: 1340622962.729756000 seconds
[Time delta from previous captured frame: 0.000026000 seconds]
[Time delta from previous displayed frame: 0.000026000 seconds]
[Time since reference or first frame: 0.000197000 seconds]
Frame Number: 16
Frame Length: 66 bytes (528 bits)
Capture Length: 66 bytes (528 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 52
Identification: 0x1731 (5937)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0x2591 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 50503 (50503), Dst Port:
iscsi-target (3260), Seq: 525, Ack: 389, Len: 0
Source port: 50503 (50503)
Destination port: iscsi-target (3260)
[Stream index: 2]
Sequence number: 525 (relative sequence number)
Acknowledgement number: 389 (relative ack number)
Header length: 32 bytes
Flags: 0x010 (ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 0... = Push: Not set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 512
[Calculated window size: 32768]
[Window size scaling factor: 64]
Checksum: 0xfe28 [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192808, TSecr 2192808
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192808
Timestamp echo reply: 2192808
[SEQ/ACK analysis]
[This is an ACK to the segment in frame: 15]
[The RTT to ACK the segment was: 0.000026000 seconds]
No. Time Source Destination Protocol Length Info
17 0.008145 127.0.0.1 127.0.0.1 iSCSI 114
SCSI: Read Capacity(10) LUN: 0x00
Frame 17: 114 bytes on wire (912 bits), 114 bytes captured (912 bits)
Arrival Time: Jun 25, 2012 13:16:02.737704000 CEST
Epoch Time: 1340622962.737704000 seconds
[Time delta from previous captured frame: 0.007948000 seconds]
[Time delta from previous displayed frame: 0.007948000 seconds]
[Time since reference or first frame: 0.008145000 seconds]
Frame Number: 17
Frame Length: 114 bytes (912 bits)
Capture Length: 114 bytes (912 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp:iscsi]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 100
Identification: 0x1732 (5938)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0x2560 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: 50503 (50503), Dst Port:
iscsi-target (3260), Seq: 525, Ack: 389, Len: 48
Source port: 50503 (50503)
Destination port: iscsi-target (3260)
[Stream index: 2]
Sequence number: 525 (relative sequence number)
[Next sequence number: 573 (relative sequence number)]
Acknowledgement number: 389 (relative ack number)
Header length: 32 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 512
[Calculated window size: 32768]
[Window size scaling factor: 64]
Checksum: 0xfe58 [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192810, TSecr 2192808
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192810
Timestamp echo reply: 2192808
[SEQ/ACK analysis]
[Bytes in flight: 48]
iSCSI (SCSI Command)
Opcode: SCSI Command (0x01)
.0.. .... = I: Queued delivery
Flags: 0xc1
1... .... = F: Final PDU in sequence
.1.. .... = R: Data will be read from target
..0. .... = W: No data will be written to target
.... .001 = Attr: Simple (0x01)
TotalAHSLength: 0x00
DataSegmentLength: 0x00000000
LUN: 0000000000000000
InitiatorTaskTag: 0x00000001
ExpectedDataTransferLength: 0x00000008
CmdSN: 0x00000000
ExpStatSN: 0x00000001
Response in: 18
SCSI CDB Read Capacity(10)
[LUN: 0x0000]
[Command Set:Direct Access Device (0x00) (Using default commandset)]
[Response in: 18]
Opcode: Read Capacity(10) (0x25)
Logical Block Address: 0
PMI Flags: 0x00
.... ...0 = PMI: Pmi is CLEAR
Control: 0x00
00.. .... = Vendor specific: 0x00
..00 0... = Reserved: 0x00
.... .0.. = NACA: Normal ACA is not set
.... ..0. = Obsolete: 0x00
.... ...0 = Obsolete: 0x00
No. Time Source Destination Protocol Length Info
18 0.008254 127.0.0.1 127.0.0.1 iSCSI 134
SCSI Response (Check Condition) LUN:0x00
Frame 18: 134 bytes on wire (1072 bits), 134 bytes captured (1072 bits)
Arrival Time: Jun 25, 2012 13:16:02.737813000 CEST
Epoch Time: 1340622962.737813000 seconds
[Time delta from previous captured frame: 0.000109000 seconds]
[Time delta from previous displayed frame: 0.000109000 seconds]
[Time since reference or first frame: 0.008254000 seconds]
Frame Number: 18
Frame Length: 134 bytes (1072 bits)
Capture Length: 134 bytes (1072 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:tcp:iscsi]
[Coloring Rule Name: TCP]
[Coloring Rule String: tcp]
Ethernet II, Src: 00:00:00_00:00:00 (00:00:00:00:00:00), Dst:
00:00:00_00:00:00 (00:00:00:00:00:00)
Destination: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Source: 00:00:00_00:00:00 (00:00:00:00:00:00)
Address: 00:00:00_00:00:00 (00:00:00:00:00:00)
.... ...0 .... .... .... .... = IG bit: Individual address
(unicast)
.... ..0. .... .... .... .... = LG bit: Globally unique address
(factory default)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 127.0.0.1 (127.0.0.1), Dst: 127.0.0.1
(127.0.0.1)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00:
Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not
ECN-Capable Transport) (0x00)
Total Length: 120
Identification: 0x889c (34972)
Flags: 0x02 (Don't Fragment)
0... .... = Reserved bit: Not set
.1.. .... = Don't fragment: Set
..0. .... = More fragments: Not set
Fragment offset: 0
Time to live: 64
Protocol: TCP (6)
Header checksum: 0xb3e1 [correct]
[Good: True]
[Bad: False]
Source: 127.0.0.1 (127.0.0.1)
Destination: 127.0.0.1 (127.0.0.1)
Transmission Control Protocol, Src Port: iscsi-target (3260), Dst Port:
50503 (50503), Seq: 389, Ack: 573, Len: 68
Source port: iscsi-target (3260)
Destination port: 50503 (50503)
[Stream index: 2]
Sequence number: 389 (relative sequence number)
[Next sequence number: 457 (relative sequence number)]
Acknowledgement number: 573 (relative ack number)
Header length: 32 bytes
Flags: 0x018 (PSH, ACK)
000. .... .... = Reserved: Not set
...0 .... .... = Nonce: Not set
.... 0... .... = Congestion Window Reduced (CWR): Not set
.... .0.. .... = ECN-Echo: Not set
.... ..0. .... = Urgent: Not set
.... ...1 .... = Acknowledgement: Set
.... .... 1... = Push: Set
.... .... .0.. = Reset: Not set
.... .... ..0. = Syn: Not set
.... .... ...0 = Fin: Not set
Window size value: 512
[Calculated window size: 32768]
[Window size scaling factor: 64]
Checksum: 0xfe6c [validation disabled]
[Good Checksum: False]
[Bad Checksum: False]
Options: (12 bytes)
No-Operation (NOP)
No-Operation (NOP)
Timestamps: TSval 2192810, TSecr 2192810
Kind: Timestamp (8)
Length: 10
Timestamp value: 2192810
Timestamp echo reply: 2192810
[SEQ/ACK analysis]
[This is an ACK to the segment in frame: 17]
[The RTT to ACK the segment was: 0.000109000 seconds]
[Bytes in flight: 68]
iSCSI (SCSI Response)
Opcode: SCSI Response (0x21)
Flags: 0x80
...0 .... = o: No overflow of read part of bi-directional command
.... 0... = u: No underflow of read part of bi-directional command
.... .0.. = O: No residual overflow occurred
.... ..0. = U: No residual underflow occurred
Response: Command completed at target (0x00)
Status: Check Condition (0x02)
TotalAHSLength: 0x00
DataSegmentLength: 0x00000014
InitiatorTaskTag: 0x00000001
StatSN: 0x00000001
ExpCmdSN: 0x00000001
MaxCmdSN: 0x00000021
ExpDataSN: 0x00000000
BidiReadResidualCount: 0x00000000
ResidualCount: 0x00000000
Request in: 17
Time from request: 0.008254000 seconds
SenseLength: 0x0012
SCSI: SNS Info
[LUN: 0x0000]
Valid: 1
.111 0000 = SNS Error Type: Current Error (0x70)
Filemark: 0, EOM: 0, ILI: 0
.... 0110 = Sense Key: Unit Attention (0x06)
Sense Info: 0x00000000
Additional Sense Length: 6
Command-Specific Information: 00000000
Additional Sense Code+Qualifier: Power On, Reset, Or Bus Device
Reset Occurred (0x2900)
Field Replaceable Unit Code: 0x00
0... .... = SKSV: False
Sense Key Specific: 000000
But as you said it might be already cleared? What would that mean? That
we can't ask for capacity information (this way) after the login
response has come in?
Am 25.06.2012 13:17, schrieb Arne Redlich:
> 2012/6/25 Andreas Rain <andreas.rain@...>:
>> Hello Arne,
>>
>> Thank you for answering so quickly.
>>
>> I just found out that the IET sends the Response using the Status Code
>> CHECK_CONDITION which implies that an error occured.
> Not necessarily an error. The unit attention mentioned in my previous
> mail is also reported this way (the details are in the SCSI sense data
> in the SCSI response). Once IET reported the unit attention condition
> it is automatically cleared.
>
>> I'm installing wireshark right now and I'm going to send the resulting data
>> as soon as it runs.
>> What do you mean by "cleared first". Does it mean that there is more to the
>> authentification?
> No, this has nothing to do with the iSCSI login, it's a SCSI mechanism
> - you can find details about that in the SAM-2 (or higher) SCSI specs.
>
> HTH,
> Arne
>
>> I have set no parameters in my configuration to indicate a more complex
>> authentification.
>>
>> Best regards,
>> Andreas
>>
>> Am 25.06.2012 12:55, schrieb Arne Redlich:
>>
>>> Hi Andreas,
>>>
>>> 2012/6/25 Andreas Rain <andreas.rain@...>:
>>>> Hello Everyone,
>>>>
>>>> I am currently working on the jSCSI - Project (which provides a java
>>>> version of an initiator and a target).
>>>> For some reason the jSCSI Initiator doesn't work with IET on Ubuntu
>>>> anymore since versions over 0.4.x.
>>>>
>>>> So what I found out so far is,
>>>>
>>>> that after the Login Negotiation our Initiator sends SCSICommand to the
>>>> Target which looks likes this:
>>>>
>>>> ImmediateFlag: false
>>>> OpCode: 0x1
>>>> FinalFlag: true
>>>> TotalAHSLength: 0x0
>>>> DataSegmentLength: 0x0
>>>> InitiatorTaskTag: 0x0
>>>> LUN: 0x0
>>>> Expected Data Transfer Length: 0x8
>>>> CommandSequenceNumber: 0x0
>>>> ExpectedStatusSequenceNumber: 0x0
>>>> SCSI CDB: java.nio.HeapByteBuffer[pos=0 lim=16 cap=16]
>>>>
>>>> It expects the Target to answer first with a Data-In which describes the
>>>> devices size and block size in the datasegment. After that it expects
>>>> that Target to give a SCSIResponse.
>>>>
>>>> With version 0.4.x our initiator works fine, but now we're getting a
>>>> SCSIResponse directly after sending this command.
>>>> The SCSIResponse looks like this:
>>> Just a wild guess: IET establishes a "power-on reset" unit attention,
>>> i.e. that one needs to be cleared first (and initiators need to be
>>> able to cope with that). Can you check the SCSI requests / responses
>>> with wireshark? Unless that solves the issue, please send a capture of
>>> the iSCSI traffic.
>>>
>>> HTH,
>>> Arne
>>>
>>>> ImmediateFlag: false
>>>> OpCode: 0x21
>>>> FinalFlag: true
>>>> TotalAHSLength: 0x0
>>>> DataSegmentLength: 0x14
>>>> InitiatorTaskTag: 0x1
>>>> Response: 0x0
>>>> SNACK TAG: 0x0
>>>> StatusSequenceNumber: 0x1
>>>> ExpectedCommandSequenceNumber: 0x1
>>>> MaximumCommandSequenceNumber: 0x21
>>>> ExpDataSN: 0x0
>>>> Bidirectional Read Residual Count: 0x0
>>>>
>>>>
>>>> As you can see the DataSegmentLength also varies from the (in the
>>>> command set) expected data transfer length. I am fairly new to this
>>>> which is why I don't know on what parameters in form of bytes which
>>>> response is given. I hope this is enough information. I have a bigger
>>>> log which I can supply if you're asking for it.
>>>>
>>>> Best regards,
>>>> Andreas
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Live Security Virtual Conference
>>>> Exclusive live event will cover all the ways today's security and
>>>> threat landscape has changed and how IT managers can respond. Discussions
>>>> will include endpoint security, mobile security and the latest in malware
>>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>>> _______________________________________________
>>>> Iscsitarget-devel mailing list
>>>> Iscsitarget-devel@...
>>>> https://lists.sourceforge.net/lists/listinfo/iscsitarget-devel
>>
>>
|