Jump to content

Coding Divert Sockets/Introduction

From Wikibooks, open books for an open world

Divert sockets are one of the many thinly documented APIs of Linux and BSD kernels. A simple wake up call is all you need to conquer the power of divert sockets and use it in your application.

In this wikibook, you will learn what are divert sockets, when you can use them, how, and why you should. Plus, you will learn how to set IPFW rules and gain a basic understanding of using raw IP sockets.

The more aware you are of networking, the easier it will be to understand the power of divert sockets.