📄 smbtorture.1
字号:
.\" Title: smbtorture.\" Author: .\" Generator: DocBook XSL Stylesheets v1.73.2 <http://docbook.sf.net/>.\" Date: 06/03/2008.\" Manual: .\" Source: .\".TH "SMBTORTURE" "1" "06/03/2008" "" "".\" disable hyphenation.nh.\" disable justification (adjust text to left margin only).ad l.SH "NAME"smbtorture - Run a series of tests against a SMB server.SH "SYNOPSIS".HP 11\fBsmbtorture\fR.HP 11\fBsmbtorture\fR {//server/share} [\-d\ debuglevel] [\-U\ user%pass] [\-k] [\-N\ numprocs] [\-n\ netbios_name] [\-W\ workgroup] [\-o\ num_operations] [\-e\ num\ files(entries)] [\-O\ socket_options] [\-m\ maximum_protocol] [\-L] [\-c\ CLIENT\.TXT] [\-t\ timelimit] [\-C\ filename] [\-A] [\-p\ port] [\-s\ seed] [\-f\ max_failures] [\-X] {BINDING\-STRING|UNC} {TEST1} [TEST2] [\.\.\.].SH "DESCRIPTION".PPsmbtorture is a testsuite that runs several tests against a SMB server\. All tests are known to succeed against a Windows 2003 server (?)\. Smbtorture\'s primary goal is finding differences in implementations of the SMB protocol and testing SMB servers\..PPAny number of tests can be specified on the command\-line\. If no tests are specified, all tests are run\..PPIf no arguments are specified at all, all available options and tests are listed\..SS "Binding string format".PPThe binding string format is:.PPTRANSPORT:host[flags].PPWhere TRANSPORT is either ncacn_np for SMB, ncacn_ip_tcp for RPC/TCP or ncalrpc for local connections\..PP\'host\' is an IP or hostname or netbios name\. If the binding string identifies the server side of an endpoint, \'host\' may be an empty string\..PP\'flags\' can include a SMB pipe name if using the ncacn_np transport or a TCP port number if using the ncacn_ip_tcp transport, otherwise they will be auto\-determined\..PPother recognised flags are:.PPsign.RS 4enable ntlmssp signing.RE.PPseal.RS 4enable ntlmssp sealing.RE.PPconnect.RS 4enable rpc connect level auth (auth, but no sign or seal).RE.PPvalidate.RS 4enable the NDR validator.RE.PPprint.RS 4enable debugging of the packets.RE.PPbigendian.RS 4use bigendian RPC.RE.PPpadcheck.RS 4check reply data for non\-zero pad bytes.RE.PPFor example, these all connect to the samr pipe:.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver.RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver[samr].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver[\e\epipe\e\esamr].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver[/pipe/samr].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver[samr,sign,print].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver[\e\epipe\e\esamr,sign,seal,bigendian].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:myserver[/pipe/samr,seal,validate].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:.RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_np:[/pipe/samr].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_ip_tcp:myserver.RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_ip_tcp:myserver[1024].RE.sp.RS 4\h'-04'\(bu\h'+03'ncacn_ip_tcp:myserver[1024,sign,seal].RE.sp.RS 4\h'-04'\(bu\h'+03'ncalrpc:.RE.SS "UNC Format".PPThe UNC format is:.PP//server/share.SH "OPTIONS".PP\-d debuglevel.RS 4Use the specified Samba debug level\. A higher debug level means more output\..RE.PP\-U user%pass.RS 4Use the specified username/password combination when logging in to a remote server\..RE.PP\-k.RS 4Use kerberos when authenticating\..RE.PP\-W workgroup.RS 4Use specified name as our workgroup name\..RE.PP\-n netbios_name.RS 4Use specified name as our NetBIOS name\..RE.PP\-O socket_options.RS 4Use specified socket options, equivalent of the smb\.conf option\(lqsocket options\(rq\. See the smb\.conf(5) manpage for details\..RE.PP\-m max_protocol.RS 4Specify the maximum SMB dialect that should be used\. Possible values are: CORE, COREPLUS, LANMAN1, LANMAN2, NT1.RE.PP\-s seed.RS 4Initialize the randomizer using\fIseed\fRas seed\..RE.PP\-L.RS 4Use oplocks\..RE.PP\-X.RS 4Enable dangerous tests\. Use with care! This might crash your server\.\.\..RE.PP\-t timelimit.RS 4Specify the NBENCH time limit in seconds\. Defaults to 600\..RE.PP\-p ports.RS 4Specify ports to connect to\..RE.PP\-c file.RS 4Read NBENCH commands from\fIfile\fRinstead of from CLIENT\.TXT\..RE.PP\-A.RS 4Show not just OK or FAILED but more detailed output\. Used only by DENY test at the moment\..RE.PP\-C filename.RS 4Load a list of UNC names from the specified filename\. Smbtorture instances will connect to a random host from this list\..RE.PP\-N numprocs.RS 4Specify number of smbtorture processes to launch\..RE.PP\-o num_operations.RS 4Number of times some operations should be tried before assuming they\'re output is consistent (default:100)\..RE.PP\-e num_files.RS 4Number of entries to use in certain tests (such as creating X files) (default: 1000)\..RE.PP\-f max_failures.RS 4Number of failures before aborting a test (default: 1)\..RE.SH "VERSION".PPThis man page is correct for version 4\.0 of the Samba suite\..SH "SEE ALSO".PPSamba.SH "AUTHOR".PPThis utility is part of the\fISamba\fR\&[1]suite, which is developed by the global\fISamba Team\fR\&[2]\..PPsmbtorture was written by Andrew Tridgell\..PPThis manpage was written by Jelmer Vernooij\..SH "NOTES".IP " 1." 4Samba.RS 4\%http://www.samba.org/.RE.IP " 2." 4Samba Team.RS 4\%http://www.samba.org/samba/team/.RE
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -