Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   General Discussion (https://www.gnutellaforums.com/general-discussion/)
-   -   private network?? (https://www.gnutellaforums.com/general-discussion/38117-private-network.html)

cris23titi2005 May 25th, 2005 03:10 PM

private network??
 
hi! im reading the guide to make a private network, but i dont know if only i need to modify the cfg files or the source code too.

i dont need to connect to gnutella general network, because i need to use only my own network by default.

i read: http://cvs.sourceforge.net/viewcvs.p...To.txt?rev=1.3

but im new in phex and im confused

When i started the phex aplication, by default I can move the default option: gnutella network? and put only my own private network?

thanks by your attention!

arne_bab May 30th, 2005 05:36 AM

Hi,

You have to modify the source-code (more exactly: the included cfg-settings) , to make your network the default-network.

You can set your own phex to use your private-network automatically at startup, and if you have a group of experienced Users this is all you need, because the changes in src/phex/common/cfg.java mostly change this, but before the first startup.

But if you have less-experienced users in your group, they might enter the general gnutella network instead (or someone might mistype the network name...).

For those you need to modify the source.

To make the first connection even easier, go into src/phex/resources/phex.hosts and delete all entries. Then add your static hosts in there.
(This isn't in the general guide, because it breaks down general-gnutella-network accessibility to some extent. To make it almost impossible for normal users to enter the GGN, juist delete all contents of src/phex/resources/gwebcache.cfg , too).

This should get your peers connected to your private network quickly.

cris23titi2005 May 31st, 2005 01:51 PM

thanks!
 
i created my own private network, but now my problem is that i install the aplication on two pc in my LAN.

And they see each other, but i cant download any file.

I know that i have files to share in both pcs, but the aplication dont see i and download..

gregor told my that i need will to see the incomming variable, but i modify many parts of the source code (all where i see somethig about firewall). But dont works...

i will never can share files with phex betwen pcs in my LAN?

abouihsaan September 20th, 2005 05:53 AM

I have the same problem? I can't download file from one pc to an other..

I just edited the host file and named the private network, distrubuted the jar over 3 pc's in a lan. I conneted to pc's two 1 pc. And tryed to search, not results, but I can browse. But can't download : (

arne_bab September 20th, 2005 06:07 AM

Normally it should work, but phex has yet some to-resolve problems with searching, when there is only one UP in between the two computers.

But that downloading doesn't work bothers me. Which Version of Phex do you use?

abouihsaan September 20th, 2005 06:17 AM

aah k, maybe we will contribute some, because we are trying to make a network for our community..

I have downloaded and edited phex version 2.6.4.89

EDIT: I tryed to just connect the 3 pc's witout making the middle one UP. Its doesn't work in that situations eather. Tomorrow I will try to make two UP's connect to each other and on each end a node, maybe that will work

arne_bab September 21st, 2005 03:17 AM

You could try for once to make four UPs, to check who can find whoose files.

If you "stay offline" you can simply initiate only those connections you want and phex won't try to get other connections (could save you some stress while experimenting :) ).

Jargon October 21st, 2005 06:17 AM

hello Arne, we are building a secure, multi-service network based on Hamachi, and since Phex is a cross-platform serverless client (and our peers have both win and nix OSes), we would like to run Phex within our network *only* as our P2P platform.

a few questions:

is it possible to use private IPs like the Hamachi ones? e.g. 5.6.188.xxx etc - it doesnt seem to like them...

how should we modify the code to enforce the connection only to our trusted peers IPs?

thank you and keep up with the good work :cool:

Jargon

arne_bab October 23rd, 2005 05:13 PM

Hi Jargon,

First I have to say: GregorK is the lead programmer of Phex.

I don't know about the private IPs (that goes to deep into the code for me), but I think he'll drop by not to far in the future.

To block all but your private network, you can edit the "hostilehosts.cfg" in src.phex.resources, or you can follow the steps laid out here:

http://phex.org/content/view/47/47/

This way establishes a network name, which acts as password (but can be sniffed if someone gets at a packet).

Gregor also had a way to whitelist hosts, iirc, which would be the more secure way to do it.
Best for your users might be to pair it, so only youur deployed phexes can enter the network, and no multinetworkclient or similar can expose your files to the outside.

Jargon October 24th, 2005 02:12 AM

great, thanks!

i went through the code and the tutorial and found some useful clues ;) as far as question #2 goes...

if GregorK could shed some light on the private IPs issue, that would greatly help us testing the securely-tunneled Phex we are dreaming about...

as by now, what happens is:

- we connect to our test Hamachi network

- we see each other on Hamachi (ping, browse, ssh, ftp, jabber all work)

- we open Phex and connect to our own gnutella network

if we try to use our private Hamachi IPs to connect to each other, the connection is refused, while it works if we use the external public IPs

notes:

of course, these are not firewall issues, we triple-checked :D

sniffing the traffic during hanshake with the hamachi built in sniffer didnt help much :rolleyes:

:confused:


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