Parcourir la source

Updated for changing "SNF4CGP" to "CGPSNF".


git-svn-id: https://svn.microneil.com/svn/PKG-SNF4CGP-NIX/trunk@27 7ef522f6-be79-40a8-b7df-0a85b3383509
master
adeniz il y a 15 ans
Parent
révision
19a318c08f

+ 8
- 8
SNF4CGP_Developer_Package/Doc/default.html Voir le fichier

@@ -311,7 +311,7 @@ You can build the Sniffer Plugin from source:
&nbsp;&nbsp;cd \CommuniGatePro\CGPSNF</tt><br>

<li>Launch the <tt>CGPSNF.exe</tt> application by typing:<tt><br>
&nbsp;&nbsp;CGPSNF.exe snf_engine.xml</tt><br>
&nbsp;&nbsp;CGPSNF.exe</tt><br>
It will report the Plugin version number and build date.<br>

<li>Type:<tt><br>
@@ -326,7 +326,7 @@ You can build the Sniffer Plugin from source:
&nbsp;&nbsp;cd /var/CommuniGate/CGPSNF</tt><br>

<li>Launch the <tt>CGPSNF</tt> application by typing:<tt><br>
&nbsp;&nbsp;./CGPSNF snf_engine.xml</tt><br>
&nbsp;&nbsp;./CGPSNF</tt><br>
It will report the Plugin version number and build date.<br>

<li>Type:<tt><br>
@@ -343,10 +343,10 @@ You can build the Sniffer Plugin from source:
(parameters):

<dl>
<p><dt><tt>snf_engine.xml</tt></dt></p>
<p><dt><tt>path_to_config_file</tt></dt></p>

<dd>This option tells the Plugin to read the <tt>snf_engine.xml</tt>
configuration file.
<dd>This option tells the Plugin to read the configuration from
<tt>path_to_config_file</tt>.
</dd>

</dl>
@@ -377,7 +377,7 @@ Interface and click the Helpers link. Create the Helper as follows:</p>
</tr><tr>
<td align="right" width="25%">Log Level:</td><td><select name="L3"><option value="0">Crashes Only</option><option value="1">Failures</option><option value="2">Major &amp; Failures</option><option value="3">Problems</option><option value="4" selected="selected">Low Level</option><option value="5">All Info</option></select></td>
<td align="right" width="25%">Program Path:</td><td><input name="P3"
value="CGPSNF/CGPSNF /var/CommuniGate/CGPSNF/snf_engine.xml" size="30" maxlength="255" type="text" /></td>
value="CGPSNF/CGPSNF" size="30" maxlength="255" type="text" /></td>

</tr><tr>
<td align=RIGHT>Time-out:</td><td><select name="T0"><option VALUE=0>disabled<option VALUE="15">15 seconds<option VALUE="30">30 seconds<option VALUE="60">minute<option VALUE="120">2 minutes<option VALUE="180">3 minutes<option VALUE="300" SELECTED>5 minutes<option VALUE="600">10 minutes<option VALUE="900">15 minutes<option VALUE="1800">30 minutes<option VALUE="3600">hour</select></td>
@@ -389,10 +389,10 @@ Interface and click the Helpers link. Create the Helper as follows:</p>


<B>Note:</B> For Windows system the Program Path shold be
<tt>CGPSNF\CGPSNF.exe CGPSNF\snf_engine.xml</tt><br>
<tt>CGPSNF\CGPSNF.exe</tt><br>
<B>Note:</B> On some versions of FreeBSD system you may need to
specify the full path to the program,
i.e. <tt>/var/CommuniGate/CGPSNF/CGPSNF /var/CommuniGate/CGPSNF/snf_engine.xml</tt>
i.e. <tt>/var/CommuniGate/CGPSNF/CGPSNF</tt>

<p>The recommended Scanning Rule is as follows:</p>


+ 3
- 3
SNF4CGP_Developer_Package/Scripts/getRulebase.in Voir le fichier

@@ -1,6 +1,6 @@
#!/bin/sh
#
# Script to download a rulebase for SNF4CGP.
# Script to download a rulebase for CGPSNF.
#
# Copyright (C) 2009 by MicroNeil Corporation. All rights reserved.
## See www.armresearch.com for the copyright terms.
@@ -10,7 +10,7 @@
# Replace authenticationxx and licensid with your license info.
#

SNIFFER_PATH=/var/CommuniGate/SNF4CGP
SNIFFER_PATH=/var/CommuniGate/CGPSNF
SNF2CHECK=$SNIFFER_PATH/SNF2Check
AUTHENTICATION=authenticationxx
LICENSE_ID=licenseid
@@ -25,7 +25,7 @@ if [ -e UpdateReady.txt ] && [ ! -e UpdateReady.lck ]; then

# Uncomment the following line if more than one process might
# launch this script. Leave it commented out if this script will
# normally be run by the <update-script/> mechanism in SNF4CGP
# normally be run by the <update-script/> mechanism in CGPSNF
# touch UpdateReady.lck

curl http://www.sortmonster.net/Sniffer/Updates/$LICENSE_ID.snf --output $LICENSE_ID.new --compressed --user sniffer:ki11sp8m --remote-time --fail

+ 6
- 6
SNF4CGP_Developer_Package/config_files/snf_engine.xml.sample.in Voir le fichier

@@ -1,13 +1,13 @@
<!-- SNFMulti V3.0 Configuration File, Setup: Typical of SNF4CGP -->
<!-- SNFMulti V3.0 Configuration File, Setup: Typical of CGPSNF -->
<!-- http://www.armresearch.com/support/articles/software/snfServer/config/snfEngine.jsp -->
<snf>
<node identity='/var/CommuniGate/SNF4CGP/identity.xml'>
<node identity='/var/CommuniGate/CGPSNF/identity.xml'>
<paths>
<log path='/var/CommuniGate/SNF4CGP/'/>
<rulebase path='/var/CommuniGate/SNF4CGP/'/>
<workspace path='/var/CommuniGate/SNF4CGP/'/>
<log path='/var/CommuniGate/CGPSNF/'/>
<rulebase path='/var/CommuniGate/CGPSNF/'/>
<workspace path='/var/CommuniGate/CGPSNF/'/>
</paths>
<logs>
@@ -66,7 +66,7 @@
<network>
<sync secs='30' host='sync.messagesniffer.net' port='25'/>
<update-script on-off='on' call='/var/CommuniGate/SNF4CGP/getRulebase' guard-time='180'/>
<update-script on-off='on' call='/var/CommuniGate/CGPSNF/getRulebase' guard-time='180'/>
</network>
<xci on-off='on' port='9001'/>

Chargement…
Annuler
Enregistrer