RE: connect with IPv4-mapped IPv6 address with rsocket

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here is a little more information on the issue. Please let me know if there is anything I missed.

We use ucmatose to replicate.

Server Address: IPv4: 30.30.30.2; IPv6: 2400:c980:0:2::2 I calculate the IPv4-mapped-IPv6 address to be 0000:ffff:1e1e:1e02

It does not work if we do:
./ucmatose -b 2400:c980:0:2::2 &
./ucmatose -s 0000:ffff:1e1e:1e02 
cmatose: starting server
cmatose: starting client
cmatose: getaddrinfo error: Name or service not known
test complete
return status -2

It works if we do:
./ucmatose -b 2400:c980:0:2::2 &
./ucmatose -s 2400:c980:0:2::2
cmatose: starting server
cmatose: starting client
cmatose: connecting
initiating data transfers
completing sends
receiving data transfers
receiving data transfers
sending replies
data transfers complete
data transfers complete
cmatose: disconnecting
disconnected
test complete
test complete
return status 0
return status 0

It also works if we do:
./ucmatose -b 30.30.30.2 &
./ucmatose -s 30.30.30.2
cmatose: starting server
cmatose: starting client
cmatose: connecting
initiating data transfers
completing sends
receiving data transfers
receiving data transfers
sending replies
data transfers complete
data transfers complete
cmatose: disconnecting
test complete
disconnected
return status 0
test complete
return status 0

>-----Original Message-----
>From: Lu, Yingqi
>Sent: Saturday, November 24, 2018 9:12 AM
>To: 'Lu, Yingqi' <yingqi.lu@xxxxxxxxx>; linux-rdma@xxxxxxxxxxxxxxx
>Cc: Kaczmarek, Eric <eric.kaczmarek@xxxxxxxxx>; Hefty, Sean
><sean.hefty@xxxxxxxxx>
>Subject: RE: connect with IPv4-mapped IPv6 address with rsocket
>
>Hello!
>
>We reported the issue with rsocket connect function (rconnect) with IPv4-
>mapped IPv6 addresses back in March. I am wondering if anyone on this mailing
>list has a similar issue or is looking into it.
>
>Your guidance and suggestions are very much appreciated!
>
>Thanks,
>Lucy
>
>>-----Original Message-----
>>From: linux-rdma-owner@xxxxxxxxxxxxxxx [mailto:linux-rdma-
>>owner@xxxxxxxxxxxxxxx] On Behalf Of Lu, Yingqi
>>Sent: Wednesday, February 28, 2018 4:09 PM
>>To: linux-rdma@xxxxxxxxxxxxxxx
>>Cc: Kaczmarek, Eric <eric.kaczmarek@xxxxxxxxx>; Hefty, Sean
>><sean.hefty@xxxxxxxxx>
>>Subject: connect with IPv4-mapped IPv6 address with rsocket
>>
>>Hi All,
>>
>>I found an issue with rsocket (rconnect function) when listen socket is
>>created with IPv6 (server side), but client socket uses IPv4-mapped
>>IPv6 address. Regular TCP socket works fine in this situation. Rsocket
>>(rconnect function) returns with error code 101. Is this a known issue or did I
>miss anything here?
>>
>>Both server and client run on CentOS7.2. Please let me know if you have
>>any questions or need any further information.
>>
>>Appreciate your help and suggestion!
>>
>>Thanks,
>>Lucy
>>--
>>To unsubscribe from this list: send the line "unsubscribe linux-rdma"
>>in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo
>>info at http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux