Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   Howto use Phex for LAN file sharing? (https://www.gnutellaforums.com/general-discussion/65796-howto-use-phex-lan-file-sharing.html)

Linuxhippy January 8th, 2007 11:45 AM

Howto use Phex for LAN file sharing?
 
Hello,

We would like to use phex in our LAN, so we created a private network and we are able to connect to each other.

We can browser the shared file, however search does not work and if we would like to download something phex only writes: "Ignored Candidate (push route failed)".

Any ideas what could be wrong?

Thank you in advance, lg Clemens

arne_bab January 8th, 2007 03:08 PM

As written in the Mail, the first thing I would test is, if the option "other nearby Phex running" is active.

If enabling that shouldn't solve the problem, we'd be glad, if you'd go bug hunting with us.

Gregor might have some more info.

Best wishes,
Arne

Linuxhippy January 9th, 2007 02:15 AM

1 Attachment(s)
Yes "other nearby Phex running" was active all the time, although I am sure we also tried it with it disabled ;-)

Here is a bit more information about our configuration:

- 2 Machines, 192.168.48.175/177:5555, subnet-mask is 255.255.254.0
- Selected Network named "GasoB", same on both clients.
- Both clients forced to be an Ultrapeer
- Network-Panel-Screenshot attached to this post.
- Connected only "by hand", by going to "Gnutella Net" Tab and entering at 192.168.48.175: "192.168.48.177:5555" and vice versa. So each machine has the others phex instance once in the connection list. However Phex itself is not in "Connected" state (you can go to Menu->Network->Connect), since then it only would try to connect to thousands of others Networks which fails because we use "GasoB".

If I click in the "Gnutella Net"-Tab on "Browse Host" I can see the files the other client shares (this works on both clients), however when searching for stuff I always get zero results. Downloading stays in "Waiting" forever, with the following two messages I've seen till now:
1.) "Ignored Candidate (push route failed)"
2.) Candidate not available

Would it help if I log the communication of both with ethereal/wireshark and post it here?

Thanks a lot for your help, lg Clemens

GregorK January 9th, 2007 03:51 AM

I guess both clients appear to be firewalled, or? Check for a fire in the left corner of the status bar. This could maybe be the problem... though I'm not sure how to quickly solve this yet.

Linuxhippy January 9th, 2007 04:17 AM

Hmm...
 
No, I don't see a fire-symbol anywhere with the "Gnutella Net" Tab open.
Both clients are not firewalled against each other and don't have personal firewalls installed (and also internet-access is available via NAT, but both clients have then the same external IP), but I guess I simply don't understand the problem ;-)

However because we would like to use this private-network for internal sharing we would like to avoid "external" connections as far as possible.

Thanks for helping, lg Clemens

GregorK January 9th, 2007 04:30 AM

Would it be possible for you to use the SVN source version from
https://phex.svn.sourceforge.net/svn...ase-line-3.0.x

and then patching it and compiling it... Just to check if the problem is where I assume it ;)

Linuxhippy January 9th, 2007 04:32 AM

Sure
 
Sure - absolutly - wow!

You've impressed me, thanks for be willing to invest all the time into such a corner-case problem!
Ok, the downloaded stuff builds and runs fine ... so I am ready :-)

lg Clemens

Linuxhippy January 9th, 2007 05:18 AM

Currently I don't have any other peers available to make sure there's really no firefall-symbol there. If I connect to myself (using my own IP) I can see the fire-symbol.

I'll re-check as soon as I get access to a second computer.

GregorK January 9th, 2007 05:23 AM

Oh well... the change is not that big ;)
In file /src/phex/net/Server.java Line 132 replace the Method with the following:

public boolean hasConnectedIncoming()
{
return true;
}

I'm not sure if this is the problem... but its maybe related... if it dosnt help i need to do some extended testing myself.

Linuxhippy January 9th, 2007 05:29 AM

seems good so far (I can't currently only test with a singly client connected to itself), but in the evening I'll test and report more.

For now I'll have to go to university.

Thanks a lot for the help so far, lg Clemens


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