aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2 3

Author Topic: About Kademlia  (Read 407347 times)

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
About Kademlia
« on: July 26, 2005, 09:28:26 PM »

Use daily CVS tarball and configure using

Code: [Select]
./configure --enable-kad-compile
and the rest of your usual configure flags.

Have fun :)

Kad is enabled by default, you can select the networks you want to use on Preferences->Connection.

It's still on testing phase, probably doesn't work yet on big-endian (like Mac) and search with parameters does NOT work.

But you can still test it.
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1549
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: About Kademlia
« Reply #1 on: July 26, 2005, 10:29:47 PM »

Are there now additional binaries?
Logged
Homefucking is killing prostitution

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: About Kademlia
« Reply #2 on: July 27, 2005, 12:07:23 AM »

Obviously not.
Logged

a-snu

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 21
  • è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalitÃ
    • http://www.romastyle.info
Re: About Kademlia
« Reply #3 on: July 27, 2005, 01:45:14 AM »

First -> Nice move!

I don't know what kind of tests you mean ... but

PRO
- i got kad ok [not firewalled]
- lots of sources found through kad net
- found files through the search [no param]
- downloads @ full bandwidth

CON
- monolythic bin is not rock-solid, [completing files or starting downloading a new file lockup amule]

*probably in todo list
- two buttons for [dis]connecting kad/ed2k
- bootstrap from a known client
- nodes status
Logged
è una questione di qualità ... decidersi di farla finita con qualcuno qualcosa ... una formalità

andre.goddard

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Error compiling with gcc 4.0.1
« Reply #4 on: July 27, 2005, 05:15:36 AM »

