Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gift tips
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Tue Mar 09, 2004 8:36 pm    Post subject: Reply with quote

just by chance I guess. I don't know of any official place for good gwebcaches. There is however a semi-official OpenFT nodes file at http://jasta.gotlinux.org/gift/nodes.

Did the new gwebcaches file work then?
_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
totoffe
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 86
Location: Orange County, CA

PostPosted: Thu Mar 11, 2004 12:49 pm    Post subject: Reply with quote

Still doesn't want to connect to gnutella or OpenFT...
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Mon Mar 15, 2004 11:40 pm    Post subject: Reply with quote

where shoud the gwebcaches file be? I have it at /usr/share/giFT/Gnutella/gwebcaches and when I type giftd -v it eventually says [01:31:15] *** GIFT-ERROR: gwebcaches file doesn't exist? Where do I need to put the file?
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Tue Mar 16, 2004 4:54 am    Post subject: Reply with quote

It needs to be at ~/.giFT/Gnutella/gwebcaches

If the Gnutella subdirectory doesn't exist, create it.
_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Tue Mar 16, 2004 5:06 am    Post subject: Reply with quote

it was in /usr/share/giFT/Gnutella/gwebcaches and I also put it in /usr/share/.giFT/Gnutella/gwebcaches and I still get the same error
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Tue Mar 16, 2004 5:16 am    Post subject: Reply with quote

Quote:
it was in /usr/share/giFT/Gnutella/gwebcaches and I also put it in /usr/share/.giFT/Gnutella/gwebcaches and I still get the same error


The ~ character is an abbreviation for your home directory, so it should be at /home/<yourname>/.giFT/Gnutella/gwebcaches.
_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
BWoso
l33t
l33t


Joined: 31 Dec 2003
Posts: 920
Location: Cleveland Ohio, USA

PostPosted: Tue Mar 16, 2004 6:07 am    Post subject: Reply with quote

Amazing, if it wasn't for my ingnorance I would have had this working weeks ago. Thanks for your help.
_________________
I think that the forums are the greatest thing about Gentoo, thanks to everyone that posts on them!

The best way to cheer yourself up is to try to cheer somebody else up.
-Mark Twain-
Back to top
View user's profile Send private message
celloandy
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2003
Posts: 113
Location: Washington, DC

PostPosted: Tue Mar 16, 2004 6:14 am    Post subject: Reply with quote

Not sure if this is the place to ask, but just a quick question about Fasttrack. I know that a couple of months ago, after the Kazaa people shut down Kazaa lite, they changed the FT protocols keep K-lite people from being able to use the network. The result is that now, you can barely find anything using K-lite, since you can't search the files of the vast majority of Kazaa users. Does anyone know if gift-FT has been updated to the new protocol to avoid this problem. I can't find it anywhere on the gift-FT site.

Andrew
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Tue Mar 16, 2004 2:25 pm    Post subject: Reply with quote

I am behind a firewall, i was wondering does anyone know which ports i shoulld forward to my PC?

My firewall needs to know what incoming and outgoing ports to allow. Does anyone know what ports i should open? ports for OpenFT, Gnutella, and FastTrack

Thank you.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Tue Mar 16, 2004 3:25 pm    Post subject: Reply with quote

Quote:
Does anyone know if gift-FT has been updated to the new protocol to avoid this problem.


Yes, newer versions of giFT-Fasttrack support the new encryption
_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Tue Mar 16, 2004 3:28 pm    Post subject: Reply with quote

Quote:
I am behind a firewall, i was wondering does anyone know which ports i shoulld forward to my PC?


the Gnutella and FasttTrack ports are well-documented, a web search will tell you what you need, tho' IIRC 6346 is one of them. OpenFT ports are different for every user and by default are selected randomly when you run giFT-setup. Check in ~/.giFT/OpenFT/OpenFT.conf for the lines
Code:
port=xxxx
http_port=xxxx

_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Tue Mar 16, 2004 4:19 pm    Post subject: Reply with quote

cram wrote:
Quote:
I am behind a firewall, i was wondering does anyone know which ports i shoulld forward to my PC?


the Gnutella and FasttTrack ports are well-documented, a web search will tell you what you need, tho' IIRC 6346 is one of them. OpenFT ports are different for every user and by default are selected randomly when you run giFT-setup. Check in ~/.giFT/OpenFT/OpenFT.conf for the lines
Code:
port=xxxx
http_port=xxxx


Are these ports incoming and outgoing ports?

I can't seem to connect even though i forwarded the ports.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
cram
Guru
Guru


Joined: 17 Nov 2002
Posts: 312
Location: Saskatoon, Canada

PostPosted: Tue Mar 16, 2004 5:47 pm    Post subject: Reply with quote

Quote:
Are these ports incoming and outgoing ports?

That's all you should need for the ports.

Ensure that you have a nodes file in ~/giFT/OpenFT, and maybe try grabbing the nodes from the giFT site (link is in my post at the top of this page).

If that doesn't work, post some of your giftd.log file.
_________________
aaarggghhhh.
Good point Chewie.
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Tue Mar 16, 2004 8:38 pm    Post subject: Reply with quote

I've opened up all the ports that were mensioned in the config file for OpenFT (lets get one plugin working first :D). I've opened them in both directions, from my server to the net and from the local network to the server.

I've copied the nodes from the post previously ^^
into ~/.giFT/OpenFT/nodes
I still get errors.

It seems that giFT can't connect to the other servers. I keep getting timeout. here's the log:

Code:

[20:32:13] giftd 0.11.6 (Mar 11 2004 20:16:22) started
[20:32:13] OpenFT: ft_openft.c:256(openft_start): Booya! OpenFT in the house!
[20:32:13] *** GIFT-WARNING: OpenFT: guessing max_active=600
[20:32:13] *** GIFT-ERROR: OpenFT: setrlimit(4096): Invalid argument
[20:32:13] OpenFT: ft_node_cache.c:101(read_cache): opening nodes cache from /home/mma/.giFT/OpenFT/nodes...
[20:32:13] OpenFT: ft_node_cache.c:126(read_cache): successfully read 31 nodes
[20:32:13] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 63.64.215.43:2002
[20:32:13] OpenFT: ft_conn.c:509(start_connection): 63.64.215.43:2002: costs 4
[20:32:13] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 67.172.98.77:1215
[20:32:13] OpenFT: ft_conn.c:509(start_connection): 67.172.98.77:1215: costs 4
[20:32:13] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 82.69.44.175:1699
[20:32:13] OpenFT: ft_conn.c:509(start_connection): 82.69.44.175:1699: costs 4
[20:32:13] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 217.255.124.232:1223
[20:32:13] OpenFT: ft_conn.c:509(start_connection): 217.255.124.232:1223: costs 4
[20:32:13] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 68.77.119.231:2120
[20:32:13] OpenFT: ft_conn.c:509(start_connection): 68.77.119.231:2120: costs 4
[20:32:13] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 24.224.158.227:1256


.......
.......


