Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Development Open Discussion (https://www.gnutellaforums.com/development-open-discussion/)
-   -   Compiling Problem (https://www.gnutellaforums.com/development-open-discussion/85756-compiling-problem.html)

Svallen November 27th, 2008 01:48 AM

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.

GregorK November 27th, 2008 03:13 AM

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.

Svallen November 27th, 2008 04:12 AM

Any plans for fighting spam?

Is there any way to tell if you hit a malicious cluster of nodes?

GregorK November 27th, 2008 08:33 AM

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.

arne_bab November 27th, 2008 10:14 AM

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.

PhexAveiro February 20th, 2009 01:43 PM

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,

GregorK February 20th, 2009 03:49 PM

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.

PhexAveiro February 25th, 2009 12:49 AM

JDK helped. Thank you.


All times are GMT -7. The time now is 09:01 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.