Ad-hoc networks offer many new possibilities but also brings up a series of challenges. The goal of this thesis is to develop a subset of the standard OSI layered model that would provide security guarantees with a particular attention to the properties of such networks.