| Last change
 on this file since 1004 was             414, checked in by Herwig Bauernfeind, 16 years ago | 
        
          | 
Samba 3.5.0: Initial import
 | 
        
          | File size:
            922 bytes | 
      
      
| Line |  | 
|---|
| 1 | pcap2nbench | 
|---|
| 2 | ----------- | 
|---|
| 3 |  | 
|---|
| 4 | About | 
|---|
| 5 |  | 
|---|
| 6 | This program converts a libpcap network trace file (produced by ethereal or | 
|---|
| 7 | another pcap-aware network analyzer) into a output suitable for nbench.  The | 
|---|
| 8 | only option it takes it -i which supresses any reads/writes/closes that use a | 
|---|
| 9 | FID that does not have a corresponding ntcreateandx | 
|---|
| 10 |  | 
|---|
| 11 | Limitations | 
|---|
| 12 |  | 
|---|
| 13 | 1) pcap2nbench does not handle ip fragmentation.  You should not normally see | 
|---|
| 14 | very much fragmentation so this should not really affect a workload. | 
|---|
| 15 | 2) unicode on the wire is not supported. | 
|---|
| 16 | 3) 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 |  | 
|---|
| 20 | Future Work | 
|---|
| 21 |  | 
|---|
| 22 | It would be nice to use Samba or Ethereal's parsing code to handle the SMBs. | 
|---|
| 23 | At first glance, this seemed non-trivial.  It would also be nice to handle some | 
|---|
| 24 | Trans2 SMBs specifically QueryFileInfo and QueryPathInfo. | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.