Interface
Select the interface the traffic will be passing through. Typically this will be the WAN interface.
Host Address
This value is either the Source or Destination IP address. The packet capture will look for this address in either field.
This value can be a domain name or IP address.
If you leave this field blank all packets on the specified interface will be captured
Port
The port can be either the source or destination port. The packet capture will look for this port in either field.
Leave blank if you do not want to the capture to filter by port.
Packet Length
The Packet length is the number of bytes the packet will capture for each payload. Default value is 1500.
This value should be the same as the MTU of the Interface selected above.
Count
This is the number of packets the packet capture will grab. Default value is 100.
Enter 0 (zero) for no count limit.
Level of Detail
This is the level of detail that will be displayed after hitting 'Stop' when the packets have been captured.
Note: This option does not affect the level of detail when downloading the packet capture.
Reverse DNS Lookup >
This check box will cause the packet capture to perform a reverse DNS lookup associated with all IP addresses.
Note: This option can be CPU intensive for large packet captures.
   "; else{ echo " "; } if (file_exists($fp.$fn) and $processisrunning != true){ echo ""; echo "  (The packet capture file was last updated: " . date("F jS, Y g:i:s a.", filemtime($fp.$fn)) . ")"; } ?>
"; if ($processisrunning == true) echo("Packet Capture is running.
"); if ($do_tcpdump) { if ($port != "") { $searchport = "and port ".$port; if($host <> "") $searchport = "and port ".$port; else $searchport = "port ".$port; } else { $searchport = ""; } if ($host != "") { $searchhost = "host " . $host; } else { $searchhost = ""; } if ($count != "0" ) { $searchcount = "-c " . $count; } else { $searchcount = ""; } $selectedif = convert_friendly_interface_to_real_interface_name($selectedif); if ($action == "Start") { echo("Packet Capture is running.
"); mwexec_bg ("/usr/sbin/tcpdump -i $selectedif $searchcount -s $packetlength -w $fp$fn $searchhost $searchport"); } else //action = stop { echo("Packet Capture stopped.

Packets Captured:

"); ?>