LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-07-2004, 07:49 PM   #1
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Rep: Reputation: 30
giFT OpenFT connection problems.


Using Slackware 9.1 with giFT installed from source with many of the plugins up and running (FastTrack, Gnutella, and Soulseek.)

I've been trying to get OpenFT to connect recently since I've heard so much good about it, but it's giving me problems.

Here's a look at giftd -v, with no other plugins set to load with giFT.
Code:
[floods@floods[box]:~] giftd -v
[19:48:00] giftd 0.11.6 (May  9 2004 10:35:22) started
[19:48:00] OpenFT: ft_openft.c:256(openft_start): Booya! OpenFT in the house!
[19:48:00] *** GIFT-WARNING: OpenFT: guessing max_active=600
[19:48:00] *** GIFT-ERROR: OpenFT: setrlimit(4096): Invalid argument
[19:48:00] OpenFT: ft_node_cache.c:101(read_cache): opening nodes cache from /home/floods/.giFT/OpenFT/nodes...
[19:48:00] OpenFT: ft_node_cache.c:126(read_cache): successfully read 11 nodes
[19:48:00] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 209.6.254.95:1929
[19:48:00] OpenFT: ft_conn.c:509(start_connection): 209.6.254.95:1929: costs 4
[19:48:00] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 172.195.234.75:1889
[19:48:00] OpenFT: ft_conn.c:509(start_connection): 172.195.234.75:1889: costs 4
[19:48:00] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 196.30.110.89:2181
[19:48:00] OpenFT: ft_conn.c:509(start_connection): 196.30.110.89:2181: costs 4
[19:48:00] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 202.6.150.37:1628
[19:48:00] OpenFT: ft_conn.c:509(start_connection): 202.6.150.37:1628: costs 4
[19:48:00] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 68.237.45.133:1727
[19:48:00] OpenFT: ft_conn.c:509(start_connection): 68.237.45.133:1727: costs 4
[19:48:00] OpenFT: ft_session.c:595(ft_session_connect): attempting connection to 196.30.110.103:2181
[19:48:00] OpenFT: ft_conn.c:509(start_connection): 196.30.110.103:2181: costs 4
[19:48:00] OpenFT: ft_conn.c:629(ft_conn_initial): began 6 connections (remaining weight: 66)
[19:48:00] *** GIFT-WARNING: updating index...
[19:48:00] [19:48:00] giFT: download_state.c:311(read_state): /home/floods/.giFT/incoming/.58A90007871800ED6A07.isis - oceanic - 07 - weight.mp3.state: corrupt state file
[19:48:00] giFT: giftd.c:713(init_transfer): recovered 0 state transfers
giFT: share_cache.c:905(share_write_index): entered
[19:48:00] giFT: share_cache.c:612(share_build_index): entered
[19:48:00] giFT: share_cache.c:943(share_write_index): descending root: /home/floods/.giFT/completed...
[19:48:00] giFT: share_cache.c:521(path_traverse): descending /home/floods/.giFT/completed...
[19:48:00] giFT: share_cache.c:943(share_write_index): descending root: /home/floods/.giFT/completed...
[19:48:00] giFT: share_cache.c:521(path_traverse): descending /home/floods/.giFT/completed...
[19:48:00] giFT: share_cache.c:1148(share_read_index): entered
[19:48:00] giFT: share_cache.c:612(share_build_index): entered
[19:48:00] OpenFT: ft_share.c:285(openft_share_sync): beginning share sync...
[19:48:00] OpenFT: ft_share.c:285(openft_share_sync): finishing share sync...
[19:48:00] giFT: share_cache.c:1162(share_read_index): total shares: 35 (234.07MB)
[19:48:00] *** GIFT-ERROR: poll: Interrupted system call
[19:48:01] OpenFT: 209.6.254.95:1929 (INDEX) -> DISCO: Socket error: Connection refused
[19:48:01] OpenFT: 172.195.234.75:1889 (INDEX) -> DISCO: Socket error: Connection refused
[19:48:02] OpenFT: 202.6.150.37:1628 (INDEX) -> DISCO: Socket error: Connection refused
[19:48:02] OpenFT: 196.30.110.103:2181 (INDEX) -> DISCO: Socket error: Connection refused
[19:48:20] if_event.c:472(if_event_attach): 127.0.0.1
[19:48:20] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[19:48:20] giFT: daemon.c:507(dcmd_share): entered
[19:48:27] if_event.c:478(if_event_detach): 127.0.0.1
and it usually just stops there. Tried looking online but with no luck. Not using IPTables since I'm behind a gateway with a firewall, and set the firewall rule on that machine to accept connections to and from computers using port 1757, which I got from OpenFT.conf.
Code:
# Core listening port.  OpenFT uses a compacted binary protocol for the core
# communication with other nodes.  If this machine is unable to provide both
# port and http_port to the outside directly (blocked by either by a firewall
# or a NAT setup) you should select 0 here.
#
# NOTE:
#  If you are unable to route this port (along with the HTTP port) you will be
#  unable to download from other users with that same inability.  You will,
#  however, maintain the ability to upload to other non-firewalled users.
#  Selecting non-zero when the port is not available to the outside will cause
#  very broken behaviour, namely search results will be extremely unreliable.
#
# Default: random (1215, 2215)
#
port = 1757
What's weird about that is it says the default port is random, but lists a port plainly. Does it mean that port is randomly made up with every config? That's kind of confusing.

