?
Solved

programming with libipq

Posted on 2003-11-22
4
Medium Priority
?
838 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 5

Accepted Solution

by:
mtmike earned 200 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…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month12 days, 12 hours left to enroll

777 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