LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   giFT OpenFT connection problems. (https://www.linuxquestions.org/questions/linux-software-2/gift-openft-connection-problems-190863/)

FLOODS 06-07-2004 06:49 PM

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?

Cerbere 06-07-2004 11:14 PM

Have you tried setting the port to '0' (zero)?

Enjoy!
--- Cerbere

FLOODS 06-07-2004 11:30 PM

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?

FLOODS 06-07-2004 11:54 PM

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.

FLOODS 06-08-2004 01:21 AM

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.

FLOODS 06-09-2004 02:03 AM

bump.

k0rn 02-09-2012 08:24 PM

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.


All times are GMT -5. The time now is 01:57 AM.