<?xml version="1.0" encoding="utf-8" ?> <packagegui> <title>Services: Snort</title> <name>Snort</name> <version>3.0</version> <menu> <name>Snort</name> <tooltiptext>Setup snort specific settings</tooltiptext> <section>Services</section> <url>/pkg_edit.php?xml=snort.xml&id=0</url> </menu> <additional_files_needed> <prefix>/usr/local/pkg/</prefix> <chmod>077</chmod> <item>http://www.pfsense.com/packages/config/snort/snort.inc</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/bin/</prefix> <chmod>077</chmod> <item>http://www.pfsense.com/packages/config/snort/bin/snort2c</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> <item>http://www.pfsense.com/packages/config/snort/snort_download_rules.php</item> </additional_files_needed> <additional_files_needed> <prefix>/usr/local/www/</prefix> <chmod>077</chmod> <item>http://www.pfsense.com/packages/config/snort/snort_rulesets.php</item> </additional_files_needed> <service> <name>snort</name> <rcfile>snort.sh</rcfile> <executable>snort</executable> </service> <include_file>/usr/local/pkg/snort.inc</include_file> <tabs> <tab> <text>Snort Settings</text> <url>/pkg_edit.php?xml=snort.xml&id=0</url> <active/> </tab> <tab> <text>Update Snort Rules</text> <url>/snort_download_rules.php</url> </tab> <tab> <text>Snort Rulesets</text> <url>/snort_rulesets.php</url> </tab> </tabs> <fields> <field> <fielddescr>Interface</fielddescr> <fieldname>interface_array</fieldname> <value>lan</value> <multiple>true</multiple> <size>3</size> <type>interfaces_selection</type> </field> <field> <fielddescr>Performance</fielddescr> <fieldname>performance</fieldname> <type>select</type> <options> <option> <value>ac-std</value> <name>ac-std</name> </option> <option> <value>ac</value> <name>ac</name> </option> <option> <value>ac-banded</value> <name>ac-banded</name> </option> <option> <value>ac-sparsebands</value> <name>ac-sparsebands</name> </option> <option> <value>mwm</value> <name>mwm</name> </option> <option> <value>acs</value> <name>acs</name> </option> <option> <value>lowmem</value> <name>lowmem</name> </option> </options> </field> <field> <fielddescr>Oinkmaster code</fielddescr> <fieldname>oinkmastercode</fieldname> <value></value> <type>input</type> <size>60</size> </field> <field> <fielddescr>Block offenders</fielddescr> <fieldname>blockoffenders</fieldname> <type>checkbox</type> <size>60</size> </field> </fields> <service> <name>snort</name> <rcfile>snort.sh</rcfile> <executable>snort</executable> </service> <custom_add_php_command> sync_package_snort(); </custom_add_php_command> <custom_php_resync_command> sync_package_snort(); </custom_php_resync_command> </packagegui>