LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Password
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.

Notices


Reply
  Search this Thread
Old 09-01-2008, 11:01 PM   #1
LXer
LXer NewsBot
 
Registered: Dec 2005
Posts: 128,384

Rep: Reputation: 118Reputation: 118
LXer: Reading Packets with libpcap Part 2


Published at LXer:

In the first part of the libpcap series a rudimentry packet reader (or sniffer) was built which could read and print tcp/ip traffic on a particular interface. In the second text a look at some simple checks of the data itself, adding options like interface selection, libpcap filter options and verbosity levels. Some of the checks included are:
  • IP Packet Truncation
  • IP Header Length
  • Ethernet Header Length
The filter options are eventually passed exactly like tcpdump using the tcpdump argv vector copy.
Text


Read More...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can use libpcap to send packets,just like winpcap do? tassadaque Fedora 1 06-05-2008 11:43 AM
LXer: Reading Network Packets Part 1 LXer Syndicated Linux News 0 05-10-2008 11:40 PM
dropping and forwarding packets using libpcap escorp Linux - Networking 2 04-08-2006 08:18 PM
Can't sniff packets using libpcap masterm Linux - Networking 0 05-17-2005 05:58 PM
how can i use libpcap to capture packets for the local loopback interface (lo) ? gajaykrishnan Programming 0 02-22-2005 04:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 09:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration