Solved

programming with libipq

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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 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…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

733 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