Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Development & Coding > Development Open Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Search Today's Posts Mark Forums Read

Development Open Discussion Anything else about the Phex development


Welcome To Gnutella Forums

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, fun aspects such as the image caption contest and play in the arcade, and access many other special features after your registration and email confirmation. Registration is fast, simple and absolutely free so please, join our community today! (click here) (Note: we use Yandex mail server so make sure yandex is not on your email filter or blocklist.)

If you have any problems with the Gnutella Forum registration process or your Gnutella Forum account login, please contact us (this is not for program use questions.) Your email address must be legitimate and verified before becoming a full member of the forums. Please be sure to disable any spam filters you may have for our website, so that email messages can reach you.
Note: Any other issue with registration, etc., send a Personal Message (PM) to one of the active Administrators: Lord of the Rings or Birdy.

Once registered but before posting, members MUST READ the FORUM RULES (click here) and members should include System details - help us to help you (click on blue link) in their posts if their problem relates to using the program. Whilst forum helpers are happy to help where they can, without these system details your post might be ignored. And wise to read How to create a New Thread

Thank you

If you are a Spammer click here.
This is not a business advertising forum, all member profiles with business advertising will be banned, all their posts removed. Spamming is illegal in many countries of the world. Guests and search engines cannot view member profiles.



           Deutsch?              Español?                  Français?                   Nederlands?
   Hilfe in Deutsch,   Ayuda en español,   Aide en français et LimeWire en françaisHulp in het Nederlands

Forum Rules

Support Forums

Before you post to one of the specific Client Help and Support Conferences in Gnutella Client Forums please look through other threads and Stickies that may answer your questions. Most problems are not new. The Search function is most useful. Also the red Stickies have answers to the most commonly asked questions. (over 90 percent).
If your problem is not resolved by a search of the forums, please take the next step and post in the appropriate forum. There are many members who will be glad to help.
If you are new to the world of file sharing please do not be shy! Everyone was ‘new’ when they first started.

When posting, please include details for:
Your Operating System ....... Your version of your Gnutella Client (* this is important for helping solve problems) ....... Your Internet connection (56K, Cable, DSL) ....... The exact error message, if one pops up
Any other relevant information that you think may help ....... Try to make your post descriptive, specific, and clear so members can quickly and efficiently help you. To aid helpers in solving download/upload problems, LimeWire and Frostwire users must specify whether they are downloading a torrent file or a file from the Gnutella network.
Members need to supply these details >>> System details - help us to help you (click on blue link)


Moderators

There are senior members on the forums who serve as Moderators. These volunteers keep the board organized and moving.
Moderators are authorized to: (in order of increasing severity)
Move posts to the correct forums. Many times, members post in the wrong forum. These off-topic posts may impede the normal operation of the forum.
Edit posts. Moderators will edit posts that are offensive or break any of the House Rules.
Delete posts. Posts that cannot be edited to comply with the House Rules will be deleted.
Restrict members. This is one of the last punishments before a member is banned. Restrictions may include placing all new posts in a moderation queue or temporarily banning the offender.
Ban members. The most severe punishment. Three or more moderators or administrators must agree to the ban for this action to occur. Banning is reserved for very severe offenses and members who, after many warnings, fail to comply with the House Rules. Banning is permanent. Bans cannot be removed by the moderators and probably won't be removed by the administration.


The Rules

1. Warez, copyright violation, or any other illegal activity may NOT be linked or expressed in any form. Topics discussing techniques for violating these laws and messages containing locations of web sites or other servers hosting illegal content will be silently removed. Multiple offenses will result in consequences. File names are not required to discuss your issues. If filenames are copyright then do not belong on these forums & will be edited out or post removed. Picture sample attachments in posts must not include copyright infringement.

2. Spamming and excessive advertising will not be tolerated. Commercial advertising is not allowed in any form, including using in signatures.

3. There will be no excessive use of profanity in any forum.

4. There will be no racial, ethnic, or gender based insults, or any other personal attacks.

5. Pictures may be attached to posts and signatures if they are not sexually explicit or offensive. Picture sample attachments in posts must not include copyright infringement.

