DéBlogToi

Qui sommes nous ?

DéBlogToi, c'est quoi ?



Interconnection between IPv6 networks and WSN

L'interconnexion entre le future protocole Internet Protocol version 6 et les réseaux de capteurs sans-fil (WSNs) était le sujet de mon projet en Chine. J'ai effectué mon projet en anglais so I'm gonna switch in English.

I've been working on the interconnection between Internet Protocol version 6 (IPv6) networks and Wireless Sensor Networks (WSN). I successfully finished the project using blip (Berkeley Low-power IP stack) and TinyOS 2.1.1.

I used IEEE 802.15.4 network between the nodes. Moreover, I introduced an adaptation layer called 6LoWPAN (IPv6 over Low-power Wireless Personal Area Network) to solve the compatibily issues between IPv6 layer 3 and IEEE 802.15.4 layer 2. So, 6LoWPAN is like a 2.5 layer between the network and data-link layers.

Below, it's a very simple installation scheme of a sensor network.

Installation scheme IPv6/WSN
As you can see, there is a node directly connected by USB on the computer. This node - or mote - is programed to be used as an IEEE 802.15.4 dongle. Then, you just have to initialize the IP driver on the computer to allow the communication between the root node and the PC. After all, you can ping all the nodes which have found a path to the root node (the dongle).

The interconnection between IPv6 and WSN will be, I hope, standardized soon by the IETF.
However, the security in WSNs has to be improved. For instance, the Advanced Encryption Standard (AES) is not yet integrated in the 6LoWPAN stack. In the future, WSNs could carry very sensitive information and it must be well secure.

At this point, I highly recommend the network administrators to upgrade their networks to support IPv6. When we will reach the maximum number of IPs with the current IPv4, we will be forced to use IPv6 and to welcome the WSNs. I think that IPv6 is very important for the long term development of the Internet. Unfortunately, a switch to IPv6 is impossible as long as most services are not offered over IPv6

Here is my tutorial to install blip and TinyOS on Ubuntu 10.04 Lucid Lynx.

L'ESIEE c'est fini !

Mon stage à Beijing débute Lundi 12 Avril pour 3 mois et demi à la BUPT. Je viens tout juste d'obtenir mon VISA (au prix de 35€ et 2 voyages à Paris).

Je vais travailler sur l'interconnexion entre les réseaux de capteurs sans-fil (WSN) et les réseaux IPv6.

Autre excellente nouvelle, et pas des moindres, je suis accepté à l'UQAM. Je quitte donc la ville d'Amiens ainsi que l'ESIEE pour aller terminer mes études à Montréal durant les deux prochaines années.
Mes années d'apprentissage technique (Réseaux et Télécommunications) sont terminées, je vais maintenant me concentrer sur un Master en Gestion de Projet (M.G.P. UQAM).

A bientôt chez les Pékinois.

FofCap 0.2

FofCap est un petit script en Perl qui sniffe les paquets entre 2 machines quelconques. Cette technique s'appelle ManInTheMiddle et elle utilise l'ARP Cache Poisoning. L'ARP est un protocole liant une adresse physique d'une machine (adresse MAC) à une adresse logique du réseau (adresse IP). Chaque machine possède un cache ARP, c'est un registre associant IP et MAC. Ce cache est régulièrement mis à jour. Quand une machine souhaite dialoguer avec une autre machine qui n'est pas dans son cache ARP, une trame ARP est diffusé en broadcast pour savoir à qui appartient telle IP.


La faiblesse de ce protocole réside dans le fait qu'une adresse logique ne prend pas en compte sa situation sur le réseau. L'ARP cache poisoning consiste à envoyer une trame ARP à une machine A en liant l'adresse logique de la machine B avec mon adresse physique. Il faut faire de même dans l'autre sens avec la machine B. Aprés, ma machine devient une sorte de relais : tous les paquets allant de la machine A vers la machine B transite par ma machine.
IPv6 supprime cette faiblesse car l'accès à une adresse logique est définie selon sa position sur le réseau.

Liens
- Télécharger FofCap 0.2
- ARP : Article wikipedia
- ARP poisoning : Article wikipedia