When verify_peername, node1 raise Identification failed!, since node2's address get from getaddrinfo is 10.10.10.192, while "peername" get from getpeername is 10.10.10.122(although node2 using 10.10.10.192 to connect with node1), so here is the difference to make verify_peername failed
Hi @lge ,
I meet an environment,
On node1,
On node2,
Problem:
When
verify_peername
, node1 raiseIdentification failed!
, sincenode2
's address get fromgetaddrinfo
is10.10.10.192
, while "peername" get fromgetpeername
is10.10.10.122
(although node2 using10.10.10.192
to connect with node1), so here is the difference to makeverify_peername
failedAny suggestions about this?
Thank you!