mldonkey-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-users] Overnet support - patch number 1


From: Norbert LATAILLE
Subject: [Mldonkey-users] Overnet support - patch number 1
Date: 08 Dec 2002 20:21:55 +0100

Hi,

Here is the first patch for a more complete overnet support in mldonkey.
It is diffed against mldonkey-pango-20021201a sources, found on
http://concept.free.free.fr/mldonkey/.

Please keep in mind that this is the first version of this overnet
update, it does not expose much configuration options. I am looking for
feedback, tell me if it works !

This overnet patch is still in developpement, next steps are :
- better search
- complete network insertion : answer Queries from other Overnet peers
(keyword and files)

Norbert

DONE
----

- Fix: PUBLISH works
- Fix: Never add ourself in the peer list
- Fix: never add 0.0.0.0 or a local address for a distant peer
- Fix: Search and Publish fixes
- Fix: Removed BCP type2 support for now
- Add opcode 12/13/27/28/29 support
- Remove fixed overnet_md4 address
- Advertize every 20 minutes the network AND close peers that we are up
- New peer storage system : there is now only one peer list (Hashtbl
array) in the core which replaces all peer lists.
   - it enables powerful functions like get_uniform_distribution() and
get_local_distribution(md4)
   - gives an efficient way to answer searches
- Remove the "connected network" schema : we only send Connect if
necessary, we no longer try to check a "connected peers subset" every x
minutes. Moreover, we try to keep an uniform peer table (to have a good
view of the network) : try ovstats command.


TODO:
- Add new opcode support 30/21/22
- Add BCP type2 support again
- Answer Search and FileSearch requests
- Make the search more efficient/less aggressive

- Update get_local_distrib for more accurate responses
- Wait before sending 29 (is there a way to flush the udp_sock buffer ?)



Attachment: overnet-patch1
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]