6. Remember to post in the correct forum. Take your time to look at other threads and see where your post will go. If your post is placed in the wrong forum it will be moved by a moderator. There are specific Gnutella Client sections for LimeWire, Phex, FrostWire, BearShare, Gnucleus, Morpheus, and many more. Please choose the correct section for your problem.

7. If you see a post in the wrong forum or in violation of the House Rules, please contact a moderator via Private Message or the "Report this post to a moderator" link at the bottom of every post. Please do not respond directly to the member - a moderator will do what is required.

8. Any impersonation of a forum member in any mode of communication is strictly prohibited and will result in banning.

9. Multiple copies of the same post will not be tolerated. Post your question, comment, or complaint only once. There is no need to express yourself more than once. Duplicate posts will be deleted with little or no warning. Keep in mind a forum censor may temporarily automatically hold up your post, if you do not see your post, do not post again, it will be dealt with by a moderator within a reasonable time. Authors of multiple copies of same post may be dealt with by moderators within their discrete judgment at the time which may result in warning or infraction points, depending on severity as adjudged by the moderators online.

10. Posts should have descriptive topics. Vague titles such as "Help!", "Why?", and the like may not get enough attention to the contents.

11. Do not divulge anyone's personal information in the forum, not even your own. This includes e-mail addresses, IP addresses, age, house address, and any other distinguishing information. Don´t use eMail addresses in your nick. Reiterating, do not post your email address in posts. This is for your own protection.

12. Signatures may be used as long as they are not offensive or sexually explicit or used for commercial advertising. Commercial weblinks cannot be used under any circumstances and will result in an immediate ban.

13. Dual accounts are not allowed. Cannot explain this more simply. Attempts to set up dual accounts will most likely result in a banning of all forum accounts.

14. Video links may only be posted after you have a tally of two forum posts. Video link posting with less than a 2 post tally are considered as spam. Video link posting with less than a 2 post tally are considered as spam.

15. Failure to show that you have read the forum rules may result in forum rules breach infraction points or warnings awarded against you which may later total up to an automatic temporary or permanent ban. Supplying system details is a prerequisite in most cases, particularly with connection or installation issues.

Violation of any of these rules will bring consequences, determined on a case-by-case basis.


Thank You! Thanks for taking the time to read these forum guidelines. We hope your visit is helpful and mutually beneficial to the entire community.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 7th, 2010
Apprentice
 
Join Date: October 3rd, 2008
Posts: 6
zageyiff is flying high
Default Features doubts

Hi all,

I've trying to find specific information about the features that Phex uses but I haven't been able to find anything.

* Which gnutella version is phex implementing. As I found there are different specification.

* Which search mecanism it uses. Looking at the source code I've found it uses Dynamic Queries, I just want to make sure here. And is it the only mechanism used?

* I've been looking for a way to do a hashcode search programatically using the phex source code. I haven't found anything, can anyone point me in the right direction.