[20:32:13] OpenFT: ft_conn.c:629(ft_conn_initial): began 23 connections (remaining weight: 0)
[20:32:13] *** GIFT-WARNING: updating index...
[20:32:13] giFT: giftd.c:713(init_transfer): recovered 0 state transfers
[20:32:13] giFT: share_cache.c:905(share_write_index): entered
[20:32:13] giFT: share_cache.c:612(share_build_index): entered
[20:32:13] giFT: share_cache.c:943(share_write_index): descending root: /home/mma/.giFT/completed...
[20:32:13] giFT: share_cache.c:521(path_traverse): descending /home/mma/.giFT/completed...
[20:32:13] giFT: share_cache.c:1148(share_read_index): entered
[20:32:13] giFT: share_cache.c:612(share_build_index): entered
[20:32:13] OpenFT: ft_share.c:285(openft_share_sync): beginning share sync...
[20:32:13] OpenFT: ft_share.c:285(openft_share_sync): finishing share sync...
[20:32:13] giFT: share_cache.c:1162(share_read_index): total shares: 0 (0.00MB)
[20:32:13] *** GIFT-ERROR: poll: Interrupted system call
[20:33:09] if_event.c:472(if_event_attach): 192.168.1.2
[20:33:09] giFT: daemon.c:507(dcmd_share): entered
[20:33:09] giFT: daemon.c:507(dcmd_share): entered
[20:33:09] *** GIFT-WARNING: updating index...
[20:33:09] giFT: share_cache.c:905(share_write_index): entered
[20:33:09] giFT: share_cache.c:612(share_build_index): entered
[20:33:09] giFT: share_cache.c:943(share_write_index): descending root: /home/mma/.giFT/completed...
[20:33:09] giFT: share_cache.c:521(path_traverse): descending /home/mma/.giFT/completed...
[20:33:09] giFT: share_cache.c:1148(share_read_index): entered
[20:33:09] giFT: share_cache.c:612(share_build_index): entered
[20:33:09] OpenFT: ft_share.c:285(openft_share_sync): beginning share sync...
[20:33:09] OpenFT: ft_share.c:285(openft_share_sync): finishing share sync...
[20:33:09] giFT: share_cache.c:1162(share_read_index): total shares: 0 (0.00MB)
[20:33:09] *** GIFT-ERROR: poll: Interrupted system call
[20:33:09] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[20:33:12] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[20:33:13] OpenFT: 63.64.215.43:2002 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 67.172.98.77:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 82.69.44.175:1699 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 217.255.124.232:1223 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 68.77.119.231:2120 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 24.224.158.227:1256 (INDEX) -> DISCO: Connection timed out
[20:33:13] OpenFT: 81.180.68.23:1454 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 66.67.200.158:1477 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 216.99.99.151:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 24.0.208.191:1965 (INDEX) -> DISCO: Connection timed out
[20:33:13] OpenFT: 200.106.171.4:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 68.46.240.224:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 24.8.226.223:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 65.121.142.55:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 24.20.40.178:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 200.66.172.57:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 24.166.17.91:1284 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 206.107.157.143:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 172.158.71.168:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 213.148.229.43:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 67.202.9.252:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 62.163.223.51:1215 (SEARCH) -> DISCO: Connection timed out
[20:33:13] OpenFT: 151.205.108.96:1860 (INDEX) -> DISCO: Connection timed out
[20:33:19] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[20:33:26] if_event.c:478(if_event_detach): 192.168.1.2
[20:33:28] *** GIFT-ERROR: poll: Interrupted system call
[20:33:28] OpenFT: ft_openft.c:301(openft_destroy): flushed 30 nodes



Has anyone got this error? please help.

Thank you
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Wed Mar 17, 2004 6:16 pm    Post subject: Reply with quote

the newest giFTui is great, multple searches and such, daemon control (starts on program startup, closes on exit, or asks if you want it to be killed)

:o
Back to top
View user's profile Send private message
squall14716
n00b
n00b


Joined: 30 Mar 2004
Posts: 49

PostPosted: Thu Apr 29, 2004 1:54 am    Post subject: Reply with quote

tactless wrote:
Here's what I do to run giftd:
First, create a user called giftd, and set gift up for him (gift-setup and all). Set the permissions on his download directories so you can access them (preferably - for a certain group).
Then I've created the following 3 scripts:

~giftd/bin/start-giftd: (chmod a+x)
Code:
#!/bin/sh

RETVAL=0

if [ -z `pidof giftd` ]; then
        giftd -d 2> ~/.giftd.pid;
else
        false;
fi


~giftd/bin/stop-giftd: (chmod a+x)
Code:
#!/bin/sh

if [ -e ~/.giftd.pid ]; then
        PID=`sed 's/.*giFT: //' ~/.giftd.pid`;
        kill $PID;
        if [ $? -eq 0 ]; then
                rm ~/.giftd.pid
        fi
elif [ -n `pidof giftd` ]; then
        kill `pidof giftd`;
else
        false;
fi


And finally:
/etc/init.d/giftd: (chmod a+x)
Code:
#!/sbin/runscript

depend() {
        need net
}

start() {
        ebegin "Starting giftd"
        su - giftd -c "~/bin/start-giftd"
        eend $?
}

stop() {
        ebegin "Stopping giftd"
        su - giftd -c "~/bin/stop-giftd"
        eend $?
}


Then you might want to:
Code:
rc-update add giftd default
/etc/init.d/giftd start


"start-giftd: line 5: [: 12339: binary operator expected"
Back to top
View user's profile Send private message
ereptor
n00b
n00b


