1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
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">
|
---|
8 | <!ENTITY libpcap-download-ftp " ">
|
---|
9 | <!-- <!ENTITY libpcap-download-ftp "ftp://ftp.sunfreeware.com/pub/freeware/SOURCES/libpcap-&libpcap-version;.tar.gz">-->
|
---|
10 | <!ENTITY libpcap-md5sum "79025766e8027df154cb1f32de8a7974">
|
---|
11 | <!ENTITY libpcap-size "416 KB">
|
---|
12 | <!ENTITY libpcap-buildsize "3.2 MB">
|
---|
13 | <!ENTITY libpcap-time "less than 0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="libpcap" xreflabel="libpcap-&libpcap-version;">
|
---|
17 | <?dbhtml filename="libpcap.html"?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>Libpcap-&libpcap-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="libpcap">
|
---|
27 | <primary sortas="a-Libpcap">Libpcap</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to Libpcap</title>
|
---|
32 |
|
---|
33 | <para><application>libpcap</application> provides functions for user-level
|
---|
34 | packet capture, used in low-level network monitoring.</para>
|
---|
35 |
|
---|
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>
|
---|
57 |
|
---|
58 | <bridgehead renderas="sect3">Libpcap Dependencies</bridgehead>
|
---|
59 |
|
---|
60 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
61 | <para>Software distribution for the
|
---|
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>
|
---|
65 |
|
---|
66 | </sect2>
|
---|
67 |
|
---|
68 | <sect2 role="installation">
|
---|
69 | <title>Installation of Libpcap</title>
|
---|
70 |
|
---|
71 | <para>Install <application>libpcap</application> by running the
|
---|
72 | following commands:</para>
|
---|
73 |
|
---|
74 | <screen><userinput>./configure --prefix=/usr &&
|
---|
75 | make</userinput></screen>
|
---|
76 |
|
---|
77 | <para>This package does not come with a test suite.</para>
|
---|
78 |
|
---|
79 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
80 |
|
---|
81 | <screen role="root"><userinput>make install &&
|
---|
82 | install -v -m755 -d /usr/share/doc/libpcap-&libpcap-version; &&
|
---|
83 | install -v -m644 doc/*{html,txt} /usr/share/doc/libpcap-&libpcap-version;</userinput></screen>
|
---|
84 |
|
---|
85 | <!-- <note>
|
---|
86 | <para>Some applications, including <ulink
|
---|
87 | url="http://www.tcpdump.org/">tcpdump</ulink>, require
|
---|
88 | <option>-enable-yydebug</option> passed to <command>configure</command>
|
---|
89 | when building <application>libpcap</application> to enable the parser
|
---|
90 | debugging code. <application>tcpdump</application> will fail to build if
|
---|
91 | you don't pass this parameter.</para>
|
---|
92 | </note> -->
|
---|
93 |
|
---|
94 | </sect2>
|
---|
95 |
|
---|
96 | <sect2 role="content">
|
---|
97 | <title>Contents</title>
|
---|
98 |
|
---|
99 | <segmentedlist>
|
---|
100 | <segtitle>Installed Programs</segtitle>
|
---|
101 | <segtitle>Installed Library</segtitle>
|
---|
102 | <segtitle>Installed Directory</segtitle>
|
---|
103 |
|
---|
104 | <seglistitem>
|
---|
105 | <seg>None</seg>
|
---|
106 | <seg>libpcap.a</seg>
|
---|
107 | <seg>/usr/share/doc/libpcap-&libpcap-version;</seg>
|
---|
108 | </seglistitem>
|
---|
109 | </segmentedlist>
|
---|
110 |
|
---|
111 | <variablelist>
|
---|
112 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
113 | <?dbfo list-presentation="list"?>
|
---|
114 | <?dbhtml list-presentation="table"?>
|
---|
115 |
|
---|
116 | <varlistentry id="libpcap-lib">
|
---|
117 | <term><filename class="libraryfile">libpcap.a</filename></term>
|
---|
118 | <listitem>
|
---|
119 | <para>is a library used for user-level packet capture.</para>
|
---|
120 | <indexterm zone="libpcap libpcap-lib">
|
---|
121 | <primary sortas="c-libpcap">libpcap.a</primary>
|
---|
122 | </indexterm>
|
---|
123 | </listitem>
|
---|
124 | </varlistentry>
|
---|
125 |
|
---|
126 | </variablelist>
|
---|
127 |
|
---|
128 | </sect2>
|
---|
129 |
|
---|
130 | </sect1>
|
---|