![]() |
right now i have a client which i force to be a ultra peer. my other client connects to this one. but if i have a third and fourth one all of them will connect to that ultra peer, which creates a single point of failure and also might be a bottleneck. one solution is to force every node to be a ultrapeer which somehow defeats the purpose of an ultra peer. another solution is to let leaves connect to each other, right? since this is only a small network, perfomance should not matter. i took a look on the ConnectionManager class and changed the "public boolean allowConnection(HandshakeResponse hr, boolean leaf)" to return always true but this seems to be not enough. |
A small network will usually work just as well if every peer is an Ultrapeer. However, instead of modifying allowConnection() (which is a bad idea because you don't really want clients that think they are leafs to connect to each other), just put the static addresses of a few seed Ultrapeers into LimeWire's gnutella.net file (and remove all other addresses). It's even possible to hardcode some of those addresses in the HostCatcher.java file. If you force supernode mode for two or three seed ultrapeers, the others should go into leaf mode automatically. - By the way, you should really consider modifying the number of ultrapeer connections, because an outdegree of 15 is probably far too much for a small network. |
private network Hello. Trying to set up private p2p network on LAN by blacklisting all IPs exceptintg local. 1st result is all nodes are leaf and do not connects each others. Can I manually set some of them to be peers or ultrapeers? Tried to do that removing blacklist on one node and connecting to global gnutella.net and in that case other private nodes connects just good. 2nd result is linked with addresses, I have 10.0.x.x net and LW says it is behind a firewall at startup even if there is few IN and OUT leaf connections to ultrapeer nodes. All (TCP & UDP 6346) ports are unblocked. Also I can not browse or direct connecto to any of leaf nodes. LW version is 4.10.3 (4.10.9 on some of nodes). How to set up stable private network? Thanks. |
All times are GMT -7. The time now is 06:19 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.