aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_sync.xml
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort/snort_sync.xml')
-rwxr-xr-xconfig/snort/snort_sync.xml12
1 files changed, 6 insertions, 6 deletions
diff --git a/config/snort/snort_sync.xml b/config/snort/snort_sync.xml
index 30d935ee..5bfeba12 100755
--- a/config/snort/snort_sync.xml
+++ b/config/snort/snort_sync.xml
@@ -46,9 +46,9 @@ POSSIBILITY OF SUCH DAMAGE.
<requirements>Describe your package requirements here</requirements>
<faq>Currently there are no FAQ items provided.</faq>
<name>snortsync</name>
- <version>1.3_1 pkg v.1.9</version>
+ <version>1.0</version>
<title>Proxy server snort: XMLRPC Sync</title>
- <!--<include_file>/usr/local/pkg/snort.inc</include_file>-->
+ <include_file>/usr/local/pkg/snort/snort.inc</include_file>
<tabs>
<tab>
<text>Snort Interfaces</text>
@@ -80,7 +80,7 @@ POSSIBILITY OF SUCH DAMAGE.
</tab>
<tab>
<text>Sync</text>
- <url>/pkg_edit.php?xml=snort_sync.xml&amp;id=0</url>
+ <url>/pkg_edit.php?xml=snort/snort_sync.xml</url>
<active/>
</tab>
</tabs>
@@ -91,7 +91,7 @@ POSSIBILITY OF SUCH DAMAGE.
</field>
<field>
<fielddescr>Enable Sync</fielddescr>
- <fieldname>varsyncenablexmlrpc</fieldname>
+ <fieldname>varsynconchanges</fieldname>
<description><![CDATA[All changes will be synced with apply config to the IPs listed below if this option is checked.<br>
<b>Important:</b> While using "Sync to hosts defined below", only sync from host A to B, A to C but <b>do not</B> enable XMLRPC sync <b>to</b> A. This will result in a loop!]]></description>
<type>select</type>
@@ -158,9 +158,9 @@ POSSIBILITY OF SUCH DAMAGE.
</field>
</fields>
<custom_delete_php_command>
- snort_resync();
+ write_config();snort_sync_on_changes();
</custom_delete_php_command>
<custom_php_resync_config_command>
- snort_resync();
+ write_config();snort_sync_on_changes();
</custom_php_resync_config_command>
</packagegui>