Difference between revisions of "Libpcap"

From CBLFS
Jump to navigationJump to search
 
m
 
(14 intermediate revisions by 8 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.at.tcpdump.org/release/libpcap-0.9.4.tar.gz
+
|http://www.tcpdump.org/release/libpcap-{{Libpcap-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
 +
 +
{{Package-Introduction|Libpcap provides a system-independent interface for user-level packet capture. It includes a portable framework for low-level network monitoring.  Applications include network statistics collection, security monitoring, network debugging, etc.|http://www.tcpdump.org/}}
 +
 +
 +
{{Note|Currently, Libpcap does not compile with Flex 2.5.34. With 2.5.33 and 2.5.35 there are no problems}}
  
 
== Dependencies ==
 
== Dependencies ==
  
 
=== Optional ===
 
=== Optional ===
* [[Package four]]
+
* [[bluez]]
* [[Package five]]
+
 
* [[Package six]]
+
== Configuration Information ==
 +
 
 +
{|
 +
|-
 +
|''--enable-ipv6:'' enables full IPv6 support (e.g. capture filters)
 +
|}
  
 
== Non-Multilib ==
 
== Non-Multilib ==
Line 24: Line 34:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/libpcap-0.9.4 &&
+
  install -v -m755 -d /usr/share/doc/libpcap-{{Libpcap-Version}} &&
  install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-0.9.4
+
  install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-{{Libpcap-Version}}
  
 
== Multilib ==
 
== Multilib ==
Line 61: Line 71:
  
 
  make install &&
 
  make install &&
  install -v -m755 -d /usr/share/doc/libpcap-0.9.4 &&
+
  install -v -m755 -d /usr/share/doc/libpcap-{{Libpcap-Version}} &&
  install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-0.9.4
+
  install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-{{Libpcap-Version}}
 +
 
 +
[[Category:Networking Libraries]]

Latest revision as of 05:57, 25 April 2009

Download Source: http://www.tcpdump.org/release/libpcap-1.0.0.tar.gz

Introduction to Libpcap

Libpcap provides a system-independent interface for user-level packet capture. It includes a portable framework for low-level network monitoring. Applications include network statistics collection, security monitoring, network debugging, etc.

Project Homepage: http://www.tcpdump.org/


Caution.png

Note

Currently, Libpcap does not compile with Flex 2.5.34. With 2.5.33 and 2.5.35 there are no problems

Dependencies

Optional

Configuration Information

--enable-ipv6: enables full IPv6 support (e.g. capture filters)

Non-Multilib

Compile the package:

./configure --prefix=/usr &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/libpcap-1.0.0 &&
install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-1.0.0

Multilib

32Bit

Compile the package:

CC="gcc ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

CC="gcc ${BUILDN32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

CC="gcc ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install &&
install -v -m755 -d /usr/share/doc/libpcap-1.0.0 &&
install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-1.0.0