Networking Forums

Networking Forums > Computer Networking > Linux Networking > Network Packet Capturing Over Linux 2.4

Reply
Thread Tools Display Modes

Network Packet Capturing Over Linux 2.4

 
 
Abhishek Dike
Guest
Posts: n/a

 
      07-15-2004, 06:54 PM
Hello,

I am a beginer at network programing. I have done Kernel Module
Programing before. i wanted to enquire about that how a network packet
can be captured on Linux 2.4 System? How can the packet be stored
temporarily somewhere and its information can be accessed like source
address, destination address etc? Currently I am reading Computer
Networks By Tenenbaum and some CCNA Meterial.
Please guide me from the scratch. Also suggest reading material.

Abhishek Dike
(E-Mail Removed)
 
Reply With Quote
 
 
 
 
jack
Guest
Posts: n/a

 
      07-16-2004, 11:50 AM
Abhishek Dike wrote:
> Hello,
>
> I am a beginer at network programing. I have done Kernel Module
> Programing before. i wanted to enquire about that how a network packet
> can be captured on Linux 2.4 System? How can the packet be stored
> temporarily somewhere and its information can be accessed like source
> address, destination address etc? Currently I am reading Computer
> Networks By Tenenbaum and some CCNA Meterial.
> Please guide me from the scratch. Also suggest reading material.


libcap.so and it's documentation will give You a good starting point.


Cheers, Jack.

--
----------------------------------------------------------------------
My personal reading of the string "MicroSoft" expands to "NanoWeak"...
 
Reply With Quote
 
Raqueeb Hassan
Guest
Posts: n/a

 
      07-17-2004, 05:42 PM
"libpcap is a system-independent interface for user-level packet
capture. libpcap provides a portable framework for low-level network
monitoring. Applications include network statistics collection,
security monitoring, network debugging, etc."

-- http://sourceforge.net/projects/libpcap/

You might find it interesting when you read the link beneath.

http://www.cet.nau.edu/~mc8/Socket/T.../section1.html

--
raqueeb hassan
kinshasa, drc
 
Reply With Quote
 
Abhishek Dike
Guest
Posts: n/a

 
      07-17-2004, 06:06 PM
Hello,

I got the library libpcap but its in the form of a
application. which I am unable to execute. I have checked file
permissions. So how to use the library?? Or else where to find it in a
better form?? I downloaded it from www.tcpdump.org

Abhishek
 
Reply With Quote
 
Abhishek Dike
Guest
Posts: n/a

 
      07-20-2004, 06:24 PM
(E-Mail Removed) (Raqueeb Hassan) wrote in message news:<(E-Mail Removed). com>...
> "libpcap is a system-independent interface for user-level packet
> capture. libpcap provides a portable framework for low-level network
> monitoring. Applications include network statistics collection,
> security monitoring, network debugging, etc."
>
> -- http://sourceforge.net/projects/libpcap/
>
> You might find it interesting when you read the link beneath.
>
> http://www.cet.nau.edu/~mc8/Socket/T.../section1.html


Please help me with Installation and usage of libpcap library?

I saw the program on the above site
it needs to be compiled as gcc ldev.c -lpcap
but the libcap is not installed as it reports on the consoleBut when I
try to install it via an RPM it reports that it is already installed.

Please help me with Installation and usage of libpcap library?
 
Reply With Quote
 
Abhishek Dike
Guest
Posts: n/a

 
      07-20-2004, 06:24 PM
(E-Mail Removed) (Raqueeb Hassan) wrote in message news:<(E-Mail Removed). com>...
> "libpcap is a system-independent interface for user-level packet
> capture. libpcap provides a portable framework for low-level network
> monitoring. Applications include network statistics collection,
> security monitoring, network debugging, etc."
>
> -- http://sourceforge.net/projects/libpcap/
>
> You might find it interesting when you read the link beneath.
>
> http://www.cet.nau.edu/~mc8/Socket/T.../section1.html


Please help me with Installation and usage of libpcap library?

I saw the program on the above site
it needs to be compiled as gcc ldev.c -lpcap
but the libcap is not installed as it reports on the consoleBut when I
try to install it via an RPM it reports that it is already installed.

Please help me with Installation and usage of libpcap library?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Network packet loss possible inside the linux kernel? Daniel Kay Linux Networking 5 09-24-2007 06:15 PM
Packet Forwarding in Linux. rramesh1@gmail.com Linux Networking 1 10-30-2006 11:26 PM
TCP/IP packet monitoring on linux joker Linux Networking 2 12-22-2005 07:52 PM
Capturing Network traffic dipti.borawake@gmail.com Linux Networking 9 09-22-2005 05:39 AM
Linux/WEP packet routing. Ian Stirling Wireless Internet 0 02-20-2004 03:11 PM



1 2 3 4 5 6 7 8 9 10 11