Joined: 17 Apr 2004
Posts: 34

PostPosted: Sat May 01, 2004 2:26 pm    Post subject: segmentation fault Reply with quote

hi i'm using giFTcurs only on the FastTrack network right now and the demon has been unexpectedly dying

so i ran giftd -v iinstead of gifd -d and it runs fine until i try to do something in giFTcurs...
when i do it exits with a segmentation faule...any idea's anyone?

[13:25:59] FastTrack: fst_search.c:368(fst_searchlist_process_reply): received query end for search not in list, fst_id = 3
Segmentation fault
_________________
never regret the things you do, only the things you don't
Back to top
View user's profile Send private message
CHAOSACES
n00b
n00b


Joined: 12 Jan 2004
Posts: 66

PostPosted: Wed May 05, 2004 2:58 pm    Post subject: Reply with quote

I have a little script that launches giftd as a daemon, fires up giFTcurs, and then kills giftd when giFTcurs closes.
Quote:

#! /bin/bash
giftd -d && \
giFTcurs && \
killall giftd

If you save this as 'gift' in your /usr/local/bin directory, all you have to do is launch a terminal emulator (or run from the terminal) and type 'gift'. I know, this isn't much of a script, but it gets the job done. And the one I use is a bit more envolved because I have gift setup to require two volumes that I normally don't have mounted, but I've omitted all of my conditional stuff because they only really serve my own purpose.
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Wed May 05, 2004 5:07 pm    Post subject: Reply with quote

giFTui has control for giftd

i just have a main server running giftd and all PC's on my lan use giftui to connect to that :-)

it works....
Back to top
View user's profile Send private message
thisboyiscrazy
n00b
n00b


Joined: 06 Feb 2004
Posts: 9

PostPosted: Wed May 12, 2004 3:54 am    Post subject: Xinet Reply with quote

I was wondering if someone could help me here is what I am looking for.

a system gift deamon that many ui's can connect to, but does not run all the time / only gets started when someone needs it.

is this possible with giftd and maybe xinetd?
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Wed May 12, 2004 10:39 am    Post subject: Reply with quote

viperlin wrote:
giFTui has control for giftd

i just have a main server running giftd and all PC's on my lan use giftui to connect to that :-)

it works....


If someone is download does the download gets saved on the client PC or is it at the server?

Becuase i think i remember that you can close the client and the download will continue.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Wed May 12, 2004 4:05 pm    Post subject: Reply with quote

all downloads are going to /mnt/gift on my server, which is shared over NFS for my gentoo PC's and samba for my windows PC's

full read-write permission, it's just me my sis and my dad using that, i feel it's safe. the samba and nfs is purely LAN.
Back to top
View user's profile Send private message
thisboyiscrazy
n00b
n00b


Joined: 06 Feb 2004
Posts: 9

PostPosted: Wed May 12, 2004 4:23 pm    Post subject: Reply with quote

yeah thats exactly what I would like, but more or less have giftd start on demand, the shut down when no one is using it.
Back to top
View user's profile Send private message
viperlin
Veteran
Veteran


Joined: 15 Apr 2003
Posts: 1319
Location: UK

PostPosted: Wed May 12, 2004 4:45 pm    Post subject: Reply with quote

isn't it xinetd that detects if a request is made to a port and runs the server when needed? i've not played with it so i cant help much
Back to top
View user's profile Send private message
MooktaKiNG
Guru
Guru


Joined: 11 Nov 2002
Posts: 326
Location: London, UK

PostPosted: Wed May 12, 2004 5:51 pm    Post subject: Reply with quote

viperlin wrote:
isn't it xinetd that detects if a request is made to a port and runs the server when needed? i've not played with it so i cant help much


yeh it is. But will gift work that xinetd? not sure.
Also doesn't it require a lot of time to connect. i don't think it would be very good in that sense.
_________________
http://www.mooktakim.com
Athlon XP 2001, Giga-Byte GA-7VRXP MB, 640Mb DDR RAM 333MHz, MSI Geforce 4800SE 128Mb DDR, 40x12x48 Liteon CDRW drive, Flower Cooler, ADSL Router
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3, 4, 5  Next
Page 2 of 5

 
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