[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a3345dc8] | 7 | <!ENTITY libpcap-download-http "&sources-anduin-http;/l/libpcap-&libpcap-version;.tar.gz">
|
---|
| 8 | <!-- <!ENTITY libpcap-download-http "http://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz"> -->
|
---|
[fb2e525] | 9 | <!ENTITY libpcap-download-ftp "&gentoo-ftp-repo;/libpcap-&libpcap-version;.tar.gz">
|
---|
[3724ba1] | 10 | <!ENTITY libpcap-md5sum "9ad1358c5dec48456405eac197a46d3d">
|
---|
| 11 | <!ENTITY libpcap-size "512 KB">
|
---|
[3fef5b2] | 12 | <!ENTITY libpcap-buildsize "4 MB">
|
---|
[2481e2a6] | 13 | <!ENTITY libpcap-time "less than 0.1 SBU">
|
---|
[52d29f7] | 14 | ]>
|
---|
| 15 |
|
---|
[fd680fb] | 16 | <sect1 id="libpcap" xreflabel="libpcap-&libpcap-version;">
|
---|
[73db351a] | 17 | <?dbhtml filename="libpcap.html"?>
|
---|
[8e75f8b9] | 18 |
|
---|
[73db351a] | 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
[8e75f8b9] | 23 |
|
---|
[2481e2a6] | 24 | <title>libpcap-&libpcap-version;</title>
|
---|
[8e75f8b9] | 25 |
|
---|
[73db351a] | 26 | <indexterm zone="libpcap">
|
---|
| 27 | <primary sortas="a-Libpcap">Libpcap</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
[2481e2a6] | 31 | <title>Introduction to libpcap</title>
|
---|
[8e75f8b9] | 32 |
|
---|
[74390482] | 33 | <para><application>libpcap</application> provides functions for user-level
|
---|
[73db351a] | 34 | packet capture, used in low-level network monitoring.</para>
|
---|
[8e75f8b9] | 35 |
|
---|
[3724ba1] | 36 | &lfs65_checked;
|
---|
| 37 |
|
---|
[73db351a] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&libpcap-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&libpcap-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &libpcap-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &libpcap-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &libpcap-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &libpcap-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
[8e75f8b9] | 59 |
|
---|
[2481e2a6] | 60 | <bridgehead renderas="sect3">libpcap Dependencies</bridgehead>
|
---|
[8e75f8b9] | 61 |
|
---|
[73db351a] | 62 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 63 | <para role="optional">Software distribution for the
|
---|
[a9d2cbd] | 64 | <ulink url="http://www.endace.com/">DAG</ulink> and
|
---|
| 65 | <ulink url="http://www.intel.com/">Septel</ulink> range of passive
|
---|
[a41f643] | 66 | network monitoring cards and
|
---|
[3724ba1] | 67 | <ulink url="http://www.bluez.org">BlueZ</ulink></para>
|
---|
[8e75f8b9] | 68 |
|
---|
[061ec9d] | 69 | <para condition="html" role="usernotes">User Notes:
|
---|
| 70 | <ulink url="&blfs-wiki;/libpcap"/></para>
|
---|
| 71 |
|
---|
[73db351a] | 72 | </sect2>
|
---|
[8e75f8b9] | 73 |
|
---|
[73db351a] | 74 | <sect2 role="installation">
|
---|
[2481e2a6] | 75 | <title>Installation of libpcap</title>
|
---|
[73db351a] | 76 |
|
---|
| 77 | <para>Install <application>libpcap</application> by running the
|
---|
| 78 | following commands:</para>
|
---|
| 79 |
|
---|
| 80 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 81 | make</userinput></screen>
|
---|
| 82 |
|
---|
| 83 | <para>This package does not come with a test suite.</para>
|
---|
[8e75f8b9] | 84 |
|
---|
[73db351a] | 85 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 86 |
|
---|
[3724ba1] | 87 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 88 |
|
---|
| 89 | <!-- Package does not contain any documentation.
|
---|
| 90 |
|
---|
[e8d4427c] | 91 | install -v -m755 -d /usr/share/doc/libpcap-&libpcap-version; &&
|
---|
[3724ba1] | 92 | install -v -m644 doc/* /usr/share/doc/libpcap-&libpcap-version;</userinput></screen> -->
|
---|
[73db351a] | 93 |
|
---|
[e8d4427c] | 94 | <!-- <note>
|
---|
[74390482] | 95 | <para>Some applications, including <ulink
|
---|
| 96 | url="http://www.tcpdump.org/">tcpdump</ulink>, require
|
---|
[e8d4427c] | 97 | <option>-enable-yydebug</option> passed to <command>configure</command>
|
---|
[74390482] | 98 | when building <application>libpcap</application> to enable the parser
|
---|
| 99 | debugging code. <application>tcpdump</application> will fail to build if
|
---|
[73db351a] | 100 | you don't pass this parameter.</para>
|
---|
[e8d4427c] | 101 | </note> -->
|
---|
[8e75f8b9] | 102 |
|
---|
[73db351a] | 103 | </sect2>
|
---|
[8e75f8b9] | 104 |
|
---|
[73db351a] | 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
[3724ba1] | 109 | <segtitle>Installed Program</segtitle>
|
---|
[73db351a] | 110 | <segtitle>Installed Library</segtitle>
|
---|
[45d5ee9] | 111 | <segtitle>Installed Directory</segtitle>
|
---|
[8e75f8b9] | 112 |
|
---|
[73db351a] | 113 | <seglistitem>
|
---|
[3724ba1] | 114 | <seg>libpcap-config</seg>
|
---|
[73db351a] | 115 | <seg>libpcap.a</seg>
|
---|
[3724ba1] | 116 | <seg>/usr/include/pcap</seg>
|
---|
[73db351a] | 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
[8e75f8b9] | 119 |
|
---|
[73db351a] | 120 | <variablelist>
|
---|
| 121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 122 | <?dbfo list-presentation="list"?>
|
---|
| 123 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 124 |
|
---|
[3724ba1] | 125 | <varlistentry id="libpcap-config">
|
---|
| 126 | <term><command>libpcap-config</command></term>
|
---|
| 127 | <listitem>
|
---|
| 128 | <para>provides configuration information for libpcap.</para>
|
---|
| 129 | <indexterm zone="libpcap libpcap-config">
|
---|
| 130 | <primary sortas="c-libpcap">libpcap-config</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
| 134 |
|
---|
[73db351a] | 135 | <varlistentry id="libpcap-lib">
|
---|
| 136 | <term><filename class="libraryfile">libpcap.a</filename></term>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para>is a library used for user-level packet capture.</para>
|
---|
| 139 | <indexterm zone="libpcap libpcap-lib">
|
---|
| 140 | <primary sortas="c-libpcap">libpcap.a</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
[8e75f8b9] | 144 |
|
---|
[73db351a] | 145 | </variablelist>
|
---|
| 146 |
|
---|
| 147 | </sect2>
|
---|
[4dac741] | 148 |
|
---|
| 149 | </sect1>
|
---|