Oggi ho installato da Synaptic questo programma che pare davvero promettere molto!
Sto usando Sancho come gui e direi che mi trovo molto meglio di amule però ho 2 problemi:
-ho l'id basso
-non riesco ad usare la rete kademlia nonostante l'abbia abilitata sulle opzioni
Sapreste come risolvere?
Mldonkey - piccoli problemi
Mldonkey - piccoli problemi
Ubuntu Hardy Heron 8.04 --- nVidia GeForce4 MX 440
Re: Mldonkey - piccoli problemi
Se hai l'id basso hai probabilmente un problema di porte sul firewall. Per evitare complicazioni io ho configurato una DMZ verso il serverino Mldonkey e poi ho usato iptables. Ti posto il mio, adattalo alle tue esigenze e ricontrollalo in quanto l'ho un pò buttato su, quindi potrebbe avere qualche errore. Una volta risolto il problema delle porte dovrebbe funzionare tutto. Io non uso interfacce grafiche, ma direttamente l'interfaccia web di MLD, per controllarle uso il comando "portest". Ti posto l'esempio del risultato :
firewall:
Ciao
Ah, si, i valori delle porte sono random, li trovi nai vari files di configurazione di Mldonkey.
Ri Ciao
Codice: Seleziona tutto
Fasttrack Porttest not available
FileTP Porttest not available
BitTorrent Porttest finished 1m 17s ago
Port test OK!
Donkey Porttest finished 1m 17s ago
Testing IP: 79.17.xxx.xxx (79.17.xxx.xxx)
Starting TCP connection test...
TCP test successful.
Now testing UDP...
Sending UDP packet...
Waiting for result...
UDP test successful.
Connection test finished.Codice: Seleziona tutto
#! /bin/sh
IF=eth0
IF1=eth1
IPTABLES=/sbin/iptables
MLDONKEY_HOST=192.168.5.6
EDONKEY_PORT=17153
KAD_PORT=16173
OVERNET_PORT=5026
BITTORRENT_PORT=6882
BITTORRENT_PORT_T=6881
OPENNAP_PORT=9999
FASTTRACK_PORT=1214
#Cancella tutte le regole
iptables -F
iptables -t nat -F
iptables -t mangle -F
iptables -X
iptables -Z
#Blocca tutto
$IPTABLES -P INPUT DROP
$IPTABLES -P FORWARD DROP
#Always accept loopback traffic
iptables -A INPUT -i lo -j ACCEPT
#Accetta tutto il traffico delle subnet locali
iptables -A INPUT -s 192.168.1/24 -j ACCEPT
iptables -A INPUT -s 192.168.0/24 -j ACCEPT
#Accetta il traffico da noi richiesto
$IPTABLES -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
#Vs. 192.168.1.0/24
route del -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.1.1 dev $IF1
route add -net 192.168.0.0 netmask 255.255.255.0 gw 192.168.1.1 dev $IF1
## MLDonkey acting as Edonkey2000 client
$IPTABLES -A INPUT -p tcp --dport $EDONKEY_PORT -j ACCEPT
$IPTABLES -A INPUT -p udp --dport $(($EDONKEY_PORT + 4)) -j ACCEPT
## MLDonkey acting as Kad client
$IPTABLES -A INPUT -p tcp --dport $KAD_PORT -j ACCEPT
$IPTABLES -A INPUT -p udp --dport $KAD_PORT -j ACCEPT
## MLDonkey acting as Overnet client
$IPTABLES -A INPUT -p tcp --dport $OVERNET_PORT -j ACCEPT
$IPTABLES -A INPUT -p udp --dport $OVERNET_PORT -j ACCEPT
## MLDonkey acting as Edonkey2000 server
$IPTABLES -A INPUT -p tcp --dport $(($EDONKEY_PORT - 1)) -j ACCEPT
## MLDonkey acting as BitTorrent client
$IPTABLES -A INPUT -p tcp --dport $BITTORRENT_PORT -j ACCEPT
## MLDonkey acting as BitTorrent Tracker
$IPTABLES -A INPUT -p tcp --dport $BITTORRENT_PORT_T -j ACCEPT
## MLDonkey acting as OpenNap client
$IPTABLES -A INPUT -p tcp --dport $OPENNAP_PORT -j ACCEPT
## MLDonkey acting as Fasttrack TCP
$IPTABLES -A INPUT -p tcp --dport $FASTTRACK_PORT -j ACCEPT
## MLDonkey acting as Fasttrack UDP
$IPTABLES -A INPUT -p udp --dport $FASTTRACK_PORT -j ACCEPT
#Web
$IPTABLES -A INPUT -p tcp --dport 80 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 953 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 443 -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 53 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 53 -j ACCEPT
#Samba
$IPTABLES -A INPUT -p udp --dport 137 -j ACCEPT
$IPTABLES -A INPUT -p udp --dport 138 -j ACCEPT
$IPTABLES -A INPUT -m state --state NEW -m tcp -p tcp --dport 139 -j ACCEPT
$IPTABLES -A INPUT -m state --state NEW -m tcp -p tcp --dport 445 -j ACCEPT
echo 1 > /proc/sys/net/ipv4/ip_forward
echo "Regole locali di Iptables attivate."
Ah, si, i valori delle porte sono random, li trovi nai vari files di configurazione di Mldonkey.
Ri Ciao
Ultima modifica di PaoloVIP il sabato 13 settembre 2008, 9:42, modificato 1 volta in totale.
Re: Mldonkey - piccoli problemi
Intanto grazie mille per la risposta 
Nel primo riquadro hai fatto un test mi sembra...
e nel secondo sbaglio o hai creato uno script?
se si,come faccio a creare uno script con quei comandi?
Nel primo riquadro hai fatto un test mi sembra...
e nel secondo sbaglio o hai creato uno script?
se si,come faccio a creare uno script con quei comandi?
Ubuntu Hardy Heron 8.04 --- nVidia GeForce4 MX 440
Re: Mldonkey - piccoli problemi
Si è un file di script chiamato "firewall", o come preferisci, posto nella directory /etc/init.d
Deve impostare l'attributo di esecuzione "chmod +x firewall" e devi fare in modo che si avvii automaticamente (per esempio): "update-rc.d firewall default 25"
Per approfondire vedi:
http://www.pluto.it/files/journal/pj9705/script.html
http://www.ptlug.org/wiki/Howto_Creare_ ... _su_Debian
http://iptables-tutorial.frozentux.net/ ... orial.html
Ciao
Deve impostare l'attributo di esecuzione "chmod +x firewall" e devi fare in modo che si avvii automaticamente (per esempio): "update-rc.d firewall default 25"
Per approfondire vedi:
http://www.pluto.it/files/journal/pj9705/script.html
http://www.ptlug.org/wiki/Howto_Creare_ ... _su_Debian
http://iptables-tutorial.frozentux.net/ ... orial.html
Ciao
Ultima modifica di PaoloVIP il sabato 13 settembre 2008, 12:20, modificato 1 volta in totale.
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 10 ospiti
