ByteBlower 2.x remote capture tool.
Sometimes it becomes handy if the user could capture on a ByteBlower port. This is possible using the ByteBlower Tcl API. But what if the Tcl API is not available or Tcl is not installed on the PC?
Hello byteblower-remote-capture! byteblower-remote-capture is a command line tool which enables the user to start and stop captures on a ByteBlower server. The result will be saved on the local PC.
Note: Rx and Tx capture only supported on servers running version 2.9. Prior systems capture only RX
You can find the tool at following location: https://setup.byteblower.com/software.html#Tools
The tool can be configured using command line arguments:
Argument name | Description | Notes |
--server, -s | The (remote) ByteBlower server to capture on. When this option is not given, localhost will be used. (handy for use on a ByteBlower server) |
optional |
--interface, -i | The name of the ByteBlower interface to capture on. Examples: trunk-1-1, nontrunk-1 |
required |
--out, -o | The name of the file in which the results must be stored. Only PCAP is supported for now. Warning: If the given file name already exists, the file will be overwritten! |
required |
--filter, -f | A well formed BPF capture filter to use. This can be used to only select a portion of the incoming data | optional |
--snaplen | Snaplen in bytes ( Note: Supported since ByteBlower server 2.9 ) | optional |
Examples:
- byteblower-remote-capture --server byteblower-1.excentis.com --interface nontrunk-1 --filter "ip host 10.0.0.1 and ip host 10.0.0.2" --out example1.pcap
- byteblower-remote-capture --server byteblower-1.excentis.com --interface trunk-1-1 --filter "ip host 10.0.0.2 and udp dst 1000" --out example2.pcap
Known issue:
If you run the byteblower-remote-capture tool and you get following error:
wouter@wouter-VirtualBox ~/Downloads $ ./byteblower-remote-capture -s byteblower-dev-1300-1.lab.byteblower.excentis.com -i nontrunk-1 -o t.pcap terminate called after throwing an instance of 'std::bad_cast' what(): std::bad_cast Aborted (core dumped)
Please update your remote-capture-tool to the latest 2.9 version. Older versions of the capture-tool aren't compatible with the latest ByteBlower 2.9 Server