The firewall looks good, connection to and from other computers allowed on local and remote port 1757, using both TCP or UDP.

Either way, what could be stopping OpenFT from connecting?

Last edited by FLOODS; 06-07-2004 at 07:53 PM.
 
Old 06-08-2004, 12:14 AM   #2
Cerbere
Member
 
Registered: Dec 2002
Location: California
Distribution: Slackware & LFS
Posts: 799

Rep: Reputation: 33
Have you tried setting the port to '0' (zero)?

Enjoy!
--- Cerbere
 
Old 06-08-2004, 12:30 AM   #3
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
Yes, looked twice at it and thought about it.

I am behind a NAT, and a Firewall. This is a client machine on a hosted network. The gateway is WinXP Pro with the firewall. That computer connects to the modem and then the NAT.
Silly networks.

If you have OpenFT working, can I have a copy of your ~/.giFT/OpenFT/nodes file? Mine is kind of bare, and I'm thinking maybe the nodes currently on it are out-dated?
 
Old 06-08-2004, 12:54 AM   #4
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
ack, found the nodes file it was supposedly going to copy to my home nodes file, but guess it just decided not to. The list I had had about 15, the new file has about 150. It now connects, I just hope that it updates the nodes list while connecting to the network. giFTui is showing 1502 users on OpenFT, heard there was supposed to be more..! Guess I'll find out soon enough though

EDIT: yep, it's definitely flip-flopping around on the network. Guess I kick back and hope it all works out right now.

Last edited by FLOODS; 06-08-2004 at 01:00 AM.
 
Old 06-08-2004, 02:21 AM   #5
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
hm, it will eventually connect, but if I search it gives no results and very quickly says search completed, then the OpenFT network disconnects from me. I get back to
Code:
[02:22:52] OpenFT: ft_search.c:419(search_parents): a4b3d826f676681f81dc405afdc28d27: searched 0 nodes (ttl=2)
[02:22:53] OpenFT: 82.64.174.78:2125 (INDEX) -> DISCO: Socket error: Connection refused
[02:22:54] OpenFT: 148.240.117.241:1851 (SEARCH) -> DISCO: Socket error: Connection refused
[02:23:02] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:23:12] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:23:22] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:23:32] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:23:42] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:23:50] OpenFT: 65.94.170.230:1654 (SEARCH) -> DISCO: Connection timed out
[02:23:50] OpenFT: 67.114.250.205:1900 (INDEX) -> DISCO: Connection timed out
[02:23:50] OpenFT: 213.103.42.83:1396 (SEARCH) -> DISCO: Connection timed out
[02:23:50] OpenFT: 213.103.205.175:1644 (SEARCH) -> DISCO: Connection timed out
[02:23:50] OpenFT: 66.19.209.177:1565 (SEARCH) -> DISCO: Connection timed out
[02:23:52] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:24:02] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
[02:24:12] *** GIFT-WARNING: OpenFT: no stats-provider found, falling back to number of established connections (0)...
The
Code:
[02:22:52] OpenFT: ft_search.c:419(search_parents): a4b3d826f676681f81dc405afdc28d27: searched 0 nodes (ttl=2)
is my search, and everything after that goes straight downhill.
 
