Saturday, November 21, 2009
 
Search Web Link
Search Software

Does libpcap have any disadvantages, which I should be aware of?

Hits: 2602 Rating:  (3.56) votes 1890
Rate: 1-star  2-stars  3-stars  4-stars  5-stars
E-mail this PC Troubleshooting FAQ to a friend E-mail to a friend  save Bookmark this PC Troubleshooting FAQ

Answer:
Yes, libpcap will only use in-kernel packet filtering when using BPF, which is found on BSD derived systems. This means any packet filters used on other operating systems which don't use BPF will be done in user space, thus losing out on a lot of speed and efficiency. This is not what you want, because packet loss can increase when sniffing a busy network.

DEC OSF/1 has an API which has been extended to support BPF-style filters; libpcap does utilize this.

In the future, libpcap may translate BPF style filters to other packet capturing facilities, but this has not been implemented yet as of version 0.3

Refer to question 1.4 to see how packet filters help in reliably monitoring your network.






HOME | ARTICLES | MUSIC | DOWNLOADS | LINK DIRECTORY |  GAMES | TEST-QUIZZES | SITEMAP | ABOUT | HELP
Copyright © 2000 - 2007 Ex-designz. All rights reserved. Website Developed By Dexter Zafra of Myasp-net.com
Link to us | Advertisement | Contact us | Privacy Policy | Terms of use | Accessibility