1
FAQ - Forban
2
http://www.foo.be/forban/
3
4
== Protocol ==
5
6
Q1. Why don't you use SSDP, Bonjour or any other existing
7
    service announce and discovery in Forban?
8
9
    Forban was first designed to rely on SSDP but we quickly
10
    discovered various limitation or overhead that limited
11
    us to use it. One the major limitation is the requirement
12
    to include a Host: entry in a SSDP Notify message.
13
14
    One of the main concept behind Forban is the ability to
15
    setup something quickly even if IP addresses behind are
16
    changing regularly. So we changed to a simple flooding
17
    announce message without auto-shut-off algorithm or
18
    ssdp:byebye scheme. We are using the old but functional
19
    broadcast in IPv4 that allows Forban to work even where 
20
    multicast is not properly switched.
21
22
    We choose to design a small and stateless announce protocol 
23
    that can be implemented without an XML parser or any complex
24
    state machine.
25
26
    For more information :
27
    http://www.gitorious.org/forban/forban/blobs/master/README
28
   
29
Q2. Why Forban is configured by default in opportunistic
30
    mode and getting all in files in its proximity?
31
32
    That was the core idea of Forban when the project started.
33
    When you start for the first time your Forban, it will fetch
34
    automatically all files from his proximity. This is quite
35
    important for very ephemeral connectivity. So the gossip
36
    operation or the epidemic algorithm is the standard way
37
    of operation. This was there to ensure a kind of persistence
38
    of the data replicated.
39
40
    If you don't want to use the opportunistic mode, there 
41
    is the shared mode, where you can propose files to
42
    be downloaded but where your Forban is not doing the
43
    replication of all the files in its surrounding. You
44
    can still download the files in a more conventional way
45
    using the web interface.
46
47
    To change between the two modes, you'll just need to
48
    set it in the configuration :
49
50
    mode = opportunistic
51
    or
52
    mode = shared
53
54
55
== Operation ==
56
57
Q3. Why can't I see any Forban while using the Wireless network?
58
59
    To discover Forban, there is a simple discovery service looking
60
    for specific broadcast packet in IPv4 and multicast packet in IPv6.
61
    Some Wireless network are blocking those packets between wireless
62
    clients. You must allow broadcast and/or multicast paquet on your
63
    Wireless access-point.
64
65
Q4. I can see Forban in the interface but it can't copy any files?
66
67
    The port used for communication is the TCP port 12555 using the
68
    standard HTTP protocol. Maybe you have a local firewall or packet
69
    filter on the machine blocking the TCP port 1255. The UDP port 12555
70
    is also used for the discovery.
71
72
73
== Security ==
74
75
Q5. Forban can be used to automatically distribute malware or
76
    viruses?
77
78
    Yes but just like any other opportunistic file exchange scheme
79
    or even HTTP services. This can be used as an easy way to exchange
80
    malware or viruses. User must always use the appropriate measure
81
    to protect his computer or mobile device (e.g. using a filter 
82
    list in Forban, using an updated antivirus).
83
84
85
If you have any question or ideas, send them to adulau @ foo . be