mirror of
https://github.com/samba-team/samba.git
synced 2024-12-29 11:21:54 +03:00
f131bf8f16
Jeremy. |
||
---|---|---|
.. | ||
closerequest.cpp | ||
closerequest.hpp | ||
COPYING | ||
ethernet.cpp | ||
ethernet.hpp | ||
ip.cpp | ||
ip.hpp | ||
main.cpp | ||
Makefile | ||
ntcreateandxrequest.cpp | ||
ntcreateandxrequest.hpp | ||
ntcreateandxresponse.cpp | ||
ntcreateandxresponse.hpp | ||
readandxrequest.cpp | ||
readandxrequest.hpp | ||
readandxresponse.hpp | ||
README | ||
smb.cpp | ||
smb.hpp | ||
tcp.cpp | ||
tcp.hpp | ||
writeandxrequest.cpp | ||
writeandxrequest.hpp |
pcap2nbench ----------- About This program converts a libpcap network trace file (produced by ethereal or another pcap-aware network analyzer) into a output suitable for nbench. The only option it takes it -i which supresses any reads/writes/closes that use a FID that does not have a corresponding ntcreateandx Limitations 1) pcap2nbench does not handle ip fragmentation. You should not normally see very much fragmentation so this should not really affect a workload. 2) unicode on the wire is not supported. 3) only a limited number of SMBs are supported. Namely: NtCreateAndX, ReadAndX, WriteAndX, and Close. In addition, not all WCTs are supported on each of these SMBs. Future Work It would be nice to use Samba or Ethereal's parsing code to handle the SMBs. At first glance, this seemed non-trivial. It would also be nice to handle some Trans2 SMBs specifically QueryFileInfo and QueryPathInfo.