Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > Connection Problems
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Connection Problems Problems getting the LimeWire or WireShare program connecting to the Gnutella network. (not about connecting to files, that is a Download/Upload Problems section issue.) Please supply system details as described in the forum rules.
Start here Suggestions to help you get connected, * try here first *, then see below (click on 'this' blue link)

Did you FORGET something BEFORE you posted? If you post in this section you MUST provide these details: System details - help us to help you (click on 'this' blue link), else do not be surprised if your posting is ignored :)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 16th, 2003
q.wert
Guest
 
Posts: n/a
Default private gnutella network

hello,
i would like to do some testing with a small number of hosts controlled by me. i thought if i set up my own web cache and comment out all but my own web cache entry from DefaultBootstrapServer.java i should have a private test bed.
but somehow limewire still connects to the world. where does it get the data from? what do i need to change?
please help.
any assumption is welcome

chris
Reply With Quote
  #2 (permalink)  
Old April 16th, 2003
Distinguished Member
 
Join Date: September 21st, 2002
Location: Aachen
Posts: 733
trap_jaw is flying high
Default

It would be much simpler to use the host filter in the options to block all IP's except for your private network.
For example, add this to the banned hosts: *.*.*.*
And your private network: e.g. 10.*.*.* to the allowed hosts.
__________________
Morgens ess ich Cornflakes und abends ess ich Brot
Und wenn ich lang genug gelebt hab, dann sterb ich und bin tot

--Fischmob
Reply With Quote
  #3 (permalink)  
Old April 17th, 2003
Apprentice
 
Join Date: April 16th, 2003
Posts: 5
q.wert is flying high
Default

well, this would be a solution, but then i still get some initial messages from other clients. also my clients are not on the same subnet, what if someone else has a client running? one thing what i want to study are the initial connections, and behaivior in different enviroments.
thanks for your answer
chris
Reply With Quote
  #4 (permalink)  
Old April 17th, 2003
Distinguished Member
 
Join Date: September 21st, 2002
Location: Aachen
Posts: 733
trap_jaw is flying high
Default

Another solution would be to edit the handshake in Connection.java, use "TESTELLA CONNECT/0.6" instead of "GNUTELLA CONNECT/0.6".
__________________
Morgens ess ich Cornflakes und abends ess ich Brot
Und wenn ich lang genug gelebt hab, dann sterb ich und bin tot

--Fischmob
Reply With Quote
  #5 (permalink)  
Old April 18th, 2003
Apprentice
 
Join Date: April 16th, 2003
Posts: 5
q.wert is flying high
Default

that is a good idea, thanks.
but now i have another problem, or maybe i'm just to stupid to make simple code changes.....
i changed the connection strings in connection.java and recompiled all, but now it doesn't respond to the new connections string, and it respond to the old connection string but with the modified answer string.
can someone please check this out and tell me if i'm to stupid to make these changes?

thanks,
chris
Reply With Quote
  #6 (permalink)  
Old April 18th, 2003
Distinguished Member
 
Join Date: September 21st, 2002
Location: Aachen
Posts: 733
trap_jaw is flying high
Default

There are probably some other occurrences of GNUTELLA CONNECT you have to fix. Try the SettingsManager.java.

The problem is that Acceptor.java doesn't use the strings from Connection.java to identify an incoming Gnutella connection.
__________________
Morgens ess ich Cornflakes und abends ess ich Brot
Und wenn ich lang genug gelebt hab, dann sterb ich und bin tot

--Fischmob
Reply With Quote
  #7 (permalink)  
Old April 21st, 2003
Apprentice
 
Join Date: April 16th, 2003
Posts: 5
q.wert is flying high
Default

ok, i changed every occurence and i can do a modified handshake with telnet. but it won't connect if i use the modified programs.
i think it is not a problem with the handshake, i think it is because limewire wants to connect to ultra peers and refuses in the beginning to connect to leaf nodes. is this right?
is there the possibility to change this behavior or to force one of my (two) clients to be a ultra peer?

thanks
chris
Reply With Quote
  #8 (permalink)  
Old April 21st, 2003
Distinguished Member
 
Join Date: September 21st, 2002
Location: Aachen
Posts: 733
trap_jaw is flying high
Default

to force ultrapeer mode add the line:

FORCE_SUPERNODE_MODE=true
to your limewire.props file.
__________________
Morgens ess ich Cornflakes und abends ess ich Brot
Und wenn ich lang genug gelebt hab, dann sterb ich und bin tot

--Fischmob
Reply With Quote
  #9 (permalink)  
Old April 23rd, 2003
Apprentice
 
Join Date: April 16th, 2003
Posts: 5
q.wert is flying high
Default

thanks, this one works,
btw: do you know, where it is specified that a limewire client connects to ultrapeers and not to leaf nodes?
Reply With Quote
  #10 (permalink)  
Old April 23rd, 2003
Distinguished Member
 
Join Date: September 21st, 2002
Location: Aachen
Posts: 733
trap_jaw is flying high
Default

I don't quite understand your question.

When in ultrapeer mode, LimeWire will connect to other ultrapeers and allow leaf connections, when in leaf mode, LimeWire will only connect to ultrapeers.

Whether or not a connection should be allowed is handled by the ConnectionManager class.
__________________
Morgens ess ich Cornflakes und abends ess ich Brot
Und wenn ich lang genug gelebt hab, dann sterb ich und bin tot

--Fischmob
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Some questions about setting up private Gnutella network? hsyyang General Discussion 4 May 2nd, 2004 04:08 AM
Private Network over Gnutella Unregistered General Gnutella / Gnutella Network Discussion 3 March 14th, 2002 03:06 PM
Need Gnutella client w/ ip filter, private network Unregistered General Discussion 1 December 3rd, 2001 10:20 PM
Can I use Gnutella on a private network to distribute secret data? basingwerk General Gnutella / Gnutella Network Discussion 0 August 29th, 2001 08:47 AM


All times are GMT -7. The time now is 08:59 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.