aMule Forum
English => aMule Help => Topic started by: DigitoErgoSum on September 10, 2005, 03:50:00 PM
-
Hi all, i'm running amuled with amuleweb so, how could i known if i'm connected with kad network ??? I tried also with amulecmd but it gives me so few information...
Bye
-
Take a look at the log:
2005-09-10 09:26:48: Read 199 Kad contacts
...
2005-09-10 09:26:49: Connected to Kad (firewalled)
...
2005-09-10 09:26:53: Connected to Kad (ok)
-
check also taht it is enabled in amule.conf file...
-
Is Kad already working in the daemon, then? I thought it was only in amule itself...
I have ConnectToKad=1 in amule.conf but don't see any comment about Kad in the log file ?!
BTW: I always connect by entering "connect" in amulecmd. I added that, because I read somewhere that Kad would only work when not using auto connect.
-
well I run autoconnect and works fine...but I dont run amuled
Kry said its supposed to work in amuled so I guess it does
-
Originally posted by stefanero
well I run autoconnect and works fine...but I dont run amuled
Kry said its supposed to work in amuled so I guess it does
I saw that on amuled kad doesn't work. If I use autoconnect amuled freeze and stop, if i manually connect to server kad doesn't connect too...
2005-09-11 15:47:04: Creditfile loaded, 33940 clients are known
2005-09-11 15:47:04: Loading ipfilter.dat files.
2005-09-11 15:47:04: Loaded 0 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2005-09-11 15:47:04: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2005-09-11 15:47:04: Loading server.met file: /home/p2p/.aMule/server.met
2005-09-11 15:47:04: 72 servers in server.met found
2005-09-11 15:47:06: Found 41 part files
2005-09-11 15:47:06: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2005-09-11 15:47:10: Found 296 known shared files
2005-09-11 15:47:11: webserver running on pid 13010
2005-09-11 15:47:11: AICH Thread: Syncronization thread started.
2005-09-11 15:47:11: AICH Thread: Masterhashes of known files have been loaded.
2005-09-11 15:47:11: AICH Thread: No new files found.
2005-09-11 15:47:11: AICH Thread: Terminated.
2005-09-11 15:47:11: New external connection accepted
2005-09-11 15:47:11: Connecting client: aMuleweb CVS
2005-09-11 15:47:11: Access granted.
2005-09-11 15:47:31: Connecting to ####.... removed ....####
2005-09-11 15:47:31: Connected to ####.... removed ....####
2005-09-11 15:47:31: Connection established on: ####.... removed ....####
2005-09-11 15:47:31: Connected to ####.... removed ....#### with HighID
2005-09-11 15:47:31: New clientid is 704776965
In amule.conf I have ConnectToKad=1 and ConnectToED2K=1
Webserver needs distinct ConnectToKad and ConnectToED2K buttons, or at least they should be implemented in amulecmd...
Bye
-
Humm...i use amuled and kad seems to work..... check that out 8)
A criar o cliente...
A conectar...
A usar a máquina 'server' porto: 4712
A tentar conectar (tempo limite = 10 segundos)...
Sucesso! Conexão estabelecida com aMule CVS
---------------------------------
| cliente de texto aMule |
---------------------------------
Use 'Help' para lista de comandos
aMulecmd$ statistics
> Estatísticas
> Tempo de funcionamento: 1 Dias 20 horas
> Transferência
> Taxa enviado:recebido da sessão (total): 1 : 2,21
> Saídas
> Dados enviados (sessão (total)): 1,15 GB (112,87 GB)
> eMule: 1,04 GB
> eMule+: 20,30 MB
> eDonkeyHybrid: 10,12 MB
> Sobrecarga total (pacotes): 91,46 MB (1,53M)
> Sobrecarga de pedidos de ficheiro (pacotes): 12,19 MB (442k)
> Sobrecarga de mudanças de fonte (pacotes): 2,29 MB (3k)
> Sobrecarga do servidor (pacotes): 161 kB (24k)
> Kad Overhead (Packets): 61,97 MB (821k)
> Active Uploads: 2
> Waiting Uploads: 1499
> Total successful upload sessions: 146
> Total failed upload sessions: 8
> Tempo médio de envio: 37:32 minutos
> Entradas
> Dados recebidos (sessão (total)): 2,53 GB (183,11 GB)
> eMule: 2,39 GB
> eMule+: 72,52 MB
> eDonkey: 39,03 MB
> Shareaza: 21,88 MB
> eDonkeyHybrid: 7,33 MB
> lphant: 3,78 MB
> Sobrecarga total (pacotes): 63,61 MB (1,33M)
> Sobrecarga de pedidos de ficheiro (pacotes): 8,85 MB (323k)
> Sobrecarga de mudanças de fonte (pacotes): 3,67 MB (4k)
> Sobrecarga do servidor (pacotes): 134 kB (885)
> Kad Overhead (Packets): 39,74 MB (828k)
> Found Sources: 85
> Passive: 58 (68,24%)
> Source Exchange: 16 (18,82%)
> Servidor: 11 (12,94%)
> Active Downloads (chunks): 4
> Conexão
> Average Downloadrate (Session): 16,55 kB/s
> Average Uploadrate (Session): 7,50 kB/s
> Max Downloadrate (Session): 549,07 kB/s
> Max Uploadrate (Session): 1,51 MB/s
> Reconexões: 3
> Tempo desde a primeira transferência: 1 Dias 20 horas
> Conectado ao servidor desde: 3:59 horas
> Conexões activas (estimativa): 34
> Max Connection Limit Reached: Never
> Average Connections (estimate): 32,1713
> Picos de conexões (estimativa): 157
> Clientes
> Total: 2320 Conhecido: 1575
> eMule: 1414 (89,78%)
> v2.22a: 2 (0,14%)
> v0.46c: 607 (42,93%)
> v0.46b: 76 (5,37%)
> v0.46a: 206 (14,57%)
> v0.45b: 159 (11,24%)
> v0.45a: 7 (0,50%)
> v0.44d: 80 (5,66%)
> v0.44c: 1 (0,07%)
> v0.44b: 78 (5,52%)
> v0.44a: 4 (0,28%)
> v0.43b: 20 (1,41%)
> v0.43a: 2 (0,14%)
> v0.42g: 16 (1,13%)
> v0.42f: 1 (0,07%)
> v0.42e: 19 (1,34%)
> v0.42d: 6 (0,42%)
> v0.42b: 2 (0,14%)
> v0.41b: 1 (0,07%)
> v0.30: 125 (8,84%)
> v0.29: 1 (0,07%)
> desconhecido: 1 (0,07%)
> eMule+: 102 (6,48%)
> v1.1f: 54 (52,94%)
> v1.1e: 5 (4,90%)
> v1.1d: 27 (26,47%)
> v1.1c: 2 (1,96%)
> v1.1b: 13 (12,75%)
> v1.1a: 1 (0,98%)
> Shareaza: 20 (1,27%)
> v2.2a: 3 (15,00%)
> v2.1a: 1 (5,00%)
> v0.30: 16 (80,00%)
> eDonkeyHybrid: 16 (1,02%)
> v0.100: 1 (6,25%)
> v0.40.3: 11 (68,75%)
> v0.40: 3 (18,75%)
> v0.30.9: 1 (6,25%)
> aMule: 13 (0,83%)
> Versão
> v2.0.3: 6 (46,15%)
> v2.0.2: 2 (15,38%)
> v2.0.0: 4 (30,77%)
> 1.x (based on eMule v0.30): 1 (7,69%)
> Operating System
> Windows: 1 (7,69%)
> Linux: 4 (30,77%)
> MacOS: 3 (23,08%)
> Não recebido: 5 (38,46%)
> lphant: 6 (0,38%)
> v1.09a: 3 (50,00%)
> v1.07a: 2 (33,33%)
> v1.06a: 1 (16,67%)
> New MLDonkey: 4 (0,25%)
> v2.6e: 1 (25,00%)
> v2.6d: 1 (25,00%)
> v0.30: 2 (50,00%)
> desconhecido: 745
> HasSocket: 34
> Filtered: 0
> banidos: 26
> Servidores
> Working Servers: 140
> Failed Servers: 239
> Total: 379
> Servidores removidos: 0
> Filtered Servers: 0
> Users on Working Servers: 10826692
> Files on Working Servers: 1392601261
> Total Users: 12479864
> Total Files: 3004957973
> Ocupacão do servidor: 11,54%
> Ficheiros partilhados
> Number of Shared Files: 110
> Tamanho total de ficheiros partilhados: 13,49 GB
> Tamanho médio de ficheiro: 125,54 MB
aMulecmd$
Seems to work right???
Cheers....
-
Seems to work :)
-
ehm... It seems to work :) ...
I'll try to recompile it with a new ebuild...
-
wokrs also here, I tryed it yesterday and you can also see it in the normal webserver-log
-
Wait! Don't compile from ebuild!
Or, before compiling it, tweak the ebuild to enable kad, beacuse I think the ebuild doesn't do it by default.
the best thing is to configure and compile it yourself with all the 'options' you like.
-
Weird...
Not working here ?(
I did./configure --enable-optimize --enable-kad-compile --enable-amulecmd --enable-webserver --disable-monolithic --enable-amule-daemon
and I have ConnectToKad=1
in amule.conf.
Statistics tell meKad Overhead (Packets): 0 bytes (0)
and in the whole logfile no mentioning of Kad.
I have been connected to "Razorback 2.0" and "DonkeyServer No1", have a high ID and no idea what's wrong :rolleyes:
BTW: I use CVS-20050910 with Debian Sarge.
Any hints and/or questions are welcome ;)
-
How many sources do you have for your files?
Find some files with lots of sources and wait 1 hour then run amulecmd -c "statistics" and check in the upload and download sections for Kad....
That should do it. :D
Cheers....
-
@wardevil
I have only a few files and all of them quite rare. This CVS is running for at least 2 days now.
But I will try your advice, of course.
Thanks...
-
I've recompiled amule with a modified ebuild (http://xoomer.virgilio.it/oppete/amule-cvs-2.ebuild).
Calculating dependencies ...done!
[ebuild R ] net-p2p/amule-cvs-2 -X +amuled -debug -gtk2 +kad -nls +nosystray -optimize +remote -remote-gui -stats -unicode -wxgtk1 0 kB [1]
**** aMule Core ****
Prefix where aMule should be installed? /usr
Should aMule be compiled with i18n support? no
Should aMule be compiled in debug mode? yes
Should aMule be compiled with profiling? no
Should aMule be compiled with optimizations? no
Should aMule be compiled with taskbar icon support? no
Should aMule be linked against patched gsocket? no
Should aMule monolithic application be built? no
Should aMule daemon version be built? yes
Should aMule remote gui be built? (EXPERIMENTAL) no
Should aMule Kademlia code be compiled? yes
Crypto++ library/headers style? embedded
**** aMule TextClient ****
Should aMule Command Line Client be built? yes
Should aMule GUI Client be built? no
**** aMule WebServer ****
Should aMule WebServer be built? yes
Should aMule WebServer GUI be built? no
**** aMule ED2K Links Handler ****
Should aMule ED2K Links Handler be built? yes
**** aMuleLinkCreator ****
Should aMuleLinkCreator GUI version (alc) be built? no
Should aMuleLinkCreator for console (alcc) be built? no
**** aMule Statistics ****
Should C aMule Statistics (CAS) be built? no
Should aMule GUI Statistics (wxCas) be built? no
**** General Libraries and Tools ****
Should ccache support be enabled? no
Libraries aMule will use to build:
wxWidgets 2.6.1
crypto++ embedded
libpng 1.2.8
libgd 2.0.32
zlib 1.2.3
ConnectToKad=1
ConnectToED2K=1
> Statistics
> Uptime: 38:51 mins
> Transfer
> Session UL:DL Ratio (Total): 1 : 1.64
> Uploads
> Uploaded Data (Session (Total)): 89.95 MB (XXXX TB)
> eMule: 74.24 MB
> New MLDonkey: 10.15 MB
> eMule+: 6.84 MB
> Total Overhead (Packets): 862 kB (20k)
> File Request Overhead (Packets): 453 kB (15k)
> Source Exchange Overhead (Packets): 51 kB (115)
> Server Overhead (Packets): 43 kB (349)
> Kad Overhead (Packets): 0 bytes (0)
> Active Uploads: 5
> Waiting Uploads: 469
> Total successful upload sessions: 9
> Total failed upload sessions: 20
> Average upload time: 10:30 mins
> Downloads
> Downloaded Data (Session (Total)): 147.22 MB (XXXX GB)
> eMule: 147.22 MB
> Total Overhead (Packets): 614 kB (7k)
> File Request Overhead (Packets): 226 kB (4k)
> Source Exchange Overhead (Packets): 187 kB (141)
> Server Overhead (Packets): 526 bytes (19)
> Kad Overhead (Packets): 0 bytes (0)
> Found Sources: 999
> Source Exchange: 967 (96.80%)
> Server: 25 (2.50%)
> Passive: 7 (0.70%)
> Active Downloads (chunks): 5
I need some help... ?(
-
well the server and source exchange work a lot faster then kad. so it could be that your max-sources are already "full"
so amule does not look at the kad network to find sources anymore, since it does not need any.
as a test maybe disable ed2k network, and only connect to kad.
-
done.
MaxUpload=0
MaxDownload=0
SlotAllocation=0
Autoconnect=0
ConnectToKad=1
ConnectToED2K=0
MaxSourcesPerFile=400
MaxConnections=1000
MaxConnectionsPerFiveSeconds=60
Statistics
Uptime: 14:37 mins
Transfer
Session UL:DL Ratio (Total): Not available
Uploads
Uploaded Data (Session (Total)): 77.55 MB (2.970 TB)
eMule: 78.67 MB
Total Overhead (Packets): 197 kB (8k)
File Request Overhead (Packets): 187 kB (8k)
Source Exchange Overhead (Packets): 0 bytes (0)
Server Overhead (Packets): 0 bytes (0)
Kad Overhead (Packets): 0 bytes (0)
Active Uploads: 2
Waiting Uploads: 48
Total successful upload sessions: 9
Total failed upload sessions: 0
Average upload time: 2:51 mins
Downloads
Downloaded Data (Session (Total)): 0 bytes (369.61 GB)
Total Overhead (Packets): 28 kB (662)
File Request Overhead (Packets): 21 kB (587)
Source Exchange Overhead (Packets): 16 bytes (1)
Server Overhead (Packets): 0 bytes (0)
Kad Overhead (Packets): 0 bytes (0)
Found Sources: 13
Passive: 13 (100.00%)
Active Downloads (chunks): 0
If I use Autoconnect=1 amuled freeze with this logfile:
2005-09-14 14:57:35: Creditfile loaded, 34264 clients are known
2005-09-14 14:57:35: Loading ipfilter.dat files.
2005-09-14 14:57:35: Loaded 0 IP-ranges from 'ipfilter.dat'. 0 malformed lines were discarded.
2005-09-14 14:57:35: Loaded 0 IP-ranges from 'ipfilter_static.dat'. 0 malformed lines were discarded.
2005-09-14 14:57:35: Loading server.met file: /home/p2p/.aMule/server.met
2005-09-14 14:57:35: 72 servers in server.met found
2005-09-14 14:57:36: Found 40 part files
2005-09-14 14:57:36: *** TCP socket (ECServer) listening on 0.0.0.0:4712
2005-09-14 14:57:40: Found 303 known shared files
2005-09-14 14:57:40: Connecting
ps -e | grep amule returns me nothing...
-
ok, it was a try...
I dont think you can connect to kad yet with amulecmd, or amuleweb so its no real help if autoconnect does not work for soem reason.
-
Almost solved :D Now i have to shutdown and exit home so tonight or tomorrow i'll make some other test and post the results.
Bye
-
I can confirm that kad (at least for amuled) will only work when starting with Autoconnect=1 in amule.conf. "connect" in amulecmd or amuleweb does not have the effect of connecting to kademlia.
I tried the advice of but to no avail. Kad won't be connected, if not through autoconnect...
@DigitoErgoSum
I don't have any freeze or crash either, when autoconnecting (using CVS-20050910 on Debian Sarge).
-
Not only for amuled but for amule master gui too....kad is only connected when autoconnect is enabled.....
ahhh...in order to use kad you must open udp port nº(tcp+3) to work correctly...so you need 3 open ports,2 udp and 1 tcp.... :)
Cheers....
-
In tomorrow's CVS, amulecmd will be able to connect to ed2k/kad/both. Check the "help" command :P
-
Hey...that would be nice.....
:baby:
Cheers.....
-
I saw that running amuled with /usr/bin/amuled instead of /etc/init.d/amuled start as root makes kad partially work (5kb in 15 min, no sources found, firewalled)... The problem is that it run in super-user mode... :(
Running /usr/bin/amuled as p2p user with autoconnect=1 create this output:
verbo p2p # sudo -u p2p env HOME=/home/p2p /usr/bin/amuled
amuled: OnInit - starting timer
Initialising aMule
Checking if there is an instance already running...
Loading temp files from /dati/aMule/Temp/.
Loading PartFile 40 of 40
All PartFiles Loaded.
ListenSocket: Ok.
*** TCP socket (ECServer) listening on 0.0.0.0:4712
*** Server UDP socket (TCP+3) at 0.0.0.0:4665
*** TCP socket (TCP) listening on 0.0.0.0:4662
*** Client UDP socket (extended eMule) at 0.0.0.0:4672
aMule terminated after throwing an instance of 'CryptoPP::OS_RNG_Err'
Version: aMuled CVS using v2.6.1 (Snapshot: Tue Sep 13 07:02:04 CEST 2005)
what(): OS_Rng: open /dev/urandom operation failed with error 13
backtrace:
[2] wxEntry(int&, char**) in /usr/lib/libwx_base-2.6.so.0[0xb7ed01cb]
[3] main in amuled.cpp:124
[4] __libc_start_main in /lib/libc.so.6[0xb7b68525]
[5] wxEvtHandler::ProcessEvent(wxEvent&) in :0
verbo p2p # ls /dev/urandom -la
crw-rw---- 1 root root 1, 9 Sep 15 01:36 /dev/urandom
-
Wonderful !!! 8o Now it works !!!
I've solved "kad-firewalled" problem with a nodes.dat downloaded from the web.
After a chown p2p /dev/urandom, autoconnect start works without problems and kad connects in 15 sec.
Is there another solution for /dev/urandom ?
Thank you all for your help :baby: