pfflowd 1.0.3 pfflowd: Settings pkg_edit.php?xml=pfflowd.xml&id=0 pfflowd Modify pfflowd settings.
Services
pfflowd.xml /pkg_edit.php?xml=pfflowd.xml&id=0
pfflowd pfflowd.sh pfflowd installedpackages->package->$packagename->configuration->settings Host host Specify the host that datagrams are to be sent to. input Port port Enter the port that datagrams are to be sent to. input Source Hostname/IP sourcehost Specify the hostname or IP address that datagrams are to be sent from. The hostname/IP must be local to this system. input pf rule direction restriction direction Restrict creation of flow records to states matching a certain direction (in, out, or any). select Netflow version version Select which version of the NetFlow protocol to use. select "pfflowd.sh", "start" => $start, "stop" => "/usr/bin/killall pfflowd" ) ); restart_service("pfflowd"); break; } } conf_mount_ro(); config_unlock(); } function validate_form_pfflowd($post, &$input_errors) { if(($post['host'] == "") || !is_ipaddr($post['host'])) $input_errors[] = 'You must specify a valid ip address in the \'Host\' field'; if(($post['port'] == "") || !is_port($post['port'])) $input_errors[] = 'You must specify a valid port number in the \'Port\' field'; } function cleanup_config_pfflowd() { global $a_pkg; $pffconf = array(); if (is_array($a_pkg)) { foreach($a_pkg as $cf) { if($cf['host'] != "") { $pffconf = $cf; } } } $a_pkg = array(); $a_pkg[0] = $pffconf; } ]]> sync_package_pfflowd(); validate_form_pfflowd($_POST, $input_errors); cleanup_config_pfflowd();