diff -U2 -r /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/SSU2Session.cpp /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/SSU2Session.cpp --- /var/lib/copr-rpmbuild/results/i2pd-git/upstream-unpacked/Source0/i2pd-openssl/libi2pd/SSU2Session.cpp 2025-12-16 01:24:16.000000000 +0000 +++ /var/lib/copr-rpmbuild/results/i2pd-git/srpm-unpacked/i2pd-openssl.tar.gz-extract/i2pd-openssl/libi2pd/SSU2Session.cpp 2025-12-16 00:52:29.000000000 +0000 @@ -1832,5 +1832,6 @@ if (ep.port () != m_Server.GetPort (isV4)) { - LogPrint (eLogInfo, "SSU2: Our port ", ep.port (), " received from ", m_RemoteEndpoint, " is different from ", m_Server.GetPort (isV4)); + // TODO: External port detected incorrectly. + // LogPrint (eLogInfo, "SSU2: Our port ", ep.port (), " received from ", m_RemoteEndpoint, " is different from ", m_Server.GetPort (isV4)); if (isV4) { @@ -1839,7 +1840,6 @@ else if (m_State == eSSU2SessionStatePeerTest) { - i2p::context.SetError (eRouterErrorFullConeNAT); // TODO: Full-Cone NAT detection isn't working. - // i2p::context.PublishNTCP2Address (TCP_PORT, true, true, false, false); // TODO: TCP_PORT to be filled similar to ep.port() - i2p::context.PublishSSU2Address (ep.port(), true, true, false); + i2p::context.SetError (eRouterErrorFullConeNAT); + i2p::context.UpdatePort((int)ep.port ()); } } @@ -1851,6 +1851,5 @@ { i2p::context.SetErrorV6 (eRouterErrorFullConeNAT); - // i2p::context.PublishNTCP2Address (TCP_PORT, true, false, true, false); // TODO: TCP_PORT to be filled similar to ep.port() - i2p::context.PublishSSU2Address (ep.port(), true, false, true); + i2p::context.UpdatePort((int)ep.port ()); } }