pfflowd 0.8 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/ip that datagrams are to be sent from. The hostname/ip should be from local installation ip. 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 function sync_package_pfflowd() { conf_mount_rw(); config_lock(); global $config; foreach($config['installedpackages']['pfflowd']['config'] as $cf) { if($cf['host'] != "") { $start = "\n/sbin/ifconfig pfsync0 up\n"; $start .= "/usr/local/sbin/pfflowd "; $start .= " -n {$cf['host']}"; if($cf['port'] != "") $start .= ":{$cf['port']}"; if(!empty($cf['sourcehost'])) $start .= " -s {$cf['sourcehost']} "; if($cf['direction'] != "") $start .= " -S {$cf['direction']}"; if($cf['version'] != "") $start .= " -v {$cf['version']}"; write_rcfile(array( "file" => "pfflowd.sh", "start" => $start, "stop" => "/usr/bin/killall pfflowd" ) ); restart_service("pfflowd"); break; } } conf_mount_ro(); config_unlock(); } sync_package_pfflowd();