"; } ?>

LiquidWeb Traffic Monitoring

Source IP Address Mapping

YOU MUST SELECT A SERVICE TO VIEW DATA!

Plotted on the map are the GeoLocated Coordinates of every Source IP from the last 15 Minutes for the selected service.

$id - $name"; } //Check Connection if ($conn->connect_error) { die("Connection Failed: " . $conn->connect_error); } $conn->close(); ?>

For which service would you like to see data?


(UNIX_TIMESTAMP() - 900) GROUP BY src_ip"; $iplist = mysqli_query($conn1, $query1); echo "Now Viewing data for Destination port: $varPort"; //Initialize your first couple variables $encodedString = ""; //This is the string that will hold all your location data $x = 0; //This is a trigger to keep the string tidy //Multiple rows are returned while ($row = mysqli_fetch_array($iplist)) { $ip = $row['src_ip']; $location = $geoip->lookupLocation($ip); $varDestLink = "List"; //This is to keep an empty first or last line from forming, when the string is split if ( $x == 0 ) { $separator = ""; } else { //Each row in the database is separated in the string by four *'s $separator = "****"; } //Saving to the String, each variable is separated by three &'s $encodedString = $encodedString.$separator. "

IP: ".$row['src_ip']. "
Destinations: ".$varDestLink. //"
Lat: ".$location->latitude. //"
Long: ".$location->longitude. "

&&&".$location->latitude."&&&".$location->longitude; $x = $x + 1; } $conn1->close(); ?>