File: README

package info (click to toggle)
mldonkey 2.8.1-2etch1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 16,940 kB
  • ctags: 26,220
  • sloc: ml: 138,666; sh: 15,368; cpp: 12,076; ansic: 8,243; asm: 3,858; xml: 3,367; perl: 1,831; makefile: 259; python: 258
file content (42 lines) | stat: -rw-r--r-- 1,284 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
This directory contains some useful files to use Pandora with MLdonkey.

stacks: contains the description of a stack that takes a file
   'trace.dump' and output the trace in a better format, using the
   tcpprint component also provided.

tcpprintcomponent.cc: this component prints the packets as a set of
   calls to ocaml functions.

The output of these components can be used directly by mldonkey.

Example:

1) You have a trace generated by ethereal 'kazaa.dump'. In pandora/src,
do (you need to have replaced the stacks file, and compiled pandora with
the new tcpprintcomponent.cc in pandora/pandora_components/).

cp kazaa.dump trace.dump
./pandora -s separator > kazaa.ml

2) Now, you have a file kazaa.ml, edit it and add at the beginning:

================================ BEGIN ADD
open FasttrackServers;;
open Pandora;;

let _ =
================================= END ADD 

and at the end:
================================ BEGIN ADD
commit ();;
================================= END ADD 

3) Now, execute the file in mldonkey/:

make runtop < kazaa.ml > kazaa.txt

4) This is only possible because src/networks/fasttrack/fasttrackServers.ml
contains a module Pandora, that defines how to print the traces.
You can also use this feature for Gnutella and Gnutella2 traces.