Skip to main content
Back to USENIX
  • Conferences
  • Students
Sign in

USENIX Conference Policies

  • Event Code of Conduct
  • Conference Network Policy
  • Statement on Environmental Responsibility Policy

Mbuf Issues in 4.4BSD IPv6 Support--Experiences from the KAME IPv6/IPsec Implementation

The 4.4BSD network stack has made certain assumptions regarding the packets it will handle. In particular, 4.4BSD assumes that (1) the total protocol header length is shorter than or equal to MHLEN, usually 100 bytes, and (2) there are a limited number of protocol headers on a packet. Neither of these assumptions hold any longer, due to the way IPv6/IPsec specifications are written.

We at the KAME project are implementing IPv6 and IPsec support code on top of 4.4BSD. To cope with the problems, we have introduced the following changes: (1) a new function called m_pulldown, which adjusts the mbuf chain with a minimal number of copies/allocations, and (2) a new calling sequence for parsing inbound packet headers. These changes allow us to manipulate incoming packets in a safer, more efficient, and more spec-conformant way. The technique described in this paper is integrated into the KAME IPv6/IPsec stack kit, and is freely available under BSD copyright. The KAME codebase is being merged into NetBSD, OpenBSD and FreeBSD. An integration into BSD/OS is planned.

Jun-ichiro itojun Hagino, Internet Initiative Japan Inc.

BibTeX
@inproceedings {271327,
author = {Jun-ichiro itojun Hagino},
title = {Mbuf Issues in {4.4BSD} {IPv6} {Support--Experiences} from the {KAME} {IPv6/IPsec} Implementation},
booktitle = {2000 USENIX Annual Technical Conference (USENIX ATC 00)},
year = {2000},
address = {San Diego, CA},
url = {https://www.usenix.org/conference/2000-usenix-annual-technical-conference/mbuf-issues-44bsd-ipv6-support-experiences-kame},
publisher = {USENIX Association},
month = jun
}
Download

Links

Paper: 
http://www.usenix.org/publications/library/proceedings/usenix2000/freenix/full_papers/hagino/hagino.pdf
Paper (HTML): 
http://www.usenix.org/publications/library/proceedings/usenix2000/freenix/full_papers/hagino/hagino_html/index.html
  • Log in or register to post comments

© USENIX
EIN 13-3055038

  • Privacy Policy
  • Contact Us