[Click] Logging packet data to disk

Eddie Kohler kohler at cs.ucla.edu
Mon Nov 28 02:20:49 EST 2005


Ramanathan,

An element that logs packets in pcap format already exists, it is called 
ToDump.  It is difficult to write packets directly to disk from the kernel. 
See John's mail.

Thanks,
Eddie


Ramanathan Palaniappan wrote:
> Hi,
> 
> I have been working on a small element that logs all the received packets in
> pcap format. I am trying to do this in the linux kernel module and I am kind
> of not sure how to go about writing the packets to disk from the kernel. I
> am looking for an approach that wll take minimal amount of overhead.
> 
> Thanks,
> Ramanathan
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
> 


More information about the click mailing list