diff options
author | jim-p <jimp@pfsense.org> | 2012-04-04 12:21:07 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-04-04 12:21:07 -0400 |
commit | 93996c6478fbc6917c48e2e18d33b686542dbf68 (patch) | |
tree | c65e159704b8c2846b9961084adbd3947b001eb8 /config/ntop2 | |
parent | 3879d4b8242ff2135c4de5679d45a2495b6c2d6f (diff) | |
download | pfsense-packages-93996c6478fbc6917c48e2e18d33b686542dbf68.tar.gz pfsense-packages-93996c6478fbc6917c48e2e18d33b686542dbf68.tar.bz2 pfsense-packages-93996c6478fbc6917c48e2e18d33b686542dbf68.zip |
ntop doesn't seem to respect its own -4 and -6 options very well, so remove the option from the gui as the only way to make it listen on ipv4 is to use only -4. Otherwise it only binds to ipv6.
Diffstat (limited to 'config/ntop2')
-rw-r--r-- | config/ntop2/ntop.xml | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/config/ntop2/ntop.xml b/config/ntop2/ntop.xml index 0b7a536d..898df4d7 100644 --- a/config/ntop2/ntop.xml +++ b/config/ntop2/ntop.xml @@ -97,11 +97,6 @@ <fieldname>allowmerge</fieldname> <type>checkbox</type> </field> - <field> - <fielddescr>Track all traffic<br>(Def: IPv4 only)</fielddescr> - <fieldname>alltraffic</fieldname> - <type>checkbox</type> - </field> </fields> <custom_php_global_functions> <![CDATA[ @@ -125,7 +120,6 @@ system("/bin/cp -Rp /usr/local/lib/X11/fonts/webfonts/ /usr/local/lib/X11/fonts/TTF/"); $first = 0; $mergeifs = ($ntop_config['allowmerge'] == "on") ? "" : "-M"; - $alltraffic = ($ntop_config['alltraffic'] == "on") ? "-4 -6" : "-4"; foreach($ntop_config['interface_array'] as $iface) { $if = convert_friendly_interface_to_real_interface_name($iface); if($if) { @@ -135,7 +129,7 @@ $first = 1; } } - $start = "/usr/local/bin/ntop -i {$ifaces_final} -u root -d {$alltraffic} {$mergeifs} -x 8102 -X 8192 &"; + $start = "/usr/local/bin/ntop -i {$ifaces_final} -u root -d -4 {$mergeifs} -x 8102 -X 8192 &"; write_rcfile(array( "file" => "ntop.sh", "start" => $start, |