Solved

programming with libipq

Posted on 2003-11-22
4
833 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
can't run or update 'yum' on CentOS 7 7 69
Help with Ubuntu 14.04 LTS 10 137
Linux : when to add the entries in /etc/hosts file 22 100
php56-php-mcrypt for rhel7 php56 1 50
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…
The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 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