Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old July 26th, 2009
Disciple
 
Join Date: May 4th, 2009
Posts: 14
yodoloi04 is flying high
Default which ultrapeer to test my own client

Hello,

For my bachelor's degree, I'm writing a simple gnutella client (just the leaf fonctionality) in c#.

I want to do some tests on my client but without impacting the gnutella network. The idea is to run an ultrapper on one of my computers and connect to this ultrapeer with my client from an other computer.

Could you help me by telling me, if there is a software that allows me to be a ultrapeer for my tests.

I tried with Phex, but unfortunately it seems that it is possible to create a private network only (gnutella ultrapeers and leaf) with phex, with others client it dosen't work.

Thanks in advance for your help.

Juan
Reply With Quote
  #2 (permalink)  
Old July 26th, 2009
Moderator
 
Join Date: October 10th, 2008
Location: Some place in Norway!
Posts: 234
File_Girl71 has a reputation beyond reputeFile_Girl71 has a reputation beyond repute
Default

I would try DIY P2P or "Paranoia" as it is the name of the application... It's a demo p2p application... Fully functional and it will let you create your own privat Gnutella network,and you can also run it in forced ultrapeer...Her is the link: Paranoia - Reviews and free Paranoia downloads at Download.com

If that link is not working,you can send me a PM and i can give it to you... Or you can try use Gnucleus her on the forum, since the DIY P2P is mostly based on Gnucleus source code... You find the installer her on the forum in GnucDNA section: http://www.gnutellaforums.com/gnucle...installer.html

I hope this can help you some way....
__________________
Just Good enough, smart enough, and no longer Elite...
Reply With Quote
  #3 (permalink)  
Old July 26th, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Phex simply changes the handshake to implement the private network (one string changed), so you can easily use it for your tests.

Also you could just forbid access outside your local network in the security tab.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #4 (permalink)  
Old July 27th, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Normally the greeting is "GNUTELLA CONNECT".

When you use a phex private network, the greeting becomes

"GNUTELLA PCONNECT" + " " + networkName

(for example the network "mySkulk" would have the greeting "GNUTELLA PCONNECT mySkulk")

If you adapt your header accordingly, you can connect to a phex in private network mode.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #5 (permalink)  
Old July 27th, 2009
Disciple
 
Join Date: May 4th, 2009
Posts: 14
yodoloi04 is flying high
Default

Hello File_girl71, Hello Arne_bab,

Thanks a lot for your help, I really apreciate.

I download Paranoia and I will install and test it.

For the moment I modified the handshake of my code to use "GNUTELLA PCONNECT" + " " + networkName and it works well with Phex (I checked the source code of phex, and I still have a lot of work to understant a litel bit more:-))
I can connect now to a Phex ultrapeer and found some bugs in my code (I still have much work ahead me :-)))

File_girl71, I saw that you post a message about Gnucleus 2.2.0.0. I donwload and install Gnucleus. Have you the sources of this program, it is to see how it's implemented.

Regards
Juan
Reply With Quote
  #6 (permalink)  
Old July 29th, 2009
Moderator
 
Join Date: October 10th, 2008
Location: Some place in Norway!
Posts: 234
File_Girl71 has a reputation beyond reputeFile_Girl71 has a reputation beyond repute
Default

Yes i have the source to Gnucleus 2.2.0.0, if you will i can send you a link to it as a pm
__________________
Just Good enough, smart enough, and no longer Elite...
Reply With Quote
  #7 (permalink)  
Old July 30th, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Hi Juan,

Quote:
Originally Posted by yodoloi04 View Post
For the moment I modified the handshake of my code to use "GNUTELLA PCONNECT" + " " + networkName and it works well with Phex (I checked the source code of phex, and I still have a lot of work to understant a litel bit more:-))
I can connect now to a Phex ultrapeer and found some bugs in my code (I still have much work ahead me :-)))
Great!

Please keep us posted on your progress!

What kinds of tests do you want to run?

Best wishes,
Arne
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #8 (permalink)  
Old July 30th, 2009
Disciple
 
Join Date: May 4th, 2009
Posts: 14
yodoloi04 is flying high
Default

Hi Arne,

Actually, I watched how the gnutella protocol works (with wireshark and by reading the RFC). And now I'm coding in C# the differents messages. For the moment, I'm just doing the handshake, sending and receiving ping and pongs messages (theses are the tests that I'm doing now ).

After I will implement the query and QueryHit messages. But before I should be sure that my program structure is correct (so I'm reading some documentation about the best practices with the multi-threading).

The goal is to have a client with a very good search algorithm in c#.

Regards
Juan
Reply With Quote
  #9 (permalink)  
Old July 30th, 2009
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

How do you want to change the search algorithm? Much of it is implemented in the Ultrapeers, where you can't control it.

The only parts I see which the leaf can really control are Out of Band searches (via udp) and the timing of Dynamic querying (which migth be adjustable to provide better results).

With Ultrapeer-Support you could try some new approaches on searching, though, including different ways to route messages and similar.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
Reply With Quote
  #10 (permalink)  
Old July 30th, 2009
Disciple
 
Join Date: May 4th, 2009
Posts: 14
yodoloi04 is flying high
Default

In fact in my bachelor project, the goal (for the moment) is to have a basic client with good serach results on a gnutella network.

When I looked the RFC, it seems better to implement an ultrapeer to work on a search algorithm but I have only 3 months to do the job and in a first phase it seems easier to implement a leaf client than an ultrapeer (I have to learn c# too, because during my studies in telecommunications I coded all the time in C or java).

Due to these constraints, I decided to start first in this direction, developing a leaf with the best search results and depending on the time, I will try to implement the ultrapeer.

So I still have a lot of nights of work ahead me :-))
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



All times are GMT -7. The time now is 03:18 PM.


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.