1,775
edits
No edit summary |
No edit summary |
||
Line 34: | Line 34: | ||
analyzed. | analyzed. | ||
== ''' Receive packets from remote capture device''' == | == ''' Receive packets from remote capture device''' == | ||
<br> | |||
'''Example uses''' | '''Example uses''' | ||
The capturing tool can be downloaded from the "Remote packets" page in | The capturing tool can be downloaded from the "Remote packets" page in | ||
Line 47: | Line 48: | ||
1. Processing a local pcap file: | 1. Processing a local pcap file: | ||
{| class="wikitable" | |||
| (./ap_capture_to_remote -f trace.pcap allegro-mm-abcd 8001) | |||
|} | |||
2. Live-capture from eth0: | 2. Live-capture from eth0: | ||
{| class="wikitable" | |||
| (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: | ||
{| class="wikitable" | |||
| ( sudo setcap cap_net_raw=ep ap_capture_to_remote | |||
./ap_capture_to_remote -i eth0 allegro-mm-abcd 8001) | |||
|} | |||
3. Live-capture from all network devices: | 3. Live-capture from all network devices: | ||
{| class="wikitable" | |||
| ( sudo ./ap_capture_to_remote allegro-mm-abcd 1234) | |||
|} | |||
In all examples, host and port number must be set according to the | In all examples, host and port number must be set according to the | ||
Line 84: | Line 92: | ||
1. Processing a local pcap file: | 1. Processing a local pcap file: | ||
.. code-block:: none | .. code-block:: none |
edits