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 Today's Posts

Development Open Discussion Anything else about the Phex development


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old November 27th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Sure thing,

So far I have build it, and let it run for some 20 hours no bugs yet. It took a while to get decent ultrapeers tho, I had to add some manually, but i guess thats the nature of gnutella network.


I disabled compression in the code just to see the protocol, and it works fine.

Im a bit concerned with the number of fake results, it seems everytime i run a search i get back searchstring+".zip" or +".mmp3" all of sizes (74-75 k) totally bogus results

Anyway, the phex is very nice and the code is extremely well written.

For phex alone, Id say we are close to release of new build.
Reply With Quote
  #12 (permalink)  
Old November 27th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Thanks for the report.
Spam is a big problem today in the net and a never ending fight against it.
I have a few changes in queue and after that I think the next release should be ready.
__________________
Reply With Quote
  #13 (permalink)  
Old November 27th, 2008
Disciple
 
Join Date: November 26th, 2008
Posts: 14
Svallen is flying high
Default

Any plans for fighting spam?

Is there any way to tell if you hit a malicious cluster of nodes?
Reply With Quote
  #14 (permalink)  
Old November 27th, 2008
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Thats very difficult. All we do is try to maintain lists of faulty SHA1 keys and bad IPs.
But when there are random SHA1 and dialup IPs used, there is not much we can do.
__________________
Reply With Quote
  #15 (permalink)  
Old November 27th, 2008
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

If you want to have a look at a really powerful way to fight spam, you can check the (discontinued) Credence project.

They used decentral voting and object reputation for shared files and implemented that in a LimeWire, but LimeWire never added their code to the mainline, so the project eventually died.

When I tested it back then, it worked quite well, but it suffered from the problem that it needed to download the initial client ID for signing object votes from a server (to avoid people running a really huge number of instances to kill the algorithm).

They were working on moving from central key generation to decentralized crypto-puzzles short before they stopped updating.

The project is still available at Credence: Thwarting P2P Pollution , if you'd like to give it a look.
__________________

-> 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
  #16 (permalink)  
Old February 20th, 2009
Novicius
 
Join Date: February 20th, 2009
Posts: 2
PhexAveiro is flying high
Question

Hi there,

I just downloaded it with svn. Now, I want to integrate it into Eclipse 3.4. However, there are some problems of compiling.
e.g. import org.apache.commons.httpclient.X cannot be resolved etc.

I followed also(http://www.phex.org/wiki/index.php/B...rom_Subversion):
1) With TortoiseSVN installed, from the context menu in windows -> Checkout, I entered as an URL: https://phex.svn.sourceforge.net/svn...ex/phex/trunk/
2) Copied mvn.exe to the phex folder and executed: maven package.
3) got the error:

Unable to locate the Javac Compiler in:
C:\Program Files\Java\jre1.6.0_07\..\lib\tools.jar
Please ensure you are using JDK 1.4 or above and
not a JRE (the com.sun.tools.javac.Main class is required).
In most cases you can change the location of your Java
installation by setting the JAVA_HOME environment variable.

at org.apache.maven.plugin.AbstractCompilerMojo.execu te(AbstractCompiler
Mojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(Compi lerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.execu teMojo(DefaultPlugi
nManager.java:453)
at org.apache.maven.lifecycle.DefaultLifecycleExecuto r.executeGoals(Defa
ultLifecycleExecutor.java:559)
... 16 more


JAVA_HOME is set to the above C:\Program Files ... path.

Any help ?

Regards,

Last edited by PhexAveiro; February 21st, 2009 at 04:35 AM.
Reply With Quote
  #17 (permalink)  
Old February 20th, 2009
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

First of all you need to have a JDK installed.. JRE is not enough...

Then I recommend you use a Maven 2 plugin for eclipse:
Installation - q4e - Installation of the plugin. - Google Code

Try again if it works better now.
__________________
Reply With Quote
  #18 (permalink)  
Old February 25th, 2009
Novicius
 
Join Date: February 20th, 2009
Posts: 2
PhexAveiro is flying high
Default

JDK helped. Thank you.
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 08:46 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.