Gnutella Forums  

Go Back   Gnutella Forums > Gnutella News and Gnutelliums Forums > General Gnutella Development Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Gnutella Development Discussion For general discussion about Gnutella development.


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 13th, 2005
Disciple
 
Join Date: November 23rd, 2005
Location: Beijing
Posts: 17
buptkang is flying high
Default ask a question

In the GwebCache , if a client request the other serveral cache,this GwebCache will respond with the url, but when client want to request host , it will get the remote node ip and port ,why ?can't we implment the other cache with the ip and port?

i know most node have the dynamic ip , like me , so we must bind the url to ip , and use this ip as our sign.but why does implement the other host with the url ??
Reply With Quote
  #2 (permalink)  
Old December 13th, 2005
flame-retardant
 
Join Date: November 22nd, 2005
Posts: 196
Hyper-kun is a great assister to others; your light through the dark tunnel
Default

Sorry, but I don't understand you very well this time. Could you maybe rephrase your question?

Do you wonder why GWebCaches use an URL instead of a plain IP address and a port number? In a nutshell, it's more flexible. The detailed reasons are:
  • A GWebCache like any other web server might have multiple
    IP addresses for load-balancing.
  • The GWebCache can be moved to any other host, only the DNS entry has to be updated.
  • The GWebCache does not have use a completely static IP address. That's almost the same reason as before but think of cable modem or DSL users who have a semi-static IP address. The previous point is rather about migrating to a completely different server which may happen once a while.
  • The GWebCache can be completely disabled by removing the DNS entry for example if there's too much traffic or simply no further interest. If you only know a host by its IP address you cannot figure out whether it's really offline or just not responsive and receiver - possibly even a DDoS victim - gets all the traffic and cannot stop it unless the ISP filters at the peering point. This is the most important reason!
  • An URL is a little harder to block by an ISP than a hostname albeit this argument might be a little moot.

However, instead of a GWebCache you can also use a UDP Host Cache (UHC) for bootstrapping. One disadvantage is that it works only over UDP. Once you've have implemented GGEP - which you need anyway - it's fairly simple and straight forward to use. GWebCaches are simple too but still more complex due to all the HTTP handling which is not that trivial to get right. For TCP you can also use any well-known (or possibly dedicated) Gnutella peer and check its X-Try/X-Try-Ultrapeers headers.

Anyway, if this doesn't answer your question, please, ask again but reword it.

Last edited by Hyper-kun; December 13th, 2005 at 02:39 AM.
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gwebcache ZoliveR NapShare (Cross-platform) 4 March 7th, 2007 07:14 PM
gwebcache Unregistered XoloX Beta program 0 November 19th, 2002 12:30 PM
gwebcache Unregistered Gnucleus (Windows) 1 September 28th, 2002 05:14 PM
using gwebcache? MikeMc General Mac Support 1 September 22nd, 2002 08:45 AM
GWebCache support Unregistered New Feature Requests 0 June 29th, 2002 06:38 PM


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