Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
giFT gnutella plugin is claiming that it's too old?[SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
L3mP
n00b
n00b


Joined: 24 Jan 2004
Posts: 70

PostPosted: Wed Dec 29, 2004 1:52 pm    Post subject: giFT gnutella plugin is claiming that it's too old?[SOLVED] Reply with quote

The output from giftd -v:
Code:

[14:32:04] Plugin Gnutella (0.0.9) successfully loaded and initialized
[14:32:04] Gnutella: gt_gnutella.c:352(gnutella_start): Starting Gnutella plugin
[14:32:04] *** GIFT-ERROR:
Your version of the Gnutella plugin is more than 1 year
old.  In order to protect the Gnutella network from
older programs, this plugin has deactivated itself.

Please update the plugin with a new version from
http://www.giftproject.org/, or stop running the
plugin by runnning gift-setup or removing "Gnutella"
from the /main/plugins line in $HOME/.giFT/giftd.conf
manually.

Thanks, and sorry for the inconvenience.


What is this all about and how do I fix it?
I've tried to find a new version as gift suggests in the output.. but can't seem to find one either in portage nor on their website.. help

thx

-edit- my version is 0.0.9.2
_________________
http://bailout.dk - were.. ehm.. dreams come true


Last edited by L3mP on Wed Dec 29, 2004 3:40 pm; edited 1 time in total
Back to top
View user's profile Send private message
L3mP
n00b
n00b


Joined: 24 Jan 2004
Posts: 70

PostPosted: Wed Dec 29, 2004 3:29 pm    Post subject: Reply with quote

is there really no one who has experienced this?
_________________
http://bailout.dk - were.. ehm.. dreams come true
Back to top
View user's profile Send private message
L3mP
n00b
n00b


Joined: 24 Jan 2004
Posts: 70

PostPosted: Wed Dec 29, 2004 3:43 pm    Post subject: Reply with quote

alright.. figured it out my self.. the plugin had a nasty rutine to check the start-time of the plugin so I simply removed it in the source recompiled it and installed the new libGnutella again.. now the baby spins

an ugly hack.. but that's what open source is about sometimes
_________________
http://bailout.dk - were.. ehm.. dreams come true
Back to top
View user's profile Send private message
bertaboy
l33t
l33t


Joined: 05 Nov 2004
Posts: 604

PostPosted: Wed Dec 29, 2004 5:46 pm    Post subject: Reply with quote

Sorry, but since I'm not that great of a hacker, what did you do to do this? All I can think of is to extract gift-gnutella*.tar.bz2, look through some of the source code, comment out/remove the said lines, then tar & bunzip the files back into the package, but in keeping with portage's normal way of emerging programs, how would I get it to extract the files to the right folder?

nm, found out how. emerge gift-gnutella, then when it start the ./configure script, control+z, edit the src/gt_gnutella.c file, then fg, and then you can safely continue using emerge
Back to top
View user's profile Send private message
Caustiq
n00b
n00b


Joined: 29 Aug 2004
Posts: 57

PostPosted: Thu Dec 30, 2004 7:55 am    Post subject: Reply with quote

I encountered this problem as well. The above methods worked, but feel dirty.

Any idea why this happened in the first place?
Back to top
View user's profile Send private message
glitch13
Apprentice
Apprentice


Joined: 02 Oct 2002
Posts: 213
Location: New Orleans, LA

PostPosted: Thu Dec 30, 2004 5:55 pm    Post subject: Reply with quote

Apparently the gnutella plugin had some timer code in it so that old clients wouldn't connect to the network thus crapping it up. Unfortunately, that haven't updated the plugin in the span of time the "timeout" occurs, so it's just defunct right now.

Gift's forums have quite a few posts with people complaining about it http://sourceforge.net/forum/forum.php?forum_id=108385. I would hope they're gonna remedy it soon.
Back to top
View user's profile Send private message
^jimmy^
n00b
n00b


Joined: 11 Jul 2004
Posts: 51
Location: Erlangen, Germany

PostPosted: Thu Dec 30, 2004 9:39 pm    Post subject: Complete path of src/gt_gnutella.c Reply with quote

bertaboy wrote:
Sorry, but since I'm not that great of a hacker, what did you do to do this? All I can think of is to extract gift-gnutella*.tar.bz2, look through some of the source code, comment out/remove the said lines, then tar & bunzip the files back into the package, but in keeping with portage's normal way of emerging programs, how would I get it to extract the files to the right folder?

nm, found out how. emerge gift-gnutella, then when it start the ./configure script, control+z, edit the src/gt_gnutella.c file, then fg, and then you can safely continue using emerge


I found out how to do it and it works fine now.

Just for a very new gentoo users:
1) emerge gift-gnutella, then control+z when the ./configure script starts
2) edit
/usr/tmp/portage/gift-gnutella-0.0.9.2/work/gift-gnutella-0.0.9.2/src/gt_gnutella.c
Just search for 365 and change it to 700 or something. More is not needed since a new version will be avliable soon.
3) just type fg in the console where you suspended with control+z. It will continue with the ./configure, but now the check for the date will be modified to the output binary.

I hope I could help someone!

Cheers!
Back to top
View user's profile Send private message
amoebapr
n00b
n00b


Joined: 25 Nov 2003
Posts: 11
Location: Minneapolis, MN

PostPosted: Fri Dec 31, 2004 6:28 am    Post subject: Reply with quote

Thank you very much! I never thought of halting the emerge process! Genius!


Regards,

Jordan.
Back to top
View user's profile Send private message
xbmodder
Guru
Guru


Joined: 25 Feb 2004
Posts: 404

PostPosted: Fri Dec 31, 2004 9:17 am    Post subject: Reply with quote

genuis i say!
_________________
http://xbmodder.us/
Back to top
View user's profile Send private message
Pluvius
Apprentice
Apprentice


Joined: 15 Oct 2002
Posts: 167
Location: Phoenix, Arizona

PostPosted: Sun Jan 02, 2005 7:15 am    Post subject: Reply with quote

Mine is still not running. I even tried the shell script to update the gewebcache file of Gnutella hosts. Problem is that I am trying to set giFT up on the box as a server. When I update the hosts, I see the new node file but when I start giFT it seems to wipe them out. Still no joy for Gnutella servers.

Pluvius
Back to top
View user's profile Send private message
nahpets
Veteran
Veteran


Joined: 05 Oct 2003
Posts: 1178
Location: Montreal, Canada

PostPosted: Tue Jan 04, 2005 5:57 pm    Post subject: Reply with quote

thanks for saving me a few hours.
Back to top
View user's profile Send private message
kosh_narek
n00b
n00b


Joined: 26 Jun 2004
Posts: 10
Location: Brasil

PostPosted: Tue Jan 04, 2005 9:24 pm    Post subject: Reply with quote

Thank you very much!
Back to top
View user's profile Send private message
riksta
n00b
n00b


Joined: 16 Apr 2004
Posts: 73
Location: Manchester, UK

PostPosted: Fri Jan 07, 2005 5:15 am    Post subject: Reply with quote

I have to say well done on this one, for the simple fact that I have never thought about doing a CTRL+Z to stop an emerge and edit a file in the /var/tmp/portage directory

I am sure this will come in extremely handy for me plenty of times in the future, so thank you for the inspiration

Rick
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum