From 2c995f1f91a05870404ecbabc9ee4480e3cbb811 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 31 May 2016 10:30:00 -0700 Subject: [PATCH] IPv6 links are unfortunately not "reliable." Many IPv6 gateways, while not implementing NAT, do implement stateful firewalling with absurdly short timeouts (<60s). Keepalives are still required in IPv6. Network engineers continue to mindlessly carry forward cruft and baggage from IPv4 to IPv6. --- node/Path.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Path.hpp b/node/Path.hpp index c88c2958a..ecf4be24b 100644 --- a/node/Path.hpp +++ b/node/Path.hpp @@ -252,7 +252,7 @@ public: */ inline bool reliable() const throw() { - if (_addr.ss_family == AF_INET) + if ((_addr.ss_family == AF_INET)||(_addr.ss_family == AF_INET6)) return ((_ipScope != InetAddress::IP_SCOPE_GLOBAL)&&(_ipScope != InetAddress::IP_SCOPE_PSEUDOPRIVATE)); return true; }