Old 06-09-2004, 03:03 AM   #6
FLOODS
Member
 
Registered: Aug 2003
Location: GA
Distribution: Fedora Core 4 Desktop/Server.
Posts: 361

Original Poster
Rep: Reputation: 30
bump.
 
Old 02-09-2012, 09:24 PM   #7
k0rn
LQ Newbie
 
Registered: Jan 2012
Distribution: Slackware 13
Posts: 10

Rep: Reputation: Disabled
Red face Slackware 13 kernel 2.6-current

(sorry for bad english).I've using Slackware 13, gift version 0.11.8.1, and Gnutella 0.0.10.0. I having this SAME problem >

[22:20:08] Gnutella: try_some_nodes() returned 0. node list len=0
[22:20:08] Gnutella: No hosts to try. Looking in gwebcaches...
[22:20:08] Gnutella: gt_web_cache.c:583(check_dns_error): lookup failed on "none": Unknown host
[22:20:08] Gnutella: Retrying to connect to nodes...

i've tried to add this hosts (http://www.gnutellaforums.com/gnucle...ode-lists.html) to ~/.giFT/Gnutella/files , but didn't work, it appears they dont read the hosts OR no one of then is valid.

any help will be appreciated, thanks please help us, Appears to much people with this problem in the Google !!! an one "important" thing: ALL protocols still running, because all your respective default ports stay listening, look this at netstat -lnpt |grep (port number of protocol).

---EDITED---

I'm having connection problems with ALL networks, i'll be post your respective errors, for those have this program working nicely can help me i know that is an OLD post than i revived, but no one have any idea of may be wrong ? I'm using and adsl-pppoe connection, without bridge, hard-firewall or iptables or nothing intermediating the connection.

The problem isnt the Gnutella net, because i migrated to GTK_Gnutella. Just dont wanna give up !

--Ares error:
[00:04:37] reaped child process 5698
[00:04:37] Ares: as_share_man.c:235(as_shareman_add_and_submit): Submitted 62 of 62 shares to 0 supernodes.
^C[00:04:40] Ares: asp_plugin.c:284(asp_giftcb_destroy): Shutting down.
[00:04:40] Ares: as_node_man.c:527(as_nodeman_save): Saved 353 nodes in node file
[00:04:40] Ares: as_ares.c:222(as_cleanup): Cleaning up Ares library...
[00:04:40] Ares: as_session_man.c:78(as_sessman_connect): Requested: 0, connected: 0, connecting: 10

--FastTrack Error

[00:07:07] FastTrack: fst_fasttrack.c:769(fst_giftcb_start): Http server listening on port 1214
[00:07:07] FastTrack: fst_session.c:128(fst_session_connect): connecting to 68.32.206.117:1721, load: 50%
[00:07:07] FastTrack: fst_session.c:128(fst_session_connect): connecting to 69.119.170.84:1902, load: 50%
[00:07:07] FastTrack: fst_session.c:128(fst_session_connect): connecting to 69.198.6.236:1214, load: 50%
[00:07:07] FastTrack: fst_session.c:128(fst_session_connect): connecting to 84.118.7.45:1214, load: 50%
[00:07:07] FastTrack: fst_session.c:128(fst_session_connect): connecting to 82.41.26.128:3583, load: 50%
[00:07:07] FastTrack: fst_fasttrack.c:229(fst_plugin_connect_next): discovery cycle started with 10 UDP pings
[00:07:07] giFT: giftd.c:744(init_transfer): recovered 0 state transfers

--OpenFt >> same error of David_Skinner.

Apparently, the solution is migrate to another p2p software. Thanks and sorry for the incovenient.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
gift-Gnutella & gift-openft initial host files david.skinner Linux - Software 4 02-06-2012 07:55 PM
giFT - OpenFT in apollon left connecting... Boffy Linux - Software 1 08-23-2004 09:17 AM
giFT users - help with OpenFT synaptical Linux - Software 3 04-11-2004 05:26 PM
giFT and OpenFT problem arch23 Fedora 3 12-09-2003 04:53 AM
problems with giFT rufius Linux - Software 1 05-07-2003 07:34 AM


All times are GMT -5. The time now is 12:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration