PDA

Bekijk de volledige versie : giftd problems



elektronaut
26-03-2006, 00:24
Hi everyone,

is there somebody successfully using giFT? It's running on my WL-500gx and is also connecting and finding files, but it stops downloading after a while. Even the new sources search via giFTcurs from my laptop doesn't start it again. I'm also irritated by the numbers of "Local shares and Shared/User" in the giFTcurs window. I shared a directory with about 40 gigs in giftd.conf, this sum should show up, or not? I guess Local shares concerns the upload, which strangely stays at zero, although I permitted upload. And "Shared/User" shows ~5 gigs, I have no idea where this number is coming from. I can't find anything strange in the log, and I guess the configuration file should be o.k.
Nonetheless here is an abridged version, maybe somebody finds an error:


[main]
setup = 1
hosts_allow = 192.168.1.2 LOCAL
client_port = 1213
follow_symlinks = 1
plugins = OpenFT:Gnutella:FastTrack:OpenNap
[download]
incoming=/tmp/harddisk/giFT/incoming
completed=/tmp/harddisk/ftp_pub
[sharing]
max_peruser_uploads = 1
hide_dot_files = 1
root = /tmp/harddisk/public
max_uploads = 0 #according to older commentary found on the net
#should be -1, but in my configuration file was written that 0 states that my
#shares wouldn't be hidden then
shares_hidden = 0
auto_resync_interval = 3600
share_completed = 1
ignore_incoming = 1
[bandwidth]
downstream = 0
upstream = 0

Thanks for any help!
[EDIT] I noticed that I have no problem downloading smaller files so maybe it's just that the connection to other peers is missing. Still, why is it not uploading?

oleo
26-03-2006, 14:23
Try this:
if [ ! -f /tmp/giftfw ]; then
iptables -A INPUT -i eth1 -p tcp --syn --dport 1214 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --syn --dport 1666 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --syn --dport 2555 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --syn --dport 3444 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --syn --dport 59049 -j ACCEPT
iptables -A INPUT -i eth1 -p udp --dport 59049 -j ACCEPT
iptables -A INPUT -i eth1 -p tcp --syn --dport 6699 -j ACCEPT
touch /tmp/giftfw
fi


Share stats are network wide. Not yours.