[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">-->
|
---|
[e8d4427c] | 10 | <!ENTITY libpcap-md5sum "0ad921c881fdd3d278046afcd352a151">
|
---|
| 11 | <!ENTITY libpcap-size "424 KB">
|
---|
| 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>
|
---|
| 61 | <para><ulink url="http://www.endace.com/">DAG</ulink></para>
|
---|
[8e75f8b9] | 62 |
|
---|
[73db351a] | 63 | </sect2>
|
---|
[8e75f8b9] | 64 |
|
---|
[73db351a] | 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of Libpcap</title>
|
---|
| 67 |
|
---|
| 68 | <para>Install <application>libpcap</application> by running the
|
---|
| 69 | following commands:</para>
|
---|
| 70 |
|
---|
| 71 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 72 | make</userinput></screen>
|
---|
| 73 |
|
---|
| 74 | <para>This package does not come with a test suite.</para>
|
---|
[8e75f8b9] | 75 |
|
---|
[73db351a] | 76 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[8e75f8b9] | 77 |
|
---|
[e8d4427c] | 78 | <screen role="root"><userinput>make install &&
|
---|
| 79 | install -v -m755 -d /usr/share/doc/libpcap-&libpcap-version; &&
|
---|
| 80 | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-&libpcap-version;</userinput></screen>
|
---|
[73db351a] | 81 |
|
---|
[e8d4427c] | 82 | <!-- <note>
|
---|
[74390482] | 83 | <para>Some applications, including <ulink
|
---|
| 84 | url="http://www.tcpdump.org/">tcpdump</ulink>, require
|
---|
[e8d4427c] | 85 | <option>-enable-yydebug</option> passed to <command>configure</command>
|
---|
[74390482] | 86 | when building <application>libpcap</application> to enable the parser
|
---|
| 87 | debugging code. <application>tcpdump</application> will fail to build if
|
---|
[73db351a] | 88 | you don't pass this parameter.</para>
|
---|
[e8d4427c] | 89 | </note> -->
|
---|
[8e75f8b9] | 90 |
|
---|
[73db351a] | 91 | </sect2>
|
---|
[8e75f8b9] | 92 |
|
---|
[73db351a] | 93 | <sect2 role="content">
|
---|
| 94 | <title>Contents</title>
|
---|
| 95 |
|
---|
| 96 | <segmentedlist>
|
---|
| 97 | <segtitle>Installed Programs</segtitle>
|
---|
| 98 | <segtitle>Installed Library</segtitle>
|
---|
[45d5ee9] | 99 | <segtitle>Installed Directory</segtitle>
|
---|
[8e75f8b9] | 100 |
|
---|
[73db351a] | 101 | <seglistitem>
|
---|
| 102 | <seg>None</seg>
|
---|
| 103 | <seg>libpcap.a</seg>
|
---|
[45d5ee9] | 104 | <seg>/usr/share/doc/libpcap-&libpcap-version;</seg>
|
---|
[73db351a] | 105 | </seglistitem>
|
---|
| 106 | </segmentedlist>
|
---|
[8e75f8b9] | 107 |
|
---|
[73db351a] | 108 | <variablelist>
|
---|
| 109 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 110 | <?dbfo list-presentation="list"?>
|
---|
| 111 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 112 |
|
---|
[73db351a] | 113 | <varlistentry id="libpcap-lib">
|
---|
| 114 | <term><filename class="libraryfile">libpcap.a</filename></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>is a library used for user-level packet capture.</para>
|
---|
| 117 | <indexterm zone="libpcap libpcap-lib">
|
---|
| 118 | <primary sortas="c-libpcap">libpcap.a</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
[8e75f8b9] | 122 |
|
---|
[73db351a] | 123 | </variablelist>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
[4dac741] | 126 |
|
---|
| 127 | </sect1>
|
---|