From 07cf2c4b20230ddedee1bf9dddc1e7cd407385f5 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Thu, 5 Feb 2015 10:02:24 -0200 Subject: Packages repo cleanup: - Drop support for pfSense < 2 - Remove archive/, old files can be reached using git - Remove old and unused packages - Move stale files from config subdir to a package subdir --- config/arpwatch/arpwatch_reports.php | 127 +++++++++++++++++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100755 config/arpwatch/arpwatch_reports.php (limited to 'config/arpwatch/arpwatch_reports.php') diff --git a/config/arpwatch/arpwatch_reports.php b/config/arpwatch/arpwatch_reports.php new file mode 100755 index 00000000..9b3b1c6c --- /dev/null +++ b/config/arpwatch/arpwatch_reports.php @@ -0,0 +1,127 @@ +#!/usr/local/bin/php + $newmac, + "timestamp" => trim($todo[2]), + "hostname" => trim($todo[3]) ? trim($todo[3]) : "Unknown" + ); + unset($mac); + } +} +$pgtitle = "arpwatch: Reports"; +include("head.inc"); + +?> + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + $rawentries) { + $printip = true; + $entries = $rawentries; + sort($entries); + foreach($entries as $entry) { + echo ''; + if($printip) { + echo ''; + $stampclass = "listr"; + $printip = false; + } else { + $stampclass = "listlr"; + echo ''; + } + echo ''; + echo ''; + echo ''; + echo ''; + } + } + ?> + + + +
arp.dat entries
IPTimestampMACHostname
' . $ip . '' . + date("D M j G:i:s", $entry['timestamp']) . + '' . $entry['mac'] . '' . $entry['hostname'] . '
+
+
+ +
+
+
+
-- cgit v1.2.3