Projecte

General

Perfil

Tasks » Historial » Versió 6

Axel Neumann, 02-08-2012 09:10

1 1 Pau Escrich
h1. Tasks
2
3
h2. IPv6
4 2 Pau Escrich
5 1 Pau Escrich
Right now qMp is using IPv6 ULA between the mesh nodes as main IP protocol.
6 6 Axel Neumann
However clients can only get IPv4 address (by DHCP). 
7 1 Pau Escrich
8 6 Axel Neumann
A) The first step of this task is to give IPv6 ULA to end users (by radvd announcements)
9 1 Pau Escrich
10 6 Axel Neumann
B) Another needed point is all related with IPv6 public addresses. 
11
   A Gateway node can get an IPv6 network range from its ISP.
12
   When another node wants to use this node as gateway, it ask for an available IPv6 range using AHCP.
13
   Then configure it to some interface (br-lan?) and give public IPv6 addresses to end users (by radvd announements)
14
15 3 Pau Escrich
h2. Tinc VPN
16 1 Pau Escrich
17
A VPN between qMp nodes is needed to be able to manage them in remote. Tinc seems the best option.
18 3 Pau Escrich
19 1 Pau Escrich
h2. smsfs
20
21
The bmx6 sms is a cool feature which permits to send small messages (represented as files) to all nodes of the network. 
22 6 Axel Neumann
However there is a restriction of XXX bytes per file (or message). 
23 1 Pau Escrich
24 6 Axel Neumann
A) A nice approach would be to create an abstraction layer of this sms feature, something like sms filesystem. 
25
   Then if the maximum size is M and the file size is N (where N > M). 
26
   The file is splited in X parts ( X = N/M ). Also gzip encryption can be used to minimize the network overhead.
27 3 Pau Escrich
28 6 Axel Neumann
B) Alternative approach is to refactor BMX6 to handle non-atomic descriptions (enable descriptions to be fragmented over multiple packets).
29
   That would scale much better and solve the above restriction from the root.
30
31
C) The fuse module may be used to provide an userspace-transparent filesystem.
32
   There exist a LUA API for fuse (flu): http://piratery.net/flu/index.html http://hg.piratery.net/flu/overview
33
34 1 Pau Escrich
h2. Centralized control
35
36 4 Pau Escrich
A system to control all nodes from the network is needed. Maybe the SMS plugin can be used to broadcast the commands.
37 1 Pau Escrich
Some security must be implemented too (node A can get instructions from B but not from C).
38
39 4 Pau Escrich
h2. Statistics
40
41 1 Pau Escrich
h2. WPA2 + ADHOC
42
43
h2. Iptables Proxy
44
45
h2. bmx6 health daemon
46 6 Axel Neumann
47
 See: http://qmp.cat/issues/155