[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: library for reading and writing pcap format files



On Tue, Sep 18, 2012 at 10:44 PM, Anil Madhavapeddy <anil@xxxxxxxxxx> wrote:
> Nice!  Minor cleanup: you left the mirage/mirage.mllib file in the
> repo (presumably, the Xen pcap consumers are elsewhere now, and this
> is just the core library and the UNIX version).

Whoops, the freshly-minted 0.3.2 release should fix that. "opam
update" and "opam install" should work (I hope)

I'm going to move the mirage code elsewhere, once I've upstreamed the
low-level network hooks.

Cheers,
Dave

>
> -anil
>
> On 18 Sep 2012, at 17:43, David Scott <scott.dj@xxxxxxxxx> wrote:
>
>> Hi,
>>
>> I've added a simple ocaml pcap reading/writing library based on
>> cstruct. It's available via opam ("opam install pcap" will fetch it if
>> you have set up your opam to consume mirage packages)
>>
>> The tree is here:
>>
>> https://github.com/mirage/ocaml-pcap
>>
>> So far I've used it to extend a mirage xen www server with the ability
>> to capture packets to a block device for later analysis.
>>
>> If you give it a go, let me know how you get on.
>>
>> Cheers,
>> Dave
>>
>



-- 
Dave Scott



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.