pcap icon indicating copy to clipboard operation
pcap copied to clipboard

Haskell bindings for the pcap library, which provides a low level interface to packet capture systems.

Results 10 pcap issues
Sort by recently updated
recently updated
newest added

I can break this up into separate pull requests if prefer. I've used many small commits to make it easy to see what I changed, and the changes are also...

``` dump is designed so it can be easily used as a default callback function by dispatch or loop ``` Could you make an example? `Callback` is ``` PktHdr ->...

While trying to open .pcap captured with "any" device in GNU/Linux I receive following error: "user error (an interface has a type 113 different from the type of the first...

I've just been nudged to make [Bustle](https://wiki.freedesktop.org/www/Software/Bustle/) use `DLT_DBUS` in the pcap logs it captures now. That bit is written in C, so [no problem](https://github.com/wjt/bustle/commit/4168158511abbdb450cc86b5eb6e09bedd98cfcf), but I'd ideally like the...

The test suite is used to check that Network.Pcap.statistics really throws. Might be useful for something else.

Avoid making Haskell treat C int as long (Haskell's Int). Without this patch: ``` Prelude Network.Pcap> openOffline "test/empty.pcap" >>= statistics Statistics {statReceived = 129485792, statDropped = 1, statIfaceDropped = 129485816}...

The Cabal file does not declare the dependency on libpcap.

The haddock documentation for loop and loopBS indicate that I should expect the number of packets processed to be returned. I was therefore surpised when loopBS lied to me that...

I make use of the following incantation to get the bytestring addresses nicely formatted as octets (my eth0 interface is the first one in the list returned from findAllDevs). ghci>...