* It would be great to have a firewall to firewall transfer, which I see is in the roadmap (http://www.phex.org/wiki/index.php/Roadmap). The question here is if there is an estimated time for when the development on this feature will start and how long will it take?
I see there's also a feature to support the limewire's mojito DHT which may help with the firewall to firewall transfer. Is there any estimated time for this as well?

* Is there a way that when bootstraping the phex client, it will find the clients in the local area network. I suppose it would by doing a multicast or broadcast in the network to identify which phex peers are on the same network. This will help in doing downloads faster if the file being wanted to download is within the same network.

* I have found some topics related to this. How would be the best way to manage fake results when these fakes constantly change their host or their sha1 hashcodes?

* Does phex have a limit handling large files?

* Are there any plans on implementing UPnP and NatPMP??
Reply With Quote
  #2 (permalink)  
Old April 8th, 2010
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Quote:
Originally Posted by zageyiff View Post
* Which gnutella version is phex implementing. As I found there are different specification.
Phex is implementing the most current version, lets call it 0.6, and is additionally supporting a long list of protocol extension.

Quote:
Originally Posted by zageyiff View Post
* Which search mecanism it uses. Looking at the source code I've found it uses Dynamic Queries, I just want to make sure here. And is it the only mechanism used?
Yes it uses Dynamic Queries. Older search methods are not supported anymore.

Quote:
Originally Posted by zageyiff View Post
* I've been looking for a way to do a hashcode search programatically using the phex source code. I haven't found anything, can anyone point me in the right direction.
Phex supports hashcode queries, though they are not generally supported on the Gnutella network. You can assume that your hashcode searches wont return very satisfactory results, they will usually get dropped very fast.
Check out ResearchSettings.startSearch()

Quote:
Originally Posted by zageyiff View Post
* It would be great to have a firewall to firewall transfer, which I see is in the roadmap (http://www.phex.org/wiki/index.php/Roadmap). The question here is if there is an estimated time for when the development on this feature will start and how long will it take?
I see there's also a feature to support the limewire's mojito DHT which may help with the firewall to firewall transfer. Is there any estimated time for this as well?
We are looking for developers who would like to work on these topics. If you like to contribute you would be very welcome.

Quote:
Originally Posted by zageyiff View Post
* Is there a way that when bootstraping the phex client, it will find the clients in the local area network. I suppose it would by doing a multicast or broadcast in the network to identify which phex peers are on the same network. This will help in doing downloads faster if the file being wanted to download is within the same network.
Yes that would be a very nice feature. We have some ideas how we would like to improve local network support. Though we currently don't have the time and resources to work on this topic. Like already mentioned above, we would be happy to get help.

Quote:
Originally Posted by zageyiff View Post
* Does phex have a limit handling large files?
Yes: 2^63 - 1 bytes ~ 8 exabytes

Quote:
Originally Posted by zageyiff View Post
* Are there any plans on implementing UPnP and NatPMP??
Yes, once we found someone who would like to help.
__________________
Reply With Quote
  #3 (permalink)  
Old April 8th, 2010
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,

Welcome to the Gnutella Forums!

I’ll directly come to your questions:

* Phex implements Gnutella 0.6 with almost all extensions except the DHT.

* The search mechanism is dynamic querying on the requester side. Also it supports Query Routing (via QRT) on the forwarding part.

* Hash-searching can only be done efficiently using the DHT which isn’t yet implemented. So you can only search for the filename and then match the returned hashes.

* The RoadMap progressing slowly right now – job vs. hoppy.

* Currently Phex gets all download-sources via the download mesh. I don’t know if there are additions for local broadcasts. But it would be nice, I think.

* For fake files you can either check for some common names (i.e. weed out all *.qt files for they can phone home), check for the host and ban it (only works if the fake files are intended to be downloaded and not just an attack on the network structure) or implement something like credence for Phex: Credence: Thwarting P2P Pollution

* I don’t know a limit for the file size.

* See RoadMap info…

For what do you want to use it?

EDIT: Posting collision
__________________

-> 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.

Last edited by arne_bab; April 8th, 2010 at 11:13 PM.
Reply With Quote
  #4 (permalink)  
Old April 9th, 2010
Apprentice
 
Join Date: October 3rd, 2008
Posts: 6
zageyiff is flying high
Default

Thanks GregorK and arne_bab for the quick response.

I have more questions regarding the answers

Quote:
Originally Posted by GregorK View Post
Phex is implementing the most current version, lets call it 0.6, and is additionally supporting a long list of protocol extension.
Is there some place where I can check the list of these protocol extensions??

Quote:
Originally Posted by GregorK View Post
Yes it uses Dynamic Queries. Older search methods are not supported anymore.
Are there plans to improve the search mechanism, maybe by using some of the features of the called "Gnutella2" features or by the protocol modifications made by limewire?

Quote:
Originally Posted by GregorK View Post
Phex supports hashcode queries, though they are not generally supported on the Gnutella network. You can assume that your hashcode searches wont return very satisfactory results, they will usually get dropped very fast.
Check out ResearchSettings.startSearch()
Thanks to pointing on this direction, actually what I was looking for was to find more candidates to one download. And this method is called when you select search in the candidates table. I found the logic that if the search term is less than two characters it will include the urn in the query search, but I think using only the search term is better. Even phex handles automatically adding the candidates to the SWFownloadFile which is great.


Quote:
Originally Posted by GregorK View Post
We are looking for developers who would like to work on these topics. If you like to contribute you would be very welcome.
This would be good. We are actually two developers who are working with phex, and we have some basic knowledge of the mojito DHT. We would be glad to help here. We need to get more familiar with the source code and read more about mojito DHT. But surely we can help. Let me know how we can get an agreement here.

Quote:
Originally Posted by GregorK View Post
Yes that would be a very nice feature. We have some ideas how we would like to improve local network support. Though we currently don't have the time and resources to work on this topic. Like already mentioned above, we would be happy to get help.
We actually have seen something about these, and have seen some working code. Our doubt would be how to add those nodes into phex. We can help here as well, let me know.

Quote:
Originally Posted by GregorK View Post
Yes, once we found someone who would like to help.
I guess this have something to do with multicast as well, which I imagine would be the mechanism of the LAN discovery.

As a resume, we would be glad to help. I think there are two main topics here: mojito DHT and multicast.
About mojito DHT, it will be a task that will take time. Having this we can use it as base for the firewall-to-firewall.
About multicast, it will help with the LAN discovery and with the upnp and natpmp. Which I guess will be less time consuming than DHT

Quote:
Originally Posted by arne_bab View Post
* Hash-searching can only be done efficiently using the DHT which isn’t yet implemented. So you can only search for the filename and then match the returned hashes.
Yes we actually found the code that does what we wanted, thanks

Quote:
Originally Posted by arne_bab View Post
* Currently Phex gets all download-sources via the download mesh. I don’t know if there are additions for local broadcasts. But it would be nice, I think.
What do you mean by download mesh? I haven't heard about it.

Quote:
Originally Posted by arne_bab View Post
* For fake files you can either check for some common names (i.e. weed out all *.qt files for they can phone home), check for the host and ban it (only works if the fake files are intended to be downloaded and not just an attack on the network structure) or implement something like credence for Phex: Credence: Thwarting P2P Pollution
I took a look at the page you sent. Looks like and interesting program, but how well is it supported? Does it have a good user base so it's working as expected? Also I think they gathered the limewire's source code and modify it, so if we want to integrate into phex it will be hard.

Quote:
Originally Posted by arne_bab View Post
* See RoadMap info…
Actually I've done that it's just that I didn't see anything about it.

Quote:
Originally Posted by arne_bab View Post
For what do you want to use it?
We want to use it as a gnutella API. Basically for download audio files and do keyword searches.
Reply With Quote
  #5 (permalink)  
Old April 10th, 2010
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

Quote:
Originally Posted by zageyiff View Post
What do you mean by download mesh? I haven't heard about it.
The download mesh is an extension to http used by Gnutella. Basically all downloaders and uploaders exchange the sources they know (just like a completely decentral BitTorrent server).

The headers are X-Alt (IPs+ports of other down- and uploaders) and X-NAlt (non working IPs+ports for preventing spam and getting offline nodes out of the mesh).

As soon as you've seen a download going from 5 sources to 400 sources in half a minute, you know its efficiency

Quote:
I took a look at the page you sent. Looks like and interesting program, but how well is it supported?
Sadly it isn’t supported at all. It was implemented on top of LimeWire, but rejected by the limewire team. so it’s only a proof of concept (it worked quite well — at least for the tests I did back then).

This had the potential of stopping spam once and for all, so I thought it might interest you.

Quote:
Actually I've done that it's just that I didn't see anything about it.
I meant my info I wrote above — sorry for not being clearer.

Quote:
We want to use it as a gnutella API. Basically for download audio files and do keyword searches.
That’s great! http://groups.yahoo.com/group/the_gdf/message/23708

If I can do anything to help, please tell me. I’m no Java coder, but I have some background knowledge from supporting Phex users in here and discussing in the_gdf (the Gnutella development forum).

The current discussion in the GDF might also be interesting to you: More intelligent searches via a GGEP extension: "a AND (b OR c)"

the_gdf : The Gnutella Developer Forum (GDF)
Yahoo! Groups
__________________

-> 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
Reply

Thread Tools
Display Modes

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:16 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.