Browse 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 15 years ago
parent
commit
19a318c08f

+ 8
- 8
SNF4CGP_Developer_Package/Doc/default.html View File

&nbsp;&nbsp;cd \CommuniGatePro\CGPSNF</tt><br> &nbsp;&nbsp;cd \CommuniGatePro\CGPSNF</tt><br>


<li>Launch the <tt>CGPSNF.exe</tt> application by typing:<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> It will report the Plugin version number and build date.<br>


<li>Type:<tt><br> <li>Type:<tt><br>
&nbsp;&nbsp;cd /var/CommuniGate/CGPSNF</tt><br> &nbsp;&nbsp;cd /var/CommuniGate/CGPSNF</tt><br>


<li>Launch the <tt>CGPSNF</tt> application by typing:<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> It will report the Plugin version number and build date.<br>


<li>Type:<tt><br> <li>Type:<tt><br>
(parameters): (parameters):


<dl> <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> </dd>


</dl> </dl>
</tr><tr> </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%">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" <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> </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> <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>




<B>Note:</B> For Windows system the Program Path shold be <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 <B>Note:</B> On some versions of FreeBSD system you may need to
specify the full path to the program, 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> <p>The recommended Scanning Rule is as follows:</p>



+ 3
- 3
SNF4CGP_Developer_Package/Scripts/getRulebase.in View File

#!/bin/sh #!/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. # Copyright (C) 2009 by MicroNeil Corporation. All rights reserved.
## See www.armresearch.com for the copyright terms. ## See www.armresearch.com for the copyright terms.
# Replace authenticationxx and licensid with your license info. # Replace authenticationxx and licensid with your license info.
# #


SNIFFER_PATH=/var/CommuniGate/SNF4CGP
SNIFFER_PATH=/var/CommuniGate/CGPSNF
SNF2CHECK=$SNIFFER_PATH/SNF2Check SNF2CHECK=$SNIFFER_PATH/SNF2Check
AUTHENTICATION=authenticationxx AUTHENTICATION=authenticationxx
LICENSE_ID=licenseid LICENSE_ID=licenseid


# Uncomment the following line if more than one process might # Uncomment the following line if more than one process might
# launch this script. Leave it commented out if this script will # 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 # touch UpdateReady.lck


curl http://www.sortmonster.net/Sniffer/Updates/$LICENSE_ID.snf --output $LICENSE_ID.new --compressed --user sniffer:ki11sp8m --remote-time --fail 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 View File

<!-- 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 --> <!-- http://www.armresearch.com/support/articles/software/snfServer/config/snfEngine.jsp -->
<snf> <snf>
<node identity='/var/CommuniGate/SNF4CGP/identity.xml'>
<node identity='/var/CommuniGate/CGPSNF/identity.xml'>
<paths> <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> </paths>
<logs> <logs>
<network> <network>
<sync secs='30' host='sync.messagesniffer.net' port='25'/> <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> </network>
<xci on-off='on' port='9001'/> <xci on-off='on' port='9001'/>

Loading…
Cancel
Save