amule-ExternalConn.o: In function `Get_EC_Response_Search_Results(CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:690: undefined reference to `CEC_SearchFile_Tag::CEC_SearchFile_Tag(CSearchFile*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_GetUpQueue(CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:452: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_GetWaitQueue(CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:405: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_GetSharedFiles(CFileEncoderMap&, CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:358: undefined reference to `CEC_SharedFile_Tag::CEC_SharedFile_Tag(CKnownFile const*, CValueMap&)'
amule-ExternalConn.o: In function `Get_EC_Response_Search_Results(CECPacket const*)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:675: undefined reference to `CEC_SearchFile_Tag::CEC_SearchFile_Tag(CSearchFile*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetSharedFiles(CECPacket const*, CFileEncoderMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:330: undefined reference to `CEC_SharedFile_Tag::CEC_SharedFile_Tag(CKnownFile const*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetUpQueue(CECPacket const*)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:434: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetWaitQueue(CECPacket const*)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:387: undefined reference to `CEC_UpDownClient_Tag::CEC_UpDownClient_Tag(CUpDownClient const*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetDownloadQueue(CECPacket const*, CFileEncoderMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:495: undefined reference to `CEC_PartFile_Tag::CEC_PartFile_Tag(CPartFile*, EC_DETAIL_LEVEL)'
amule-ExternalConn.o: In function `Get_EC_Response_GetDownloadQueue(CFileEncoderMap&, CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:468: undefined reference to `CEC_PartFile_Tag::CEC_PartFile_Tag(CPartFile*, CValueMap&)'
amule-ExternalConn.o: In function `ExternalConn::ProcessRequest2(CECPacket const*, CFileEncoderMap&, CFileEncoderMap&, CObjTagMap&)':
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:994: undefined reference to `CEC_ConnState_Tag::CEC_ConnState_Tag(EC_DETAIL_LEVEL)'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1068: undefined reference to `CEC_Server_Tag::CEC_Server_Tag(CServer const*, EC_DETAIL_LEVEL)'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1109: undefined reference to `CEC_Prefs_Packet::CEC_Prefs_Packet(unsigned int, EC_DETAIL_LEVEL, EC_DETAIL_LEVEL)'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1112: undefined reference to `CEC_Prefs_Packet::Apply()'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1119: undefined reference to `CEC_Category_Tag::Create()'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1127: undefined reference to `CEC_Category_Tag::Apply()'
/mnt/hda5/downloads/amule-cvs/src/ExternalConn.cpp:1193: undefined reference to `CEC_Tree_Tag::CEC_Tree_Tag(tree > >::sibling_iterator const&)'
/usr/lib/libbfd.a(cache.o): In function `bfd_open_file':
: undefined reference to `unlink_if_ordinary'
collect2: ld returned 1 exit status
make[4]: ** [amule] Erro 1
Logged

andre.goddard

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: About Kademlia
« Reply #5 on: July 27, 2005, 05:37:35 AM »

Problem solved! Thanks anyway!
Logged

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 827
Re: About Kademlia
« Reply #6 on: July 27, 2005, 06:04:04 AM »

Quote
Originally posted by a-snu
First -> Nice move!

I don't know what kind of tests you mean ... but

[...]

CON
- monolythic bin is not rock-solid, [completing files or starting downloading a new file lockup amule]

If you can provide us with a gdb backtrace when this happens that would be exactly the kind of help we are looking for. It's really quite simple, all Information you need is here: http://www.amule.org/wiki/index.php/Backtraces

If amule has locked up it might be necessary to do a ctrl+c to get to the gdb prompt. In addition to 'bt' and 'bt full' the output of 'thread apply all bt' might be interesting.

And even the pure Information that "there might be something wrong somewhere because..." is already a useful information :)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: About Kademlia
« Reply #7 on: July 27, 2005, 10:27:37 AM »

I've encountered a bug in connection with amuleweb (amule cvs 20050727) and one with the KAD-search.
KAD status is OK (after being around a minute firewalled) and the search works.
I've kompiled with --enable-optimize --disable-debug --enable-webserver --enable-kad-compile
With amuleweb (My nb is currently running under windows) I could log in, but could not do more, back at my server I saw that amule crashed (is no more running, no message) and amuleweb consumes all my CPU without doing sth.
The second crash (without amuleweb) was when I closed the tab with the Kad-search-results. Dunno why.

And something very strange: My graphs background is red.

I hope i can help with this informations, I'll try to run a 24h test (until cvs 20050728 ;) ) and tell you if something strange happens.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: About Kademlia
« Reply #8 on: July 27, 2005, 10:41:10 AM »

there is a big time EC bug atm in current cvs, because Kry is trying to fix EC connection from windows using remote-gui....thats why ti crashes

atm just dont use any external programms such as webserver, amulecmd or remote-gui with current cvs

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: About Kademlia
« Reply #9 on: July 27, 2005, 11:27:48 AM »

Quote
And something very strange: My graphs background is red.
edit your amule.conf file and remove all 'StatColorX=nnn' lines
Logged
concordia cum veritate

nonamez78

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: About Kademlia
« Reply #10 on: July 27, 2005, 08:55:35 PM »

could anybody tell me how to enable kad-support? in every cvs is a comment like " --enable-kad-compile      compile Kademlia code (DOES NOT WORK YET!))".

after using the "--enable..." switch the summary tells the same.

the compilation doesn't change anything, kad-support doesn't work :-(
Logged

nonamez78

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
Re: About Kademlia
« Reply #11 on: July 27, 2005, 09:11:57 PM »

wow, seems to be my fault. after updating to wxwidgets 2.6 the "does not work" comment is still readable, but now i can compile it.

sorry ;-)
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: About Kademlia
« Reply #12 on: July 27, 2005, 09:34:39 PM »

Quote
Originally posted by nonamez78
 "does not work" comment is still readable

fixed  :P

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
Re: About Kademlia
« Reply #13 on: July 27, 2005, 10:21:52 PM »

I runs fine until now. Just a little inconsistency: I've set up amule to connect only to KAD.
During connecting I get KAD status firewalled and amule claims, that I've received a LowID and shows the earth with yellow arrows. After some seconds the KAD status changes into OK, but the LowID stays with the text no connection... (or similar) behind it.
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: About Kademlia
« Reply #14 on: July 27, 2005, 10:26:40 PM »

will be fixed aswell, don't worry ;)

cheers
Pages: [1] 2 3