Showing posts with label libcap. Show all posts
Showing posts with label libcap. Show all posts

Thursday, November 18, 2010

Using libcap on CentOS 5

1. download libcap source from tcpdump.org
2. install it
2.1. yum install flex
2.2. download byacc from http://invisible-island.net/byacc/byacc.html
2.3. install byacc
3. then compile a sample program will be OK. But when running it, may got an error saying cannot find libcap.so.1. To solve this, use following:
set /usr/local/lib
/usr/lib
into /etc/ld.so.conf and then execute ldconfig command.

Friday, June 26, 2009

libcap tutorials

http://scudong.blogbus.com/logs/11694081.html

Original version:
http://yuba.stanford.edu/~casado/pcap/section1.html