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
  #1 (permalink)  
Old June 19th, 2011
Phex Developer
 
Join Date: May 9th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

This is the kind of problem I was talking about when you create our own private network.
The problem is, if both servents have not connected to the public Gnutella network, they still assume they are firewalled. If both servents are firewalled they will determine that they can't download from each other... so they want display search results.

In the class Servent.isFirewalled() try to return false as a fixed value. I'm not sure if this is already all that is needed. Somewhere there should a forum thread or a wiki page I think that explains all steps..
__________________
Reply With Quote
  #2 (permalink)  
Old June 19th, 2011
Disciple
 
Join Date: June 2nd, 2011
Location: Bremen (Germany)
Posts: 17
giorgiob is a great assister to others; your light through the dark tunnel
Default

Thanks for the hint! It works now.

Maybe there should be a more sophisticated way to determine whether a servent can download from another servent. I.e., if two servents are on the same local network, this should be possible even if they are behind a firewall.

The next problem I have is that both servents also get connected to external servents, even though I have used my own hosts file.
Can it be that external servents have my servents in their caches and try to connect to my servents when they are online? This would mean that my servents to do not try to connect to external servents but external servents find them anyway.
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 10:17 AM.


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.