You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEBUG_LOG(("NAT::establishConnectionPaths - first netgear in pair. assigning node %d to slot %d (%ls)", nodeindex, i, m_slotList[i]->getName().str()));
527
-
} else {
528
-
// this is the second in the pair of netgears, pair this up with the other one
529
-
// for the first round.
530
-
Int nodeindex = 0;
531
-
while (m_connectionPairs[m_connectionPairIndex][0][nodeindex] != otherNetgearNum) {
DEBUG_LOG(("NAT::establishConnectionPaths - second netgear in pair. assigning node %d to slot %d (%ls)", nodeindex, i, m_slotList[i]->getName().str()));
539
-
}
540
-
}
541
-
}
542
-
}
543
-
544
-
// fill in the rest of the nodes with the remaining slots.
545
-
DEBUG_LOG(("NAT::establishConnectionPaths - doing the non-Netgear nodes"));
DEBUG_ASSERTCRASH(targetSlot != nullptr, ("trying to negotiate with a null target slot, slot is %d", m_connectionPairs[m_connectionPairIndex][m_connectionRound][i]));
673
631
DEBUG_LOG(("NAT::doThisConnectionRound - Target slot index = %d (%ls)", targetSlotIndex, m_slotList[targetSlotIndex]->getName().str()));
674
632
DEBUG_LOG(("NAT::doThisConnectionRound - Target slot has NAT behavior 0x%8X, local slot has NAT behavior 0x%8X", targetSlot->getNATBehavior(), localSlot->getNATBehavior()));
675
-
676
-
#if defined(DEBUG_LOGGING)
677
-
UnsignedInt targetIP = targetSlot->getIP();
678
-
UnsignedInt localIP = localSlot->getIP();
679
-
#endif
680
-
681
633
DEBUG_LOG(("NAT::doThisConnectionRound - Target slot has IP %d.%d.%d.%d Local slot has IP %d.%d.%d.%d",
682
-
PRINTF_IP_AS_4_INTS(targetIP),
683
-
PRINTF_IP_AS_4_INTS(localIP)));
684
-
685
-
if (((targetSlot->getNATBehavior() & FirewallHelperClass::FIREWALL_TYPE_NETGEAR_BUG) == 0) &&
DEBUG_LOG(("NAT::gotMangledPort - don't have a netgear or we have already been probed, or both my target and I have a netgear, send a PROBE. Sending to %d.%d.%d.%d:%d",
1007
-
PRINTF_IP_AS_4_INTS(ip), targetSlot->getPort()));
924
+
DEBUG_LOG(("NAT::gotMangledPort - Send a PROBE to %d.%d.%d.%d:%d",
0 commit comments