The pcap package

[Tags:bsd3, library]

A system-independent interface for user-level packet capture

[Skip to Readme]


Versions 0.2, 0.3, 0.3.1, 0.3.2, 0.4, 0.4.1, 0.4.2, 0.4.3, 0.4.4, 0.4.5,,
Dependencies base (<5), bytestring (>=0.9), network, time [details]
License BSD3
Author Bryan O'Sullivan, Nick Burlett, Dominic Steinitz, Gregory Wright (original author)
Maintainer Bryan O'Sullivan <>
Stability Unknown
Category Network
Home page
Bug tracker
Source repository head: git clone git://
head: hg clone
Uploaded Thu Aug 30 04:29:18 UTC 2012 by BryanOSullivan
Distributions Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Tumbleweed:
Downloads 3728 total (39 in the last 30 days)
0 []
Status Docs uploaded by user
Build status unknown [no reports yet]




Maintainer's Corner

For package maintainers and hackage trustees

Readme for pcap

Readme for pcap-

A Haskell wrapper around the C libpcap library.

It provides Haskell bindings for most of the libpcap API as of libpcap version 0.9.7. The bindings are divided into a very efficient low-level wrapper, Network.Pcap.Base, and a higher-level module, Network.Pcap, that's easier to use.

To install:

cabal install pcap

Get involved!

Please report bugs via the github issue tracker.

There's also a git mirror:

  • git clone git://

Master Mercurial repository:

  • hg clone

(You can create and contribute changes using either Mercurial or git.)


This library was originally written by Gregory Wright, with contributions by Dominic Steinitz. The current maintainer is Bryan O'Sullivan,