Solved

programming with libipq

Posted on 2003-11-22
4
830 Views
Last Modified: 2007-12-19
Hi!
I want to use libpcap to capture the packets from network layer,but I cann't find some examples to learn from.
Can you help me?
0
Comment
Question by:buaafang
4 Comments
 
LVL 5

Accepted Solution

by:
mtmike earned 50 total points
ID: 9805536
libpcap is for packet capturing, libipq is for packet filtering (iptables).

libpcap tutorials:
http://www.cet.nau.edu/~mc8/Socket/Tutorials/section1.html
http://www.tcpdump.org/pcap.htm

libipq manpage:
http://www.cs.princeton.edu/~nakao/libipq.htm
0
 

Expert Comment

by:Anu_Suthakaran
ID: 9871883
Hi

  Libipq is meant for capturing a packet information in a queue : using iptables and gives the programmer a chance to decide on the verdict of the packet.....for ex: Accept packet, drop packet.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now