Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > Help & Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section
(Get ”Phex 3.4.2.163 universal" now)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 1st, 2009
Lord of the Rings's Avatar
ContraBanned
 
Join Date: June 30th, 2004
Location: Middle of the ocean apparently (middle earth)
Posts: 666
Lord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputationLord of the Rings has a distinguished reputation
Default Ultrapeers Phex connects to?

Anybody noticed with the present version of Phex 3.4.2_116, connects almost only with LW ultrapeers, perhaps the odd FrostWire UP? Birdy pointed this out to me. However I recall a similar discussion a little while back.

1. Will this not but increase the chances of connecting to spammer ultrapeers? And some people may connect 'directly' to spammer ultrapeers. Spammers are generally using LW clients or variations of them.

2. Means most search results will come from both LW & FW users, and many less search results from Phex & other gnutella clients. One of the big reasons I like using Phex is it finds & connects to many more non-LW users in both search results & UP. This is fantastic for finding the harder to find files when finding results from non-LW clients.

3. Any chance of getting Phex back to connecting to more non-LW ultrapeers?
Reply With Quote
  #2 (permalink)  
Old April 2nd, 2009
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

We always try to improve the number of connections to Phex nodes, but its sometime very difficult to predict the results. We tried to push Phex UPs in 3.4.2 but apparently this doesn't mean you will find them.
Unfortunately you can't really reliably test the changes before releasing, you can only guess how it might behave once the new version is used in a larger scale. What seems to work pretty good now is that Phex Leafs find Phex UPs with a good uptime.
__________________
Reply With Quote
  #3 (permalink)  
Old April 2nd, 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

Currently we sort all of the Hosts we have. If a new host comes in, the list gets sorted again and the worst host gets dropped.

The sorting works like this:

We first check if the last connection failed or succeeded. If one succeeded and the other failed, the one with the failed connection gets sorted down and ultimately removed from the list if it loses against everyone.

If that check didn't show a difference, we check both hosts, if they are decent Phex' (high uptime). If one is a decent Phex host and the other one isn't, the decent Phex host wins and the other gets sorted down.

After that we compare the daily uptime and if that doesn't bring a difference, the time we last connected sucessfully.

If there is no difference with that we simply compare the GUID (close to random...).

In one sentence: If we have enough decent Phex hosts, Phex always prefers starting a connection to a decent Phex (we'll likely have to adapt this once there are more Phex' in the network, but in the current situation it's optimal). Phex does no preferencing for incoming connections.

-> https://phex.svn.sourceforge.net/svn...omparator.java

I smiled happily when I saw this algorithm for the first time, since it is so simple, yet extremely efficient.
__________________

-> 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 April 2nd, 2009
birdy's Avatar
Airhead
 
Join Date: October 18th, 2004
Location: Perth, Australia
Posts: 889
birdy has a distinguished reputationbirdy has a distinguished reputation
Default

Hi arne_bab,

I was just wondering, because since I installed 3.4.2.116 I haven't seen any connections to a Phex host... it's been mainly LW with the occasional FW & rarely others (I think I saw a GnucDNA a couple of times). Maybe Phex hosts have come & gone while I haven't been watching.

I just thought it was a bit odd, since I always used to connect to Phex UPs first with older versions - even if those UPs were replaced by LW UPs later on.
Reply With Quote
  #5 (permalink)  
Old April 3rd, 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

I think Gregor reduced the usage of the Phex-only GWebCache, so we don't get an initial list of Phexes anymore.
__________________

-> 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
  #6 (permalink)  
Old April 3rd, 2009
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Quote:
Originally Posted by arne_bab View Post
I think Gregor reduced the usage of the Phex-only GWebCache, so we don't get an initial list of Phexes anymore.
This will only influence hosts which can't immediately connect to the network. When your local host cache is good it's unrelated.
__________________
Reply With Quote
  #7 (permalink)  
Old July 17th, 2009
Apprentice
 
Join Date: August 3rd, 2007
Posts: 6
coolg1026 is flying high
Default

Gregor, please update the phex gwebcache to a more recent version of Beacon Cache II.
Right now you're using v. 0.2.2.1 when v. 0.7.3.1 is the latest.

With the newer version, there are many improvements and additions to the settings.
A big thing I noticed: The very outdated version you're using seems to be connecting to remote caches to test, despite being set to 0 urls to be stored. This issue was fixed in a more recent version.

Also, with the new version comes with an updater script, so that browsing to it will check and auto-update your cache. It will only work though if the installer has first been run, and you've kept update.php and keep_for_updates.php (created by the installer) in the same directory as gwc.php.
Reply With Quote
  #8 (permalink)  
Old July 17th, 2009
Apprentice
 
Join Date: August 3rd, 2007
Posts: 6
coolg1026 is flying high
Default

Also, you can force a whitelist for the gwebcache for acceptable user-agents for gnutella, so that you don't have to manually modify beacon cache to do so.
Reply With Quote
  #9 (permalink)  
Old July 17th, 2009
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Last time I tried to update I ran into tons of problems and it took me hours to resolve them. Thats why I switched back. I will try again to update once I have more time available.

I hope its also possible to disable auto-update or any kind of similar functionality.
__________________
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 05:34 PM.


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.