|
|||||||||||
|
Re: Packet rate limiting
From: Matt Bing <mbing(at)nfr.net>
Date: Mon Jul 14 2003 - 18:16:01 EDT sandr8 said:
The BSDs, more specifically bpf, directly enqueue link-layer packets to the interface output buffer, whose size is not tweakable at run-time. Your libnet_toggle_buffered_output() incorrectly assumes the FD is a socket. You might try: if (getsockopt( ... ) != 0) { if (errno == ENOTSOCK) // silently return return 0; else ... } -- Matt Bing NFR Security Rapid Response Team --------------------------------------------------------------------- To unsubscribe, e-mail: libnet-unsubscribe@securityfocus.com For additional commands, e-mail: libnet-help@securityfocus.comReceived on Mon Jul 14 18:34:20 2003 This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 14:02:24 EDT |
||||||||||
|
|||||||||||