Minor file structure updates

This commit is contained in:
Russ 2015-08-25 23:37:44 -04:00
parent a7d9b08865
commit b9781ea0b6
10 changed files with 79 additions and 80 deletions

View File

@ -6,7 +6,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Destination IPs by Source</h3> <h3>Destination IPs by Source</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>
@ -82,10 +82,10 @@
//If there are results of the query, display them. //If there are results of the query, display them.
if ($result->num_rows >0) { if ($result->num_rows >0) {
echo "Now viewing data for Destination Port: $varPort"; echo "Now viewing data for Destination Port: $varPort";
echo "<table align='center'><tr><th colspan='2'>Source IP: $varIP <a href=http://utilities.mon.liquidweb.com/netdata/whoislookup.php?formIPaddr=".$varIP." target=_blank>Whois</a></tr></th><tr><th>Destination IPs</th><th>Netblock</tr>"; echo "<table align='center'><tr><th colspan='2'>Source IP: $varIP <a href=http://DOMAIN.com/netdata/whoislookup.php?formIPaddr=".$varIP." target=_blank>Whois</a></tr></th><tr><th>Destination IPs</th><th>Netblock</tr>";
while ($row = $result->fetch_assoc()) { while ($row = $result->fetch_assoc()) {
echo "<tr><td>".$row["dst_ip"]."</td><td><a href=https://billing.int.liquidweb.com/mysql/content/admin/netblock/assignment/search.mhtml?customer=".$row["dst_ip"]."&submit=Search target=_blank>Netblock</a></tr>"; echo "<tr><td>".$row["dst_ip"]."</td><td><a href=https://DOMAIN.com/ips/assignment/search.mhtml?customer=".$row["dst_ip"]."&submit=Search target=_blank>Internal IP</a></tr>";
} }
echo "</table>"; echo "</table>";
} else { } else {

View File

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Inbound Traffic Graphs</h3> <h3>Inbound Traffic Graphs</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>

View File

@ -27,7 +27,6 @@
<li><a href="mapping.php">Traffic Map</a></li> <li><a href="mapping.php">Traffic Map</a></li>
</ul> </ul>
</li> </li>
<li><a href="https://noc.liquidweb.com/blackhole/" target="_blank">NOC Nullrouter</a></li>
</ul> </ul>
</nav> </nav>
</body> </body>

View File

@ -86,7 +86,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>
<div name=content> <div name=content>
@ -112,7 +112,7 @@
echo "<br>"; echo "<br>";
echo "<table align='center'><tr><th>Source IP</th><th># of targets</th><th># of connections</th><th>Source Whois</th><th>Destination IPs</th></tr>"; echo "<table align='center'><tr><th>Source IP</th><th># of targets</th><th># of connections</th><th>Source Whois</th><th>Destination IPs</th></tr>";
while ($row = $result->fetch_assoc()) { while ($row = $result->fetch_assoc()) {
echo "<tr><td>".$row["src_ip"]."</td><td>".$row["COUNT(DISTINCT(dst_ip))"]."</td><td>".$row["COUNT(src_ip)"]."</td><td><a href=http://utilities.mon.liquidweb.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></td><td><a href=http://utilities.mon.liquidweb.com/netdata/destinationips.php?formIP=".$row["src_ip"]."&formPort=22 target=_blank>List</a></td></tr>"; echo "<tr><td>".$row["src_ip"]."</td><td>".$row["COUNT(DISTINCT(dst_ip))"]."</td><td>".$row["COUNT(src_ip)"]."</td><td><a href=http://DOMAIN.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></td><td><a href=http://DOMAIN.com/netdata/destinationips.php?formIP=".$row["src_ip"]."&formPort=22 target=_blank>List</a></td></tr>";
} }
echo "</table>"; echo "</table>";
} else { } else {

View File

@ -90,7 +90,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Source IP Address Mapping</h3> <h3>Source IP Address Mapping</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>

View File

@ -6,7 +6,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Source IP Search</h3> <h3>Source IP Search</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>
@ -85,7 +85,7 @@
echo "<table align='center'><tr><th>Source IP</th><th># of targets</th><th># of connections</th><th>Source Whois</th><th>Destination IPs</th></tr>"; echo "<table align='center'><tr><th>Source IP</th><th># of targets</th><th># of connections</th><th>Source Whois</th><th>Destination IPs</th></tr>";
while ($row = $result->fetch_assoc()) { while ($row = $result->fetch_assoc()) {
echo "<tr><td>".$row["src_ip"]."</a></td><td>".$row["COUNT(DISTINCT(dst_ip))"]."</td><td>".$row["COUNT(src_ip)"]."</td><td><a href=http://utilities.mon.liquidweb.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></td><td><a href=http://utilities.mon.liquidweb.com/netdata/destinationips.php?formIP=".$row["src_ip"]."&formPort=$varPort target=_blank>List</a></td></tr>"; echo "<tr><td>".$row["src_ip"]."</a></td><td>".$row["COUNT(DISTINCT(dst_ip))"]."</td><td>".$row["COUNT(src_ip)"]."</td><td><a href=http://DOMAIN.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></td><td><a href=http://DOMAIN.com/netdata/destinationips.php?formIP=".$row["src_ip"]."&formPort=$varPort target=_blank>List</a></td></tr>";
} }
echo "</table>"; echo "</table>";
} else { } else {

View File

@ -6,7 +6,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Source IPs by Destination</h3> <h3>Source IPs by Destination</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>
@ -82,10 +82,10 @@
//If there are results of the query, display them. //If there are results of the query, display them.
if ($result->num_rows >0) { if ($result->num_rows >0) {
echo "Now viewing data for Destination Port: $varPort"; echo "Now viewing data for Destination Port: $varPort";
echo "<table align='center'><tr><th colspan='2'>Destination IP: $varIP <a href=https://billing.int.liquidweb.com/mysql/content/admin/netblock/assignment/search.mhtml?customer=".$varIP."&submit=Search target=_blank>Netblock</a></tr></th><tr><th>Source IPs</th><th>Whois</tr>"; echo "<table align='center'><tr><th colspan='2'>Destination IP: $varIP <a href=https://DOMAIN.com/ips/assignment/search.mhtml?customer=".$varIP."&submit=Search target=_blank>Netblock</a></tr></th><tr><th>Source IPs</th><th>Whois</tr>";
while ($row = $result->fetch_assoc()) { while ($row = $result->fetch_assoc()) {
echo "<tr><td>".$row["src_ip"]."</td><td><a href=http://utilities.mon.liquidweb.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></tr>"; echo "<tr><td>".$row["src_ip"]."</td><td><a href=http://DOMAIN.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></tr>";
} }
echo "</table>"; echo "</table>";
} else { } else {

View File

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Top Destination IPs</h3> <h3>Top Destination IPs</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>
@ -81,7 +81,7 @@
echo "<br>"; echo "<br>";
echo "<table align='center'><tr><th>Destination IP</th><th># of sources</th><th># of connections</th><th>Destination Netblock</th><th>Source IPs</th></tr>"; echo "<table align='center'><tr><th>Destination IP</th><th># of sources</th><th># of connections</th><th>Destination Netblock</th><th>Source IPs</th></tr>";
while ($row = $result->fetch_assoc()) { while ($row = $result->fetch_assoc()) {
echo "<tr><td>".$row["dst_ip"]."</td><td>".$row["COUNT(DISTINCT(src_ip))"]."</td><td>".$row["COUNT(dst_ip)"]."</td><td><a href=https://billing.int.liquidweb.com/mysql/content/admin/netblock/assignment/search.mhtml?customer=".$row["dst_ip"]."&submit=Search target=_blank>Netblock</a></td><td><a href=http://utilities.mon.liquidweb.com/netdata/sourceips.php?formIP=".$row["dst_ip"]."&formPort=$varPort target=_blank>List</a></td></tr>"; echo "<tr><td>".$row["dst_ip"]."</td><td>".$row["COUNT(DISTINCT(src_ip))"]."</td><td>".$row["COUNT(dst_ip)"]."</td><td><a href=https://DOMAIN.com/ips/assignment/search.mhtml?customer=".$row["dst_ip"]."&submit=Search target=_blank>Netblock</a></td><td><a href=http://DOMAIN.com/netdata/sourceips.php?formIP=".$row["dst_ip"]."&formPort=$varPort target=_blank>List</a></td></tr>";
} }
echo "</table>"; echo "</table>";
} else { } else {

View File

@ -12,7 +12,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>Top Source IPs</h3> <h3>Top Source IPs</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>
@ -80,7 +80,7 @@
echo "<br>"; echo "<br>";
echo "<table align='center'><tr><th>Source IP</th><th># of targets</th><th># of connections</th><th>Source Whois</th><th>Destination IPs</th></tr>"; echo "<table align='center'><tr><th>Source IP</th><th># of targets</th><th># of connections</th><th>Source Whois</th><th>Destination IPs</th></tr>";
while ($row = $result->fetch_assoc()) { while ($row = $result->fetch_assoc()) {
echo "<tr><td>".$row["src_ip"]."</td><td>".$row["COUNT(DISTINCT(dst_ip))"]."</td><td>".$row["COUNT(src_ip)"]."</td><td><a href=http://utilities.mon.liquidweb.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></td><td><a href=http://utilities.mon.liquidweb.com/netdata/destinationips.php?formIP=".$row["src_ip"]."&formPort=$varPort target=_blank>List</a></td></tr>"; echo "<tr><td>".$row["src_ip"]."</td><td>".$row["COUNT(DISTINCT(dst_ip))"]."</td><td>".$row["COUNT(src_ip)"]."</td><td><a href=http://DOMAIN.com/netdata/whoislookup.php?formIPaddr=".$row["src_ip"]." target=_blank>Whois</a></td><td><a href=http://DOMAIN.com/netdata/destinationips.php?formIP=".$row["src_ip"]."&formPort=$varPort target=_blank>List</a></td></tr>";
} }
echo "</table>"; echo "</table>";
} else { } else {

View File

@ -6,7 +6,7 @@
</head> </head>
<body> <body>
<div class=header> <div class=header>
<h2>LiquidWeb Traffic Monitoring</h2> <h2>Traffic Monitoring</h2>
<h3>IP WhoIs Lookup</h3> <h3>IP WhoIs Lookup</h3>
<?php include("includes/menu.php"); ?> <?php include("includes/menu.php"); ?>
</div> </div>