Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 07-15-2005, 05:20 AM   #1
LQ Newbie
Registered: Jul 2005
Posts: 1

Rep: Reputation: 0
Pcap Files


I am a comlete newbie in linux so forgive me is ask dum questions (also tell me if i am posting in the wrong place).

I need to write a program that sniffs packets coming thru and pick some of them out but i dont want to do it directly from the interface. I understand that there is some mechanism in linux that writes all packets to a temporary file (new one every 10 minutes?) but i cant find anything about it on the web. can some one explain it or direct me to where i can read about it.

Things i know i need to know are:

In what directory is is saved
what is the exact format of the file
which is better: analyze it by myself or with pcap lib.

And probably many more things i dont even know i need to know...

please advise...



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
pcap library jagman Programming 1 04-27-2005 08:35 AM
bandwidth calcuation using pcap johnnyde Programming 1 03-27-2005 05:11 AM
splitting pcap dump files captgoodnight Linux - Security 4 07-27-2004 01:12 AM
mac address with pcap SeanatIL Programming 2 07-19-2004 11:57 AM
Questions on pcap.h Traveler_Q Programming 2 02-25-2004 04:03 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:23 AM.

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