Book Image

Openswan: Building and Integrating Virtual Private Networks

By : Ken Bantoft, Paul Wouters
Book Image

Openswan: Building and Integrating Virtual Private Networks

By: Ken Bantoft, Paul Wouters

Overview of this book

<p>With the widespread use of wireless and the integration of VPN capabilities in most modern laptops, PDA's and mobile phones, there is a growing desire for encrypting more and more communications to prevent eavesdropping. Can you trust the coffee shop's wireless network? Is your neighbor watching your wireless? Or are your competitors perhaps engaged in industrial espionage? Do you need to send information back to your office while on the road or on board a ship? Or do you just want to securely access your MP3's at home? IPsec is the industry standard for encrypted communication, and Openswan is the de-facto implementation of IPsec for Linux.</p> <p>Whether you are just connecting your home DSL connection with your laptop when you're on the road to access your files at home, or you are building an industry size, military strength VPN infrastructure for a medium to very large organization, this book will assist you in setting up Openswan to suit those needs.</p> <p>The topics discussed range from designing, to building, to configuring Openswan as the VPN gateway to deploy IPsec using Openswan. It not only for Linux clients, but also the more commonly used Operating Systems such as Microsoft Windows and MacOSX. Furthermore it discusses common interoperability examples for third party vendors, such as Cisco, Checkpoint, Netscreen and other common IPsec vendors.</p> <p>The authors bring you first hand information, as they are the official developers of the Openswan code. They have included the latest developments and upcoming issues. With experience in answering questions on a daily basis on the mailing lists since the creation of Openswan, the authors are by far the most experienced in a wide range of successful and not so successful uses of Openswan by people worldwide.</p>
Table of Contents (22 chapters)
Building and Integrating Virtual Private Networks with Openswan
Credits
About the Authors
Acknowledgements
About the Reviewers
Preface

Kernel API Changes between 2.6.12 and 2.6.14


The following table lists relevant changes to the kernel API:

Version

ipsec_kversion.h define

Description

2.6.12+

HAVE_SOCK_ZAPPED

sk->sk_zapped changed to sock_flag(sk, SOCK_ZAPPED)

2.6.12+

NET_26_12_SKALLOC

sk_alloc argument order change

2.6.13+

HAVE_SOCK_SECURITY

skb->security vanished

2.6.13+

HAVE_SKB_NF_DEBUG

skb->nf_debug vanished

2.6.14+

HAVE_TSTAMP

skb->stamp changed to skb->tstamp

2.6.14+

HAVE_INET_SK_SPORT

tcp_tw_bucket vanished for inet_sk()

2.6.14

(only?)

HAVE_MISSING_IP_DEFAULT_TTL

sysctl_ip_default_ttl vanished (by accident?)

If you send the developers patches for newer kernels, please try to use this method of creating a define in ipsec_kversion.h and using that define in the actual KLIPS code.

Normally, these defines should work fine. If you have problems with these defines, or think your problems are related to these, you can override them either in ipsec_kversion.h, or better by setting a proper define for MODULE_EXTRA_INCLUDE.