Ignore:
Timestamp:
May 23, 2008, 6:56:41 AM (17 years ago)
Author:
Paul Smedley
Message:

Update source to 3.0.29

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/docs/manpages/log2pcap.1

    r44 r134  
    1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
    2 .de Sh \" Subsection
    3 .br
    4 .if t .Sp
    5 .ne 5
    6 .PP
    7 \fB\\$1\fR
    8 .PP
    9 ..
    10 .de Sp \" Vertical space (when we can't use .PP)
    11 .if t .sp .5v
    12 .if n .sp
    13 ..
    14 .de Ip \" List item
    15 .br
    16 .ie \\n(.$>=3 .ne \\$3
    17 .el .ne 3
    18 .IP "\\$1" \\$2
    19 ..
    20 .TH "LOG2PCAP" 1 "" "" ""
     1.\"     Title: log2pcap
     2.\"    Author:
     3.\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>
     4.\"      Date: 05/21/2008
     5.\"    Manual: User Commands
     6.\"    Source: Samba 3.0
     7.\"
     8.TH "LOG2PCAP" "1" "05/21/2008" "Samba 3\.0" "User Commands"
     9.\" disable hyphenation
     10.nh
     11.\" disable justification (adjust text to left margin only)
     12.ad l
    2113.SH "NAME"
    2214log2pcap - Extract network traces from Samba log files
    2315.SH "SYNOPSIS"
    2416.HP 1
    25 log2pcap [-h] [-q] [logfile] [pcap_file]
     17log2pcap [\-h] [\-q] [logfile] [pcap_file]
    2618.SH "DESCRIPTION"
    2719.PP
    2820This tool is part of the
    2921\fBsamba\fR(7)
    30 suite.
     22suite\.
    3123.PP
    3224log2pcap
    33 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.
     25reads 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\.
    3426.PP
    3527The log file must have a
     
    4133to get the first 512 data bytes of the packet and
    4234\fB50\fR
    43 to get the whole packet.
     35to get the whole packet\.
    4436.SH "OPTIONS"
    4537.PP
    46 -h
    47 .RS 3n
     38\-h
     39.RS 4
    4840If this parameter is specified the output file will be a hex dump, in a format that is readable by the
    4941text2pcap
    50 utility.
     42utility\.
    5143.RE
    5244.PP
    53 -q
    54 .RS 3n
    55 Be quiet. No warning messages about missing or incomplete data will be given.
     45\-q
     46.RS 4
     47Be quiet\. No warning messages about missing or incomplete data will be given\.
    5648.RE
    5749.PP
    5850logfile
    59 .RS 3n
    60 Samba log file. log2pcap will try to read the log from stdin if the log file is not specified.
     51.RS 4
     52Samba log file\. log2pcap will try to read the log from stdin if the log file is not specified\.
    6153.RE
    6254.PP
    6355pcap_file
    64 .RS 3n
    65 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.
     56.RS 4
     57Name 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\.
    6658.RE
    6759.PP
    68 -h|--help
    69 .RS 3n
    70 Print a summary of command line options.
     60\-h|\-\-help
     61.RS 4
     62Print a summary of command line options\.
    7163.RE
    7264.SH "EXAMPLES"
     
    7466Extract all network traffic from all samba log files:
    7567.PP
    76 
    77 .sp
    78 
     68.RS 4
    7969.nf
    80 
    81                         $ log2pcap < /var/log/* > trace.pcap
     70                        $ log2pcap < /var/log/* > trace\.pcap
    8271       
    8372.fi
    84 
     73.RE
    8574.PP
    8675Convert to pcap using text2pcap:
    8776.PP
    88 
    89 .sp
    90 
     77.RS 4
    9178.nf
    92 
    93         $ log2pcap -h samba.log | text2pcap -T 139,139 - trace.pcap
     79        $ log2pcap \-h samba\.log | text2pcap \-T 139,139 \- trace\.pcap
    9480       
    9581.fi
    96 
     82.RE
    9783.SH "VERSION"
    9884.PP
    99 This man page is correct for version 3.0 of the Samba suite.
     85This man page is correct for version 3\.0 of the Samba suite\.
    10086.SH "BUGS"
    10187.PP
    102 Only SMB data is extracted from the samba logs, no LDAP, NetBIOS lookup or other data.
     88Only SMB data is extracted from the samba logs, no LDAP, NetBIOS lookup or other data\.
    10389.PP
    104 The generated TCP and IP headers don't contain a valid checksum.
     90The generated TCP and IP headers don\'t contain a valid checksum\.
    10591.SH "SEE ALSO"
    10692.PP
     
    10995.SH "AUTHOR"
    11096.PP
    111 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.
     97The 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\.
    11298.PP
    113 This manpage was written by Jelmer Vernooij.
    114 
     99This manpage was written by Jelmer Vernooij\.
Note: See TracChangeset for help on using the changeset viewer.