widentd 1.03 installedpackages->package->$packagename->configuration->settings Services: widentd widentd Modify widentd settings.
Services
widentd.xml
widentd widentd.sh widentd Listening interface interface Enter the desired listening interface here. interfaces_selection Username username Enter the username you'd like displayed via widentd. input System name sysname Enter the system name you'd like displayed via widentd pfSense input unlink_if_exists("/usr/local/etc/rc.d/widentd.sh"); function sync_package_widentd() { conf_mount_rw(); config_lock(); global $config; if (!isset($config['installedpackages']['widentd']['config'][0]['interface'])) { $config['installedpackages']['widentd']['config'][0]['interface'] = 'WAN'; } if (!isset($config['installedpackages']['widentd']['config'][0]['username'])) { $config['installedpackages']['widentd']['config'][0]['username'] = 'user'; } if (!isset($config['installedpackages']['widentd']['config'][0]['sysname'])) { $config['installedpackages']['widentd']['config'][0]['sysname'] = 'UNIX'; } $int = convert_friendly_interface_to_real_interface_name($config['installedpackages']['widentd']['config'][0]['interface']); $ip = find_interface_ip($int); $user = $config['installedpackages']['widentd']['config'][0]['username']; $system = $config['installedpackages']['widentd']['config'][0]['sysname']; $start = "/usr/local/sbin/widentd -u {$user} -o {$system} -i {$ip}"; $stop = "/usr/bin/killall widentd"; write_rcfile(array( "file" => "widentd.sh", "start" => $start, "stop" => $stop ) ); restart_service("widentd"); conf_mount_ro(); config_unlock(); } sync_package_widentd();