[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 |
|
---|
| 7 | <!ENTITY libpcap-download-http "http://www.tcpdump.org/release/libpcap-&libpcap-version;.tar.gz">
|
---|
[711cbbe] | 8 | <!ENTITY libpcap-download-ftp "ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/libpcap-&libpcap-version;.tar.gz">
|
---|
[dcd4bfb7] | 9 | <!ENTITY libpcap-md5sum "56a9d4615d8354fcfe8cff8c8443c77b">
|
---|
[52d29f7] | 10 | <!ENTITY libpcap-size "299 KB">
|
---|
[5fb8103d] | 11 | <!ENTITY libpcap-buildsize "2.4 MB">
|
---|
[52d29f7] | 12 | <!ENTITY libpcap-time "0.05 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[4dac741] | 15 | <sect1 id="libpcap" xreflabel="libpcap-&libpcap-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[a92671e] | 20 |
|
---|
[7f72cbf] | 21 | <?dbhtml filename="libpcap.html"?>
|
---|
[711cbbe] | 22 | <title><application>libpcap</application>-&libpcap-version;</title>
|
---|
[a92671e] | 23 | <indexterm zone="libpcap">
|
---|
[a819181] | 24 | <primary sortas="a-Libpcap">Libpcap</primary>
|
---|
[a92671e] | 25 | </indexterm>
|
---|
[4dac741] | 26 |
|
---|
[52d29f7] | 27 | <sect2>
|
---|
[711cbbe] | 28 | <title>Introduction to <application>libpcap</application></title>
|
---|
| 29 |
|
---|
| 30 | <para><application>libpcap</application> provides functions for user-level
|
---|
| 31 | packet capture, used in low-level network monitoring.</para>
|
---|
| 32 |
|
---|
[52d29f7] | 33 | <sect3><title>Package information</title>
|
---|
| 34 | <itemizedlist spacing='compact'>
|
---|
[5fb8103d] | 35 | <listitem><para>Download (HTTP):
|
---|
| 36 | <ulink url="&libpcap-download-http;"/></para></listitem>
|
---|
| 37 | <listitem><para>Download (FTP):
|
---|
| 38 | <ulink url="&libpcap-download-ftp;"/></para></listitem>
|
---|
[dcd4bfb7] | 39 | <listitem><para>Download MD5 sum: &libpcap-md5sum;</para></listitem>
|
---|
[52d29f7] | 40 | <listitem><para>Download size: &libpcap-size;</para></listitem>
|
---|
[5fb8103d] | 41 | <listitem><para>Estimated disk space required:
|
---|
| 42 | &libpcap-buildsize;</para></listitem>
|
---|
| 43 | <listitem><para>Estimated build time:
|
---|
| 44 | &libpcap-time;</para></listitem></itemizedlist>
|
---|
| 45 | </sect3>
|
---|
| 46 |
|
---|
| 47 | <sect3><title><application>libpcap</application> dependencies</title>
|
---|
| 48 | <sect4><title>Optional</title>
|
---|
| 49 | <para><ulink url="http://www.endace.com/">DAG</ulink></para>
|
---|
| 50 | </sect4>
|
---|
[52d29f7] | 51 | </sect3>
|
---|
[711cbbe] | 52 |
|
---|
[52d29f7] | 53 | </sect2>
|
---|
| 54 |
|
---|
| 55 | <sect2>
|
---|
[711cbbe] | 56 | <title>Installation of <application>libpcap</application></title>
|
---|
| 57 |
|
---|
| 58 | <para>Install <application>libpcap</application> by running the
|
---|
[52d29f7] | 59 | following commands:</para>
|
---|
[711cbbe] | 60 |
|
---|
[52d29f7] | 61 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
[a92671e] | 62 | make</command></userinput></screen>
|
---|
| 63 |
|
---|
| 64 | <para>This package does not come with a test suite.</para>
|
---|
| 65 |
|
---|
| 66 | <para>Now, as the root user:</para>
|
---|
| 67 |
|
---|
| 68 | <screen><userinput role="root"><command>make install</command></userinput></screen>
|
---|
[711cbbe] | 69 |
|
---|
[fdcfc4cf] | 70 | <note><para>Some applications, including <ulink
|
---|
| 71 | url="http://www.tcpdump.org/">tcpdump</ulink>, require
|
---|
| 72 | <option>--enable-yydebug</option> passed to <command>configure</command>
|
---|
| 73 | when building <application>libpcap</application> to enable the parser
|
---|
| 74 | debugging code. <application>tcpdump</application> will fail to build if
|
---|
| 75 | you don't pass this parameter.</para></note>
|
---|
| 76 |
|
---|
[52d29f7] | 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2>
|
---|
| 80 | <title>Contents</title>
|
---|
[711cbbe] | 81 |
|
---|
[a92671e] | 82 | <segmentedlist>
|
---|
| 83 | <segtitle>Installed Programs</segtitle>
|
---|
| 84 | <segtitle>Installed Library</segtitle>
|
---|
| 85 | <segtitle>Installed Directories</segtitle>
|
---|
| 86 |
|
---|
| 87 | <seglistitem>
|
---|
| 88 | <seg>None</seg>
|
---|
| 89 | <seg>libpcap.a</seg>
|
---|
| 90 | <seg>None</seg>
|
---|
| 91 | </seglistitem>
|
---|
| 92 | </segmentedlist>
|
---|
| 93 |
|
---|
| 94 | <variablelist>
|
---|
| 95 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 96 | <?dbfo list-presentation="list"?>
|
---|
| 97 |
|
---|
| 98 | <varlistentry id="libpcap-lib">
|
---|
| 99 | <term><filename class="libraryfile">libpcap.a</filename></term>
|
---|
| 100 | <listitem>
|
---|
| 101 | <para>is a library used for user-level packet capture.</para>
|
---|
| 102 | <indexterm zone="libpcap libpcap-lib">
|
---|
| 103 | <primary sortas="c-libpcap">libpcap.a</primary>
|
---|
| 104 | </indexterm>
|
---|
| 105 | </listitem>
|
---|
| 106 | </varlistentry>
|
---|
| 107 |
|
---|
| 108 | </variablelist>
|
---|
[711cbbe] | 109 |
|
---|
[52d29f7] | 110 | </sect2>
|
---|
[4dac741] | 111 |
|
---|
| 112 | </sect1>
|
---|