diff options
author | Karolin Seeger <kseeger@samba.org> | 2012-09-03 21:49:25 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2012-09-03 23:35:37 +0200 |
commit | 75484f491140fb86eaee90dde1dc1c9d4ebe8a41 (patch) | |
tree | 08c03686f244d1c9417b17577a112e3fa36397aa /docs-xml/manpages-3/log2pcap.1.xml | |
parent | 9c44e2e5392926773c9966e8bda924d1e6c9b591 (diff) | |
download | samba-75484f491140fb86eaee90dde1dc1c9d4ebe8a41.tar.gz samba-75484f491140fb86eaee90dde1dc1c9d4ebe8a41.tar.bz2 samba-75484f491140fb86eaee90dde1dc1c9d4ebe8a41.zip |
docs: Rename manpages-3 -> manpages.
This change was suggested by Andrew Bartlett on the samba-technical mailing
list.
Karolin
Autobuild-User(master): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(master): Mon Sep 3 23:35:38 CEST 2012 on sn-devel-104
Diffstat (limited to 'docs-xml/manpages-3/log2pcap.1.xml')
-rw-r--r-- | docs-xml/manpages-3/log2pcap.1.xml | 138 |
1 files changed, 0 insertions, 138 deletions
diff --git a/docs-xml/manpages-3/log2pcap.1.xml b/docs-xml/manpages-3/log2pcap.1.xml deleted file mode 100644 index 5e449b8252..0000000000 --- a/docs-xml/manpages-3/log2pcap.1.xml +++ /dev/null @@ -1,138 +0,0 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!DOCTYPE refentry PUBLIC "-//Samba-Team//DTD DocBook V4.2-Based Variant V1.0//EN" "http://www.samba.org/samba/DTD/samba-doc"> -<refentry id="log2pcap.1"> - -<refmeta> - <refentrytitle>log2pcap</refentrytitle> - <manvolnum>1</manvolnum> - <refmiscinfo class="source">Samba</refmiscinfo> - <refmiscinfo class="manual">User Commands</refmiscinfo> - <refmiscinfo class="version">3.6</refmiscinfo> -</refmeta> - - -<refnamediv> - <refname>log2pcap</refname> - <refpurpose>Extract network traces from Samba log files</refpurpose> -</refnamediv> - -<refsynopsisdiv> - <cmdsynopsis> - <command>log2pcap</command> - <arg choice="opt">-h</arg> - <arg choice="opt">-q</arg> - <arg choice="opt">logfile</arg> - <arg choice="opt">pcap_file</arg> - </cmdsynopsis> -</refsynopsisdiv> - -<refsect1> - <title>DESCRIPTION</title> - - <para>This tool is part of the <citerefentry><refentrytitle>samba</refentrytitle> - <manvolnum>7</manvolnum></citerefentry> suite.</para> - - <para><command>log2pcap</command> reads in a - samba log file and generates a pcap file (readable - by most sniffers, such as ethereal or tcpdump) based on the packet - dumps in the log file.</para> - - <para>The log file must have a <parameter>log level</parameter> - of at least <constant>5</constant> to get the SMB header/parameters - right, <constant>10</constant> to get the first 512 data bytes of the - packet and <constant>50</constant> to get the whole packet. - </para> -</refsect1> - -<refsect1> - <title>OPTIONS</title> - - <variablelist> - <varlistentry> - <term>-h</term> - <listitem><para>If this parameter is - specified the output file will be a - hex dump, in a format that is readable - by the <application>text2pcap</application> utility.</para></listitem> - </varlistentry> - - <varlistentry> - <term>-q</term> - <listitem><para>Be quiet. No warning messages about missing - or incomplete data will be given.</para></listitem> - </varlistentry> - - <varlistentry> - <term>logfile</term> - <listitem><para> - Samba log file. log2pcap will try to read the log from stdin - if the log file is not specified. - </para></listitem> - </varlistentry> - - <varlistentry> - <term>pcap_file</term> - <listitem><para> - Name of the output file to write the pcap (or hexdump) data to. - If this argument is not specified, output data will be written - to stdout. - </para></listitem> - </varlistentry> - - &stdarg.help; - - </variablelist> -</refsect1> - -<refsect1> - <title>EXAMPLES</title> - - <para>Extract all network traffic from all samba log files:</para> - - <para><programlisting> - <prompt>$</prompt> log2pcap < /var/log/* > trace.pcap - </programlisting></para> - - <para>Convert to pcap using text2pcap:</para> - - <para><programlisting> - <prompt>$</prompt> log2pcap -h samba.log | text2pcap -T 139,139 - trace.pcap - </programlisting></para> -</refsect1> - -<refsect1> - <title>VERSION</title> - - <para>This man page is correct for version 3 of the Samba suite.</para> -</refsect1> - -<refsect1> - <title>BUGS</title> - - <para>Only SMB data is extracted from the samba logs, no LDAP, - NetBIOS lookup or other data.</para> - - <para>The generated TCP and IP headers don't contain a valid - checksum.</para> - -</refsect1> - - -<refsect1> - <title>SEE ALSO</title> - <para><citerefentry><refentrytitle>text2pcap</refentrytitle> - <manvolnum>1</manvolnum></citerefentry>, <citerefentry><refentrytitle>ethereal</refentrytitle><manvolnum>1</manvolnum></citerefentry></para> -</refsect1> - -<refsect1> - <title>AUTHOR</title> - - <para>The original Samba software and related utilities - were created by Andrew Tridgell. Samba is now developed - by the Samba Team as an Open Source project similar - to the way the Linux kernel is developed.</para> - - <para>This manpage was written by Jelmer Vernooij.</para> -</refsect1> - -</refentry> |