340
edits
No edit summary |
No edit summary |
||
Line 33: | Line 33: | ||
The capturing tool can be downloaded from the '''Remote packets''' page in the '''Generic''' section. The tool allows to capture packets from any or an specific network device, and also to stream a file to the Allegro Network Manager: | The capturing tool can be downloaded from the '''Remote packets''' page in the '''Generic''' section. The tool allows to capture packets from any or an specific network device, and also to stream a file to the Allegro Network Manager: | ||
* Processing a local pcap file: | |||
./ap_capture_to_remote -f trace.pcap allegro-mm-abcd 8001 | |||
* Live-capture from eth0: | |||
sudo ./ap_capture_to_remote -i eth0 allegro-mm-abcd 8001 | |||
or permit access to network interfaces only instead of full root permissions: | or permit access to network interfaces only instead of full root permissions: | ||
sudo setcap cap_net_raw=ep ap_capture_to_remote | |||
./ap_capture_to_remote -i eth0 allegro-mm-abcd 8001 | ./ap_capture_to_remote -i eth0 allegro-mm-abcd 8001 | ||
* Live-capture from all network devices: | |||
sudo ./ap_capture_to_remote allegro-mm-abcd 1234 | |||
In all examples, host and port number must be set according to the actual Allegro Network Multimeter device and the configured port number. | In all examples, host and port number must be set according to the actual Allegro Network Multimeter device and the configured port number. | ||
=== Alternative tools === | === Alternative tools === | ||
Line 67: | Line 58: | ||
Example uses are: | Example uses are: | ||
* Processing a local pcap file: | |||
cat trace.pcap | netcat allegro-mm-abcd 1234 | |||
* Live-capture via tcpdump: | |||
sudo tcpdump -i eth0 -s 0 -U -w /dev/stdout | netcat allegro-mm-abcd 1234 | |||
{| class="wikitable" | {| class="wikitable" |
edits