On Thu, Jan 17, 2002 at 10:14:47AM +0100, Yoann Vandoorselaere wrote:

> This is not an ideal fix in my case (NIDS)... Because there is time
> constrain for certain attack detection... And we wouldn't get the packet
> by the time it was captured.

#ifdef BIOCIMMEDIATE
{
        int n = 1;

        ioctl(pcap_fileno(pcap), BIOCIMMEDIATE, &n);
}
#endif

-d.

---
http://www.monkey.org/~dugsong/
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to