Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/)
-   -   IP address stability (https://www.gnutellaforums.com/gtk-gnutella-linux-unix-mac-osx-windows/60550-ip-address-stability.html)

sciurius August 28th, 2006 06:21 AM

IP address stability
 
Sometimes my session drops out of ultra-peer mode due to an apparent lack of "IP address stability". What precisely does that mean?

Hyper-kun August 28th, 2006 09:20 AM

It means your IP address seems to change more often than every 3 hours. How often does your IP address change?

sciurius August 28th, 2006 11:25 AM

I'm currently at my second IP address in 6 years time, rock stable since may 2005. My link has been up for 76 days now (when I installed the modem)...

Hyper-kun August 28th, 2006 12:02 PM

What version do you use anyway?

sciurius August 28th, 2006 12:40 PM

0.96.1

Hyper-kun August 29th, 2006 08:35 AM

And how often do you see this happening?

In any case, if your IP address is stable and/or you always want to use ultrapeer mode, you can enforce both settings to be certain.

sciurius August 29th, 2006 09:27 AM

I just noticed it happening a couple of times. I can't give hard figures.
OTOH, it really doesn't bother me since, as you also pointed out, I can always enfore ultrapear mode.

dann September 5th, 2006 09:37 AM

i have a similar problem
can dynamic dns help with this
(sorry for bad english :) )

Hyper-kun September 5th, 2006 12:39 PM

What do you mean with "similar" problem? Do you mean you have the same problem? Otherwise, please describe the exact problem you have.

You can configure Gtk-Gnutella so that it announces a hostname (e.g., example.dyndns.invalid) instead of just its IP address. You can also enforce a certain IP address if Gtk-Gnutella guesses a wrong one. You can also enforce ultrapeer mode.

If you have a dynamic IP address but want to enforce it nonetheless, you'll have to update the setting whenever your IP address changes.

Let's say you have a script /etc/ppp/ip-up which is executed by root whenever your IP address changes. You could then use this script to update
the forced IP address:

IP_ADDRESS=$4 # The IP address is passed as second parameter
su - gtkg-user -c "(echo HELO; echo set forced_local_ip $IP_ADDRESS; echo set force_local_ip TRUE; ) | gtk-gnutella --shell"

Note that this requires Gtk-Gnutella from SVN. Otherwise you'd have to use netcat to access the remote shell (which has to be enabled as well).

sciurius October 18th, 2006 06:40 AM

I'm still very curious why gtk-gnutella thinks my IP address changes.

Hyper-kun October 18th, 2006 09:48 AM

It's possible that the timestamp is updated even if the last and the current IP address are identical.

Hyper-kun October 18th, 2006 10:15 AM

Well, I don't see such a bug. Could you check the timestamps with the property browser (Preferences->Debugging; the propery pattern "_ip")? I could imagine that other peers for whatever reason try to convince your node that it has a different IP address than it actually has.

Does your true external IP address show up with "ifconfig -a"? Or do you only see LAN addresses like 192.168.0.1 there?


All times are GMT -7. The time now is 05:03 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2022, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright 2020 Gnutella Forums.
All Rights Reserved.