Title | Authentication Chunk is received with HMAC length not match HMAC Algorithm |
CommandLine | ./AuthWithBadHmacLength.seq -pkt ./AuthWithBadHmacLength.def -log 13.html -ti Authentication Chunk is received with HMAC length not match HMAC Algorithm |
TestVersion | REL_1_0_0 |
ToolVersion | REL_3_1_0 |
Start | 2009/02/12 18:50:29 |
Tn | .//../etc//tn.def |
Nu | .//../etc//nut.def |
Pkt | ./AuthWithBadHmacLength.def |
System | linux-v6 |
TargetName | RHEL5GA |
HostName | FNST |
Type | IPv6 |
18:50:29 | Start |
18:50:29 | Start Capturing Packets (Link0) |
=============== sctpCheckEnv =============== | |
18:50:29 |
vRemote(rcommand.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommand.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp" ''
Connected. [1]+ Exit 1 sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4261 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 [root@RHEL ~]# [root@RHEL ~]# killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_sta tus; checksctp sctp_test: no process killed sctp_darn: no process killed sctp_status: no process killed SCTP supported [root@RHEL ~]# sendMessagesSync: never got killall -9 sctp_test ; killall -9 sctp_darn ; killall -9 sctp_status; checksctp echo $? 0 ~.~. ~. Disconnected. |
============= sctpPing6ToHost ============== | |
18:50:38 |
vSend(Link0,echo_request_on_link0) Send Echo Request on Link0 |
18:50:38 | vRecv(Link0,echo_reply_on_link0 ns_on_link0 ns_on_link0_gl) timeout:5 cntLimit:0 seektime:0 Recv Echo Reply on Link0 |
============== sctpStartServer ============= | |
18:50:38 |
vRemote(rcommandasync.rmt) ``/usr/local/v6eval//bin/linux-v6//rcommandasync.rmt -t linux-v6 -u root -p goodluck -d ttyS0 -o 1 cmd="sctp_test -H 3ffe:501:ffff:100:020c:29ff:fe0f:1734 -P 4262 -T -l -x 1 -X 1 > /tmp/tstcmd.log 2>&1 &" ''
Connected. [root@RHEL ~]# [root@RHEL ~]# sctp_test -H 3ffe:5~. Disconnected. |
=============== vConnectAuth =============== | |
18:50:42 |
vSend(Link0,sctp_chunk_init_auth_snd) Send SCTP CHUNK_INIT |
18:50:42 | vRecv(Link0,sctp_chunk_init_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_INIT_ACK |
18:50:42 |
vSend(Link0,sctp_chunk_cookie_echo_snd) Send SCTP CHUNK_COOKIE_ECHO |
18:50:42 | vRecv(Link0,sctp_chunk_cookie_ack_rcv ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_COOKIE_ACK |
================ Main Test ================= | |
18:50:42 |
vSend(Link0,sctp_chunk_auth_bad_hmac_len) Send SCTP CHUNK_AUTH (HMAC length not match HMAC Algorithm) |
18:50:42 | vRecv(Link0,sctp_chunk_abort ns_on_link0 ns_on_link0_gl) timeout:10 cntLimit:0 seektime:0 Recv SCTP CHUNK_ABORT (Protocol Violation) |
OK | |
18:50:42 | End |
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | ICMPv6_EchoRequest (length:16) | | | Type = 128 | | | Code = 0 | | | Checksum = 41042 calc(41042) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:8) | | | | data = 01020304 05060708
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 58 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | ICMPv6_EchoReply (length:16) | | | Type = 129 | | | Code = 0 | | | Checksum = 40786 calc(40786) | | | Identifier = 65535 | | | SequenceNumber = 1 | | | Payload (length:8) | | | | data = 01020304 05060708 ===echo_reply_on_link0=================================
Frame_Ether (length:146) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:132) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 92 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:92) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3262 | | | | DestinationPort = 4262 | | | | VerificationTag = 0 | | | | Checksum = 3554925754 calc(3554925754) | | | CHUNK_INIT (length:80) | | | | Type = 1 | | | | Flags = 0 | | | | Length = 80 | | | | InitiateTag = 1 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 100 | | | | NumOfInbound = 65535 | | | | TSN = 100 | | | | Random (length:36) | | | | | Type = 32770 | | | | | Length = 36 | | | | | RandomNumber = | | | | | 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | | | | ChunkList (length:8) | | | | | Type = 32771 | | | | | Length = 6 | | | | | ChunkType = 193 | | | | | ChunkType = 128 | | | | | Padding = 0000 | | | | RequestedHMACAlgorithm (length:8) | | | | | Type = 32772 | | | | | Length = 8 | | | | | HMACIdentifier = 1 | | | | | HMACIdentifier = 3 | | | | SupportedExtensions (length:8) | | | | | Type = 32776 | | | | | Length = 7 | | | | | ChunkType = 15 | | | | | ChunkType = 193 | | | | | ChunkType = 128 | | | | | Padding = 00
Frame_Ether (length:414) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:400) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 360 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | Upp_SCTP (length:360) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4262 | | | | DestinationPort = 3262 | | | | VerificationTag = 1 | | | | Checksum = 543717008 calc(543717008) | | | CHUNK_INIT_ACK (length:348) | | | | Type = 2 | | | | Flags = 0 | | | | Length = 348 | | | | InitiateTag = 2174669389 | | | | AdvRecvWindow = 54784 | | | | NumOfOutbound = 10 | | | | NumOfInbound = 100 | | | | TSN = 2461855459 | | | | StaleCookie (length:264) | | | | | Type = 7 | | | | | Length = 264 | | | | | Cookie = | | | | | 63e154cc 61397fdf d159556a 9910b210 00000000 00000000 00000000 00000000 | | | | | 00000000 4dd29e81 01000000 00000000 00000000 b4b69449 316b0d00 0a006400 | | | | | e3eebc92 0a000cbe 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | | a6100000 00000000 80020024 dfbb8a5e d48be230 1aea1181 f340f2c6 ebda73d1 | | | | | b7bd8fe7 52e44232 17cd7e4b 80040006 00018003 00040000 00000000 00000000 | | | | | 00000000 00000000 00000000 01000050 00000001 0000d600 0064ffff 00000064 | | | | | 80020024 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | | | | | 00000000 80030006 c1800000 80040008 00010003 80080007 0fc18000 00000000 | | | | | 00000000 | | | | SupportedExtensions (length:8) | | | | | Type = 32776 | | | | | Length = 5 | | | | | ChunkType = 15 | | | | | Padding = 000000 | | | | AdaptationLayerIndication (length:8) | | | | | Type = 49158 | | | | | Length = 8 | | | | | Indication = 0 | | | | Random (length:36) | | | | | Type = 32770 | | | | | Length = 36 | | | | | RandomNumber = | | | | | dfbb8a5e d48be230 1aea1181 f340f2c6 ebda73d1 b7bd8fe7 52e44232 17cd7e4b | | | | RequestedHMACAlgorithm (length:8) | | | | | Type = 32772 | | | | | Length = 6 | | | | | HMACIdentifier = 1 | | | | | Padding = 0000 | | | | ChunkList (length:4) | | | | | Type = 32771 | | | | | Length = 4 ===sctp_chunk_init_ack_rcv=================================
Frame_Ether (length:330) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:316) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 276 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:276) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3262 | | | | DestinationPort = 4262 | | | | VerificationTag = 2174669389 | | | | Checksum = 1521308846 calc(1521308846) | | | CHUNK_COOKIE_ECHO (length:264) | | | | Type = 10 | | | | Flags = 0 | | | | Length = 264 | | | | Cookie = | | | | 63e154cc 61397fdf d159556a 9910b210 00000000 00000000 00000000 00000000 | | | | 00000000 4dd29e81 01000000 00000000 00000000 b4b69449 316b0d00 0a006400 | | | | e3eebc92 0a000cbe 00000000 3ffe0501 ffff0100 020000ff fe000100 02000000 | | | | a6100000 00000000 80020024 dfbb8a5e d48be230 1aea1181 f340f2c6 ebda73d1 | | | | b7bd8fe7 52e44232 17cd7e4b 80040006 00018003 00040000 00000000 00000000 | | | | 00000000 00000000 00000000 01000050 00000001 0000d600 0064ffff 00000064 | | | | 80020024 00000000 00000000 00000000 00000000 00000000 00000000 00000000 | | | | 00000000 80030006 c1800000 80040008 00010003 80080007 0fc18000 00000000 | | | | 00000000
Frame_Ether (length:70) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:56) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 16 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | Upp_SCTP (length:16) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4262 | | | | DestinationPort = 3262 | | | | VerificationTag = 1 | | | | Checksum = 2223657862 calc(2223657862) | | | CHUNK_COOKIE_ACK (length:4) | | | | Type = 11 | | | | Flags = 0 | | | | Length = 4 ===sctp_chunk_cookie_ack_rcv=================================
Frame_Ether (length:86) | Hdr_Ether (length:14) | | DestinationAddress = 0:c:29:f:17:34 | | SourceAddress = 0:0:0:0:1:0 | | Type = 34525 | Packet_IPv6 (length:72) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 0 | | | FlowLabel = 0 | | | PayloadLength = 32 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | | DestinationAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | Upp_SCTP (length:32) | | | Hdr_SCTP (length:12) | | | | SourcePort = 3262 | | | | DestinationPort = 4262 | | | | VerificationTag = 2174669389 | | | | Checksum = 1723020935 calc(1723020935) | | | CHUNK_AUTH (length:20) | | | | Type = 15 | | | | Flags = 0 | | | | Length = 20 | | | | SharedKeyIdentifier = 0 | | | | HMACIdentifier = 1 | | | | HMAC = 00000000 00000000 00000000
Frame_Ether (length:118) | Hdr_Ether (length:14) | | DestinationAddress = 0:0:0:0:1:0 | | SourceAddress = 0:c:29:f:17:34 | | Type = 34525 | Packet_IPv6 (length:104) | | Hdr_IPv6 (length:40) | | | Version = 6 | | | TrafficClass = 2 | | | FlowLabel = 0 | | | PayloadLength = 64 | | | NextHeader = 132 | | | HopLimit = 64 | | | SourceAddress = 3ffe:501:ffff:100:20c:29ff:fe0f:1734 | | | DestinationAddress = 3ffe:501:ffff:100:200:ff:fe00:100 | | Upp_SCTP (length:64) | | | Hdr_SCTP (length:12) | | | | SourcePort = 4262 | | | | DestinationPort = 3262 | | | | VerificationTag = 1 | | | | Checksum = 459442800 calc(459442800) | | | CHUNK_ABORT (length:52) | | | | Type = 6 | | | | Reserved = 0 | | | | TFlag = 0 | | | | Length = 52 | | | | ProtocolViolation (length:48) | | | | | Code = 13 | | | | | Length = 48 | | | | | Information = | | | | | 54686520 666f6c6c 6f77696e 67206368 756e6b20 68616420 696e7661 6c696420 | | | | | 6c656e67 74683a00 000f0014 ===sctp_chunk_abort=================================