arpwatch
arpwatch: Settings
2.1.a13
installedpackages->package->$packagename->configuration->settings
pkg_edit.php?xml=arpwatch.xml&id=0
arpwatch
arpwatch.sh
arpwatch
Settings
/pkg_edit.php?xml=arpwatch.xml&id=0
Reports
/arpwatch_reports.php
/usr/local/www/
a+rx
- http://www.pfsense.com/packages/config/arpwatch_reports.php
Listening Interface
interface
Enter the desired listening interface here.
interfaces_selection
unlink_if_exists("/usr/local/etc/rc.d/arpwatch.sh");
function sync_package_arpwatch() {
global $config;
conf_mount_rw();
config_lock();
$int = $config['installedpackages']['arpwatch']['config'][0]['interface'];
$int = convert_friendly_interface_to_real_interface_name($int);
$start = "/usr/local/sbin/arpwatch -d -i {$int} > /var/log/arpwatch.reports 2>&1";
$stop = "/usr/bin/killall arpwatch";
write_rcfile(array(
"file" => "arpwatch.sh",
"start" => $start,
"stop" => $stop
)
);
restart_service("arpwatch");
conf_mount_ro();
config_unlock();
}
sync_package_arpwatch();