[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[73db351a] | 7 | <!ENTITY libpcap-download-http "http://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz">
|
---|
[45d5ee9] | 8 | <!ENTITY libpcap-download-ftp " ">
|
---|
| 9 | <!-- <!ENTITY libpcap-download-ftp "ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/libpcap-&libpcap-version;.tar.gz">-->
|
---|
[b2289f7c] | 10 | <!ENTITY libpcap-md5sum "79025766e8027df154cb1f32de8a7974">
|
---|
| 11 | <!ENTITY libpcap-size "416 KB">
|
---|
[e8d4427c] | 12 | <!ENTITY libpcap-buildsize "3.2 MB">
|
---|
| 13 | <!ENTITY libpcap-time "less than 0.1 SBU">
|
---|
[52d29f7] | 14 | ]>
|
---|
| 15 |
|
---|
[4dac741] | 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 |
|
---|
[73db351a] | 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">
|
---|
| 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 |
|
---|
[73db351a] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
| 39 | <para>Download (HTTP): <ulink url="&libpcap-download-http;"/></para>
|
---|
| 40 | </listitem>
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (FTP): <ulink url="&libpcap-download-ftp;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download MD5 sum: &libpcap-md5sum;</para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download size: &libpcap-size;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Estimated disk space required: &libpcap-buildsize;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated build time: &libpcap-time;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | </itemizedlist>
|
---|
[8e75f8b9] | 57 |
|
---|
[73db351a] | 58 | <bridgehead renderas="sect3">Libpcap Dependencies</bridgehead>
|
---|
[8e75f8b9] | 59 |
|
---|
[73db351a] | 60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 61 | <para role="optional">Software distribution for the
|
---|
[a9d2cbd] | 62 | <ulink url="http://www.endace.com/">DAG</ulink> and
|
---|
| 63 | <ulink url="http://www.intel.com/">Septel</ulink> range of passive
|
---|
| 64 | network monitoring cards.</para>
|
---|
[8e75f8b9] | 65 |
|
---|
[061ec9d] | 66 | <para condition="html" role="usernotes">User Notes:
|
---|
| 67 | <ulink url="&blfs-wiki;/libpcap"/></para>
|
---|
| 68 |
|
---|
[73db351a] | 69 | </sect2>
|
---|
[8e75f8b9] | 70 |
|
---|
[73db351a] | 71 | <sect2 role="installation">
|
---|
| 72 | <title>Installation of Libpcap</title>
|
---|
| 73 |
|
---|
| 74 | <para>Install <application>libpcap</application> by running the
|
---|
| 75 | following commands:</para>
|
---|
| 76 |
|
---|
| 77 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 78 | make</userinput></screen>
|
---|
| 79 |
|
---|
| 80 | <para>This package does not come with a test suite.</para>
|
---|
[8e75f8b9] | 81 |
|
---|
[73db351a] | 82 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 83 |
|
---|
[e8d4427c] | 84 | <screen role="root"><userinput>make install &&
|
---|
| 85 | install -v -m755 -d /usr/share/doc/libpcap-&libpcap-version; &&
|
---|
| 86 | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-&libpcap-version;</userinput></screen>
|
---|
[73db351a] | 87 |
|
---|
[e8d4427c] | 88 | <!-- <note>
|
---|
[74390482] | 89 | <para>Some applications, including <ulink
|
---|
| 90 | url="http://www.tcpdump.org/">tcpdump</ulink>, require
|
---|
[e8d4427c] | 91 | <option>-enable-yydebug</option> passed to <command>configure</command>
|
---|
[74390482] | 92 | when building <application>libpcap</application> to enable the parser
|
---|
| 93 | debugging code. <application>tcpdump</application> will fail to build if
|
---|
[73db351a] | 94 | you don't pass this parameter.</para>
|
---|
[e8d4427c] | 95 | </note> -->
|
---|
[8e75f8b9] | 96 |
|
---|
[73db351a] | 97 | </sect2>
|
---|
[8e75f8b9] | 98 |
|
---|
[73db351a] | 99 | <sect2 role="content">
|
---|
| 100 | <title>Contents</title>
|
---|
| 101 |
|
---|
| 102 | <segmentedlist>
|
---|
| 103 | <segtitle>Installed Programs</segtitle>
|
---|
| 104 | <segtitle>Installed Library</segtitle>
|
---|
[45d5ee9] | 105 | <segtitle>Installed Directory</segtitle>
|
---|
[8e75f8b9] | 106 |
|
---|
[73db351a] | 107 | <seglistitem>
|
---|
| 108 | <seg>None</seg>
|
---|
| 109 | <seg>libpcap.a</seg>
|
---|
[45d5ee9] | 110 | <seg>/usr/share/doc/libpcap-&libpcap-version;</seg>
|
---|
[73db351a] | 111 | </seglistitem>
|
---|
| 112 | </segmentedlist>
|
---|
[8e75f8b9] | 113 |
|
---|
[73db351a] | 114 | <variablelist>
|
---|
| 115 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 116 | <?dbfo list-presentation="list"?>
|
---|
| 117 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 118 |
|
---|
[73db351a] | 119 | <varlistentry id="libpcap-lib">
|
---|
| 120 | <term><filename class="libraryfile">libpcap.a</filename></term>
|
---|
| 121 | <listitem>
|
---|
| 122 | <para>is a library used for user-level packet capture.</para>
|
---|
| 123 | <indexterm zone="libpcap libpcap-lib">
|
---|
| 124 | <primary sortas="c-libpcap">libpcap.a</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
[8e75f8b9] | 128 |
|
---|
[73db351a] | 129 | </variablelist>
|
---|
| 130 |
|
---|
| 131 | </sect2>
|
---|
[4dac741] | 132 |
|
---|
| 133 | </sect1>
|
---|