summaryrefslogtreecommitdiff
path: root/node/SelfAwareness.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 11:28:47 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-07-28 11:28:47 -0700
commitb31071463cafda54afbf6f01d37aa7451b217b12 (patch)
treed1a51ac050d3935a868dd2187d73d86e69f85190 /node/SelfAwareness.hpp
parentdda376c9eb0800b824f423db30399d93e89cb162 (diff)
downloadinfinitytier-b31071463cafda54afbf6f01d37aa7451b217b12.tar.gz
infinitytier-b31071463cafda54afbf6f01d37aa7451b217b12.zip
Try another NAT traversal improvement.
Diffstat (limited to 'node/SelfAwareness.hpp')
-rw-r--r--node/SelfAwareness.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/node/SelfAwareness.hpp b/node/SelfAwareness.hpp
index 4eede592..d3b79d18 100644
--- a/node/SelfAwareness.hpp
+++ b/node/SelfAwareness.hpp
@@ -66,6 +66,11 @@ public:
*/
void clean(uint64_t now);
+ /**
+ * @return True if our external (global scope) IPv4 ports appear to be randomized by a NAT device
+ */
+ bool areGlobalIPv4PortsRandomized() const;
+
private:
struct PhySurfaceKey
{