Learn, hack!

Hacking and security documentation: slides, papers, video and audio recordings. All in high-quality, daily updated, avoiding security crap documents. Spreading hacking knowledge, for free, enjoy. Follow on .


Paul Böhm
Chaos Communication Congress 22th (22C3) 2005
Indexed on
Mar 27, 2013
File name
File size
388.1 MB

This talk will discuss design approaches for writing flexible userland tcp/ip stacks for network hacking tools. Lots of network hacking tools require the same basic infrastructure: reading, writing, decoding and encoding packets, creating and maintaining protocol state, and some application logic. The muXTCP Project aims to develop a reusable implementation of this basic infrastructure. This talk will present and discuss design approaches for implementing a hacker-friendly tcp/ip protocol stack framework. Based on experiences with prototypes, whose sourcecode will be released at the conference, advantages and disadvantages of composition and inheritance based implementation strategies are discussed. Some attention will then be given to Design Patterns that can help in generalizing the framework, and finally a promising hybrid design that is currently in development will be offered for discussion. The framework is written in Python, using Twisted as asynchronous event framework, and Scapy as networking/decoding backend. The design is loosely based on a 1995 Paper named "A Framework for Network Protocol Software".

About us

Secdocs is a project aimed to index high-quality IT security and hacking documents. These are fetched from multiple data sources: events, conferences and generally from interwebs.


Serving 8166 documents and 531.0 GB of hacking knowledge, indexed from 2419 authors from 163 security conferences.


To support this site and keep it alive, you can click on the buttons below. Any help is really appreciated! This service is provided for free, but real money is needed to pay bills.

Flattr this Click here to lend your support to: Keep live SecDocs for an year and make a donation at www.pledgie.com !