Solved

programming with libipq

Posted on 2003-11-22
4
828 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
Comment Utility
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
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

744 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

11 Experts available now in Live!

Get 1:1 Help Now