• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/examples/pcap2nbench/
1pcap2nbench
2-----------
3
4About
5
6This program converts a libpcap network trace file (produced by ethereal or
7another pcap-aware network analyzer) into a output suitable for nbench.  The
8only option it takes it -i which supresses any reads/writes/closes that use a
9FID that does not have a corresponding ntcreateandx
10
11Limitations
12
131) pcap2nbench does not handle ip fragmentation.  You should not normally see
14   very much fragmentation so this should not really affect a workload.
152) unicode on the wire is not supported.
163) only a limited number of SMBs are supported.  Namely: NtCreateAndX,
17   ReadAndX, WriteAndX, and Close.  In addition, not all WCTs are supported on
18   each of these SMBs.
19
20Future Work
21
22It would be nice to use Samba or Ethereal's parsing code to handle the SMBs.
23At first glance, this seemed non-trivial.  It would also be nice to handle some
24Trans2 SMBs specifically QueryFileInfo and QueryPathInfo.
25