Process traffic capture from remote device: Difference between revisions

Jump to navigation Jump to search
no edit summary
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:


  .. code-block:: none
{| class="wikitable"
 
  | (./ap_capture_to_remote -f trace.pcap allegro-mm-abcd 8001)
  ./ap_capture_to_remote -f trace.pcap allegro-mm-abcd 8001
|}


 
2. Live-capture from eth0:
2. Live-capture from eth0:
    
    
  .. code-block:: shell
{| class="wikitable"
  | (sudo ./ap_capture_to_remote -i eth0 allegro-mm-abcd 8001)
|}


  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:


  .. code-block:: shell
{| class="wikitable"
  | ( sudo setcap cap_net_raw=ep ap_capture_to_remote
  ./ap_capture_to_remote -i eth0 allegro-mm-abcd 8001)
|}
 


  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:


  .. code-block:: shell
{| class="wikitable"
  | ( sudo ./ap_capture_to_remote allegro-mm-abcd 1234)
|}
 


  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:


{| class="wikitable"
 
    | (packets > 100 and lasttime < 60)
    |}


   .. code-block:: none
   .. code-block:: none
1,775

edits

Navigation menu