[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>
|
---|
[4dbbf634] | 22 | <keywordset>
|
---|
| 23 | <keyword role="package">libpcap-&libpcap-version;.tar</keyword>
|
---|
[25475f5] | 24 | <keyword role="ftpdir">libpcap</keyword>
|
---|
[4dbbf634] | 25 | </keywordset>
|
---|
[73db351a] | 26 | </sect1info>
|
---|
[8e75f8b9] | 27 |
|
---|
[73db351a] | 28 | <title>Libpcap-&libpcap-version;</title>
|
---|
[8e75f8b9] | 29 |
|
---|
[73db351a] | 30 | <indexterm zone="libpcap">
|
---|
| 31 | <primary sortas="a-Libpcap">Libpcap</primary>
|
---|
| 32 | </indexterm>
|
---|
| 33 |
|
---|
| 34 | <sect2 role="package">
|
---|
| 35 | <title>Introduction to Libpcap</title>
|
---|
[8e75f8b9] | 36 |
|
---|
[74390482] | 37 | <para><application>libpcap</application> provides functions for user-level
|
---|
[73db351a] | 38 | packet capture, used in low-level network monitoring.</para>
|
---|
[8e75f8b9] | 39 |
|
---|
[73db351a] | 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&libpcap-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&libpcap-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &libpcap-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &libpcap-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &libpcap-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &libpcap-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
[8e75f8b9] | 61 |
|
---|
[73db351a] | 62 | <bridgehead renderas="sect3">Libpcap Dependencies</bridgehead>
|
---|
[8e75f8b9] | 63 |
|
---|
[73db351a] | 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4dbbf634] | 65 | <para role="optional">Software distribution for the
|
---|
[a9d2cbd] | 66 | <ulink url="http://www.endace.com/">DAG</ulink> and
|
---|
| 67 | <ulink url="http://www.intel.com/">Septel</ulink> range of passive
|
---|
| 68 | network monitoring cards.</para>
|
---|
[8e75f8b9] | 69 |
|
---|
[061ec9d] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/libpcap"/></para>
|
---|
| 72 |
|
---|
[73db351a] | 73 | </sect2>
|
---|
[8e75f8b9] | 74 |
|
---|
[73db351a] | 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of Libpcap</title>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>libpcap</application> by running the
|
---|
| 79 | following commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | <para>This package does not come with a test suite.</para>
|
---|
[8e75f8b9] | 85 |
|
---|
[73db351a] | 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 87 |
|
---|
[e8d4427c] | 88 | <screen role="root"><userinput>make install &&
|
---|
| 89 | install -v -m755 -d /usr/share/doc/libpcap-&libpcap-version; &&
|
---|
| 90 | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-&libpcap-version;</userinput></screen>
|
---|
[73db351a] | 91 |
|
---|
[e8d4427c] | 92 | <!-- <note>
|
---|
[74390482] | 93 | <para>Some applications, including <ulink
|
---|
| 94 | url="http://www.tcpdump.org/">tcpdump</ulink>, require
|
---|
[e8d4427c] | 95 | <option>-enable-yydebug</option> passed to <command>configure</command>
|
---|
[74390482] | 96 | when building <application>libpcap</application> to enable the parser
|
---|
| 97 | debugging code. <application>tcpdump</application> will fail to build if
|
---|
[73db351a] | 98 | you don't pass this parameter.</para>
|
---|
[e8d4427c] | 99 | </note> -->
|
---|
[8e75f8b9] | 100 |
|
---|
[73db351a] | 101 | </sect2>
|
---|
[8e75f8b9] | 102 |
|
---|
[73db351a] | 103 | <sect2 role="content">
|
---|
| 104 | <title>Contents</title>
|
---|
| 105 |
|
---|
| 106 | <segmentedlist>
|
---|
| 107 | <segtitle>Installed Programs</segtitle>
|
---|
| 108 | <segtitle>Installed Library</segtitle>
|
---|
[45d5ee9] | 109 | <segtitle>Installed Directory</segtitle>
|
---|
[8e75f8b9] | 110 |
|
---|
[73db351a] | 111 | <seglistitem>
|
---|
| 112 | <seg>None</seg>
|
---|
| 113 | <seg>libpcap.a</seg>
|
---|
[45d5ee9] | 114 | <seg>/usr/share/doc/libpcap-&libpcap-version;</seg>
|
---|
[73db351a] | 115 | </seglistitem>
|
---|
| 116 | </segmentedlist>
|
---|
[8e75f8b9] | 117 |
|
---|
[73db351a] | 118 | <variablelist>
|
---|
| 119 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 120 | <?dbfo list-presentation="list"?>
|
---|
| 121 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 122 |
|
---|
[73db351a] | 123 | <varlistentry id="libpcap-lib">
|
---|
| 124 | <term><filename class="libraryfile">libpcap.a</filename></term>
|
---|
| 125 | <listitem>
|
---|
| 126 | <para>is a library used for user-level packet capture.</para>
|
---|
| 127 | <indexterm zone="libpcap libpcap-lib">
|
---|
| 128 | <primary sortas="c-libpcap">libpcap.a</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
[8e75f8b9] | 132 |
|
---|
[73db351a] | 133 | </variablelist>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
[4dac741] | 136 |
|
---|
| 137 | </sect1>
|
---|