PktTap is a high performance Linux network socket which is optimized for use by packet monitoring applications. It offers a simple API similar to pcap, supports efficient filtering of UDP and TCP traffic, and provides flexible packet buffer management.
Be the first to post a text review of PktTap. Rate and review a project by clicking thumbs up or thumbs down in the right column.
This release introduces support for monitoring multiple Ethernet interfaces simultaneously. It also fixes a bug that could cause the packet ring to lock up.
V1.0.0 29-Jan-2007 - Initial release. V1.0.1 26-Feb-2007 - Added support for Ethernet Bonding (AKA Link Aggregation). - Fixed bug in dev.c patch that caused the following: IF monitored device does not support NAPI AND transparent mode is enabled THEN packets are added to the ring twice and ring may be corrupted. - Fixed bug in user library that could cause hung ring. V1.0.2 28-Feb-2007 - Re-fix bug that caused hung ring. Back out V1.0.1 change in user/libpkttap/pkttap.c and instead fix the problem in kernel code. Prevent insert index from catching up with remove index. V1.0.3 20-Feb-2009 - Re-re-fix bug causing hung ring. It is not the remove_idx but the return_idx that should never match the insert_idx. The previous "fix" allowed deadlock when all packets were read out of the ring but none were returned back to the ring. - Fix kernel crash caused by closing the pkttap socket while simultaneously receiving a packet. Race condition allowed add_skb_to_ring() to be called with null config. - Add new user function to API: pkttap_next_nb() provides a non-blocking call to get the next available packet. - Add support for monitoring multiple interfaces. - Add ring quota system to ensure a minimum number of buffers per monitored interface.
V1.0.2 28-Feb-2007 - Re-fix bug that caused hung ring. Back out V1.0.1 change in user/libpkttap/pkttap.c and instead fix the problem in kernel code. Prevent insert index from catching up with remove index.
Be the first person to add a text review.
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use
Thanks for your rating!
Would you also like to write a review?
Thanks for your review!
Get credit for your review by logging in via OpenID. Click your account provider: