| 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 is -i which suppresses 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. |