> I wanna know what is difference between tcpdump and libpcap.
> And, what's the BPF(BSD Packet Filtering)?
> When programmer using tcpdump or libpcap, system apply BPF automatically?
> OR, programmer must do something else to use BPF?
> Please, give me answers ! :-)
libpcap is a portable packet capturing library which is able to use
BPF, Linux's SOCK_PACKET sockets, and various other packet capturing
kernel interfaces. It provides a consistent api, allowing you to
write packet capturing programs which use libpcap and can run
unmodified on a variety of operating systems.
tcpdump is a very popular network monitoring application which uses
libpcap.
In order to use tcpdump, you need to install libpcap. You don't need
to worry about BPF (if you're on Linux, you don't have it, if you're
on *bsd, libpcap will automatically use it).
tcpdump and libpcap are available at http://ee.lbl.gov/.
Best of luck,
Andru
--
--------------------------------------------------------------------------
| Andru Luvisi | http://libweb.sonoma.edu/ |
| Programmer/Analyst | Library Resources Online |
| Ruben Salazar Library |-----------------------------------------|
| Sonoma State University | http://www.belleprovence.com/ |
--------------------------------------------------------------------------
I wanna know what is difference between tcpdump and libpcap.
And, what's the BPF(BSD Packet Filtering)?
When programmer using tcpdump or libpcap, system apply BPF automatically?
OR, programmer must do something else to use BPF?
Please, give me answers ! :-)
2. telnetd for Solaris 2.4? or something else to exec apps with??
3. TCPDUMP,LIBPCAP & BPF WHERE CAN I FIND A PORT TO LINUX
5. tcpdump-3.0.2 and libpcap-0.0.6
6. quickcam usb
7. libpcap problem (hdr.len vs tcpdump file size)?
8. New X webpage (Fvwm2-CDEm Site) updated, with decent links
10. tcpdump, libpcap