View previous topic :: View next topic |
Author |
Message |
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Tue Mar 09, 2004 8:36 pm Post subject: |
|
|
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 |
|
|
totoffe Tux's lil' helper
Joined: 25 Sep 2003 Posts: 86 Location: Orange County, CA
|
Posted: Thu Mar 11, 2004 12:49 pm Post subject: |
|
|
Still doesn't want to connect to gnutella or OpenFT... |
|
Back to top |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Mon Mar 15, 2004 11:40 pm Post subject: |
|
|
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 |
|
|
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Tue Mar 16, 2004 4:54 am Post subject: |
|
|
It needs to be at ~/.giFT/Gnutella/gwebcaches
If the Gnutella subdirectory doesn't exist, create it. _________________ aaarggghhhh.
Good point Chewie. |
|
Back to top |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Tue Mar 16, 2004 5:06 am Post subject: |
|
|
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 |
|
|
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Tue Mar 16, 2004 5:16 am Post subject: |
|
|
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 |
|
|
BWoso l33t
Joined: 31 Dec 2003 Posts: 920 Location: Cleveland Ohio, USA
|
Posted: Tue Mar 16, 2004 6:07 am Post subject: |
|
|
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 |
|
|
celloandy Tux's lil' helper
Joined: 29 Jan 2003 Posts: 113 Location: Washington, DC
|
Posted: Tue Mar 16, 2004 6:14 am Post subject: |
|
|
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 |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Tue Mar 16, 2004 2:25 pm Post subject: |
|
|
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 |
|
|
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Tue Mar 16, 2004 3:25 pm Post subject: |
|
|
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 |
|
|
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Tue Mar 16, 2004 3:28 pm Post subject: |
|
|
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 |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Tue Mar 16, 2004 4:19 pm Post subject: |
|
|
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 |
|
|
cram Guru
Joined: 17 Nov 2002 Posts: 312 Location: Saskatoon, Canada
|
Posted: Tue Mar 16, 2004 5:47 pm Post subject: |
|
|
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 |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Tue Mar 16, 2004 8:38 pm Post subject: |
|
|
I've opened up all the ports that were mensioned in the config file for OpenFT (lets get one plugin working first ). 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 |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Wed Mar 17, 2004 6:16 pm Post subject: |
|
|
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)
|
|
Back to top |
|
|
squall14716 n00b
Joined: 30 Mar 2004 Posts: 49
|
Posted: Thu Apr 29, 2004 1:54 am Post subject: |
|
|
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 |
|
|
ereptor n00b
Joined: 17 Apr 2004 Posts: 34
|
Posted: Sat May 01, 2004 2:26 pm Post subject: segmentation fault |
|
|
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 |
|
|
CHAOSACES n00b
Joined: 12 Jan 2004 Posts: 66
|
Posted: Wed May 05, 2004 2:58 pm Post subject: |
|
|
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 |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Wed May 05, 2004 5:07 pm Post subject: |
|
|
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 |
|
|
thisboyiscrazy n00b
Joined: 06 Feb 2004 Posts: 9
|
Posted: Wed May 12, 2004 3:54 am Post subject: Xinet |
|
|
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 |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Wed May 12, 2004 10:39 am Post subject: |
|
|
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 |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Wed May 12, 2004 4:05 pm Post subject: |
|
|
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 |
|
|
thisboyiscrazy n00b
Joined: 06 Feb 2004 Posts: 9
|
Posted: Wed May 12, 2004 4:23 pm Post subject: |
|
|
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 |
|
|
viperlin Veteran
Joined: 15 Apr 2003 Posts: 1319 Location: UK
|
Posted: Wed May 12, 2004 4:45 pm Post subject: |
|
|
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 |
|
|
MooktaKiNG Guru
Joined: 11 Nov 2002 Posts: 326 Location: London, UK
|
Posted: Wed May 12, 2004 5:51 pm Post subject: |
|
|
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 |
|
|
|