You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

default.html 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. <HTML>
  2. <HEAD>
  3. <TITLE>CommuniGate Pro: ARM Research Labs Sniffer Antispam Plugin</TITLE>
  4. <link rel="stylesheet" href="GuideStyle.css" type="text/css" />
  5. <link rel="stylesheet" href="AdminStyle.css" type="text/css" />
  6. </HEAD>
  7. <BODY BGCOLOR=white>
  8. <TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
  9. <td><img src="CGPLogo.gif" alt="CommuniGate Pro" /></td>
  10. <tr><td class="tabBodyOuter">
  11. <table width="100%" cellspacing="0" cellpadding="0" class="tabBody"><tr><td>
  12. <h1>ARM Research Labs Sniffer Plugin for CommuniGate Pro</h1>
  13. <div class="guideTOC"><ul>
  14. <TABLE width="100%" cellspacing="0" cellpadding="0" class="tabBody" >
  15. <LI><A href="#Download">Download the Sniffer Plugin</A>
  16. <LI><A href="#Install">Installation</A>
  17. <UL>
  18. <LI><A href="#WIN32">Installing on a MS Windows 200x/NT/XP/9x System</A>
  19. <LI><A href="#Linux">Installing on a Linux System</A>
  20. <LI><A href="#FreeBSD">Installing on a FreeBSD or OpenBSD System</A>
  21. </UL>
  22. <LI><A href="#Upgrading">Upgrading to a newer version</A>
  23. <LI><A href="#Conf">Configuring the Sniffer Plugin</A>
  24. <LI><A href="#Config">Configuring the Sniffer Plugin</A>
  25. <LI><A href="#Test">Testing the Sniffer Plugin</A>
  26. <LI><A href="#Options">Command line options</A>
  27. <LI><A href="#Integrate">Integrating the Sniffer Plugin with CommuniGate Pro</A>
  28. <LI><A href="#Update">Updating the spam definitions database</A>
  29. </ul></div>
  30. </TD></TR></TABLE>
  31. </table>
  32. </TABLE>
  33. <P><B>Note:</B> The ARM Research Labs Sniffer Plugin is available only
  34. for <I>some</I> platforms supported with the CommuniGate Pro server
  35. software. Before you order the Sniffer Plugin License, make sure that
  36. the available versions of the Sniffer Plugin software run on your
  37. CommuniGate Pro Server platform.
  38. <P><B>Note:</B> The ARM Research Labs Sniffer Plugin requires
  39. CommuniGatePro version 5.2.3 or later.
  40. <H2><HR><A NAME="Download"></A>Download the ARM Research Labs Sniffer Plugins</H2>
  41. <DL><DD>
  42. <P>ARM Research Labs Sniffer antispam plugins are available for certain platforms only.
  43. <TABLE class="guideTable" BORDER=1 CELLSPACING=0 CELLPADDING=1>
  44. <TR BGCOLOR="#cccccc">
  45. <TH NOWRAP rowspan=2 width=50%>Operating System</TH>
  46. <TH NOWRAP rowspan=2>CPU</TH>
  47. <TH NOWRAP colspan=2>Download</TH>
  48. </TR>
  49. <TR BGCOLOR="#cccccc">
  50. <TH NOWRAP>via<BR>http</TH>
  51. <TH NOWRAP>via<BR>ftp</TH>
  52. </TR>
  53. <TR>
  54. <TD ALIGN=CENTER>Microsoft Windows NT/2000/XP<BR>Microsoft Windows 95/98</TD>
  55. <TD ALIGN=CENTER>x86</TD>
  56. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-Win32-Intel.zip">
  57. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  58. <TD ALIGN=CENTER><A HREF="ftp://ftp.armresearch.com/pub/plugins/CGPSNF-Win32-Intel.zip">
  59. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  60. </TR>
  61. <TR>
  62. <TD ALIGN=CENTER>Linux<BR>Kernel 2.6 (stdc++ library version = 6.0)</TD>
  63. <TD ALIGN=CENTER>x86</TD>
  64. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-Linux-Intel.tar.gz">
  65. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  66. <TD ALIGN=CENTER><A HREF="ftp://ftp.armresearch.com/pub/plugins/CGPSNF-Linux-Intel.tar.gz">
  67. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  68. </TR>
  69. <TR>
  70. <TD ALIGN=CENTER>FreeBSD 7.x</TD>
  71. <TD ALIGN=CENTER>x86</TD>
  72. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-FreeBSD7-Intel.tar.gz">
  73. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  74. <TD ALIGN=CENTER><A HREF="ftp://ftp.armresearch.com/pub/plugins/CGPSNF-FreeBSD7-Intel.tar.gz">
  75. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  76. </TR>
  77. <TR>
  78. <TD ALIGN=CENTER>OpenBSD 4.3</TD>
  79. <TD ALIGN=CENTER>x86</TD>
  80. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-OpenBSD4.3-Intel.tar.gz">
  81. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  82. <TD ALIGN=CENTER><A HREF="ftp://ftp.armresearch.com/pub/plugins/CGPSNF-OpenBSD4.3-Intel.tar.gz">
  83. <IMG SRC="DownLoad.gif" BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  84. </TR>
  85. </TABLE>
  86. </DL>
  87. <P>The current version of the Plugin is 0.1.0.
  88. <P>The current version of the ARM Research Labs Sniffer Engine is 3.0.11.
  89. <H3><HR><A name=Upgrading></A>Upgrading to a newer version.</H3>
  90. <P>When upgrading the Plugin to a newer version, do the following steps:
  91. <UL>
  92. <LI>Stop the current copy of the plugin application via CommuniGate Pro WebAdmin interface.
  93. <LI>Install and configure the new version of the Plugin as described above in this document.
  94. </UL>
  95. <H3><HR><A name="WIN32"></A>Installing on a MS Windows 200x/NT/XP/9x System.</H3>
  96. <UL>
  97. <LI>Open the command-line interface window and
  98. change the current directory to the CommuniGate Pro <I>base directory</I>.
  99. <LI>Use any &quot;unzip&quot;-type tool to unpack the
  100. <TT>CGPSNF-Win32-Intel.zip</TT> file. The <TT>CGPSNF</TT> directory will be created inside the <I>base directory</I>.
  101. <LI>Proceed with <A HREF="#Config">Configuring the Sniffer Plugin</A>.
  102. </UL>
  103. <H3><HR><A name=Linux></A>Installing on a Linux System.</H3>
  104. <UL>
  105. <LI>Log in as a super-user (root).
  106. <LI>Change the current directory to the CommuniGate Pro <I>base directory</I>.
  107. <LI>Unpack the Plugin archive with the <TT>gtar</TT> command (or
  108. with the <TT>gunzip</TT> and <TT>tar</TT> commands):<TT><BR>
  109. &nbsp;&nbsp;gunzip CGPSNF-FreeBSD-Intel.tar.gz<BR>
  110. &nbsp;&nbsp;tar -xf CGPSNF-FreeBSD-Intel.tar</TT><BR>
  111. The <TT>CGPSNF</TT> directory will be created inside the <I>base directory</I>.
  112. <LI>Proceed with <A HREF="#Config">Configuring the Sniffer Plugin</A>.
  113. </UL>
  114. <H3><HR><A name=FreeBSD></A>Installing on a FreeBSD or OpenBSD System.</H3>
  115. <UL>
  116. <LI>Log in as a super-user (root).
  117. <LI>Change the current directory to the CommuniGate Pro <I>base directory</I>.
  118. <LI>Unpack the Plugin archive with the <TT>gtar</TT> command (or
  119. with the <TT>gunzip</TT> and <TT>tar</TT> commands):<TT><BR>
  120. &nbsp;&nbsp;gunzip CGPSNF-FreeBSD-Intel.tar.gz<BR>
  121. &nbsp;&nbsp;tar -xf CGPSNF-FreeBSD-Intel.tar</TT><BR>
  122. The <TT>CGPSNF</TT> directory will be created inside the <I>base directory</I>.
  123. <LI>Proceed with <A HREF="#Config">Configuring the Sniffer Plugin</A>.
  124. </UL>
  125. <H3><HR><A name=Config></A>Configuring the Sniffer Plugin.</H3>
  126. <P>In the module directory (<TT>/var/CommuniGate/CGPSNF</TT> on a
  127. Linux or Linux-like system):
  128. <UL>
  129. <LI>Copy the configuration file <TT><BR>
  130. &nbsp;&nbsp;snf_engine.xml.sample</TT><BR> to <TT><BR>
  131. &nbsp;&nbsp;snf_engine.xml</TT><BR> and customize as
  132. needed. Please see the <A href="http://www.armresearch.com">ARM
  133. Research Labs web site</A> for documentation on
  134. the <TT>snf_engine.xml</TT> configuration file.<BR>
  135. <LI>Copy <TT><BR>
  136. &nbsp;&nbsp;identity.xml.sample</TT><BR> to <TT><BR>
  137. &nbsp;&nbsp;identity.xml</TT><BR> and edit to include the
  138. license ID and authentication attributes of
  139. the <TT>&lt;identity&gt; element</TT>.<BR>
  140. <LI>Copy <TT><BR>
  141. &nbsp;&nbsp;getRulebase.sample</TT><BR> to <TT><BR>
  142. &nbsp;&nbsp;getRulebase.xml</TT><BR> and edit to include the
  143. license ID and authentication:
  144. <UL>
  145. <LI>Change the line <TT><BR>
  146. &nbsp;&nbsp;AUTHENTICATION=authenticationxx</TT><BR>
  147. to <TT><BR>
  148. &nbsp;&nbsp;AUTHENTICATION=YOUR_AUTHENTICATION</TT><BR>
  149. where <TT>YOUR_AUTHENTICATION</TT> is authentication code
  150. obtained from ARM Research Labs.</LI>
  151. <LI>Change the line <TT><BR>
  152. &nbsp;&nbsp;LICENSE_ID=licenseid</TT><BR> to <TT><BR>
  153. &nbsp;&nbsp;LICENSE_ID=YOUR_LICENSE_ID</TT><BR>
  154. where <TT>YOUR_LICENSE_ID</TT> is license ID obtained from
  155. ARM Research Labs.</LI>
  156. </UL>
  157. <BR>
  158. <LI>Copy <TT><BR>
  159. &nbsp;&nbsp;GBUdbIgnoreList.sample</TT><BR> to <TT><BR>
  160. &nbsp;&nbsp;GBUdbIgnoreList</TT><BR> and customize as
  161. needed. Please see the
  162. <A href="http://www.armresearch.com">ARM Research Labs web
  163. site</A> for documentation on the <TT>GBUdbIgnoreList</TT>
  164. file.<BR>
  165. <LI>Download the Sniffer database:
  166. <UL>
  167. <LI>Create the file <TT>UpdateReady.txt</TT> in the plugin directory:<TT><BR>
  168. &nbsp;&nbsp;touch UpdateReady.txt</TT><BR>
  169. </LI>
  170. <LI>Run the <TT>getRulebase</TT> script in the plugin
  171. directory:<TT><BR>
  172. &nbsp;&nbsp;getRulebase</TT><BR>
  173. This downloads the Sniffer database to the plugin directory.
  174. </UL>
  175. The <B><TT>CGPSNF</TT></B> program automatically updates the
  176. Sniffer database as needed.
  177. <LI>Proceed with <A HREF="#Test">Testing the Sniffer Plugin</A>.
  178. </UL>
  179. <H3><HR><A name=Test></A>Testing the Sniffer Plugin.</H3>
  180. <P>On Windows System:
  181. <!--
  182. <UL>
  183. <LI>Launch the <TT>CGPSNF.exe</TT> application by typing:<TT><BR>
  184. &nbsp;&nbsp;CGPSNF\CGPSNF.exe CGPSNF\snf_engine.xml</TT><BR>
  185. It will report the Plugin version number and build date.<BR>
  186. <LI>Type:<TT><BR>
  187. &nbsp;&nbsp;1 FILE CGPSNF\junkmsg.msg</TT><BR>
  188. The plugin should report that the file is spam.
  189. <LI>Quit <TT>CGPSNF.exe</TT> by typing Ctrl-Z.
  190. </UL>
  191. -->
  192. <P>On a Unix System:
  193. <UL>
  194. <LI> Change to the module directory:<TT><BR>
  195. &nbsp;&nbsp;cd /var/CommuniGate/CGPSNF</TT><BR>
  196. <LI>Launch the <TT>CGPSNF</TT> application by typing:<TT><BR>
  197. &nbsp;&nbsp;./CGPSNF snf_engine.xml</TT><BR>
  198. It will report the Plugin version number and build date.<BR>
  199. <LI>Type:<TT><BR>
  200. &nbsp;&nbsp;1 FILE junkmsg.txt</TT><BR>
  201. the plugin should report that the file is spam.
  202. <LI>Quit <TT>CGPSNF</TT> by typing Ctrl-D.
  203. </UL>
  204. <H3><HR><A NAME="Options"></A>Command Line Options</H3>
  205. <DL><DD>
  206. The Sniffer Plugin supports the following command-line option (parameters):<DL>
  207. <P><DT><TT>snf_engine.xml</TT>
  208. <DD>This option tells the Plugin to read the <TT>snf_engine.xml</TT>
  209. configuration file.
  210. </DL>
  211. </DL>
  212. <H3><HR><A name=Integrate></A>Integrating the Sniffer Plugin with CommuniGate Pro.</H3>
  213. Please check the <A
  214. HREF="http://www.communigate.com/CommuniGatePro/VirusScan.html#Launch">External
  215. Filters</A> section of the CommuniGate Pro manual.
  216. <P>Open the General page in the Settings section of the WebAdmin Interface and click the Helpers link.
  217. Create the Helper as follows:
  218. <center class="WebAdmin"><form action="Null.html">
  219. <TABLE class="settingsBox" cellpadding="3" width="90%">
  220. <caption>Content Filtering</caption>
  221. <TR><TD BGCOLOR="#EEEEEE">
  222. <TABLE class="settingsBox" WIDTH="100%" BORDER="0" CELLSPACING=1 CELLPADDING=0>
  223. <TR>
  224. <td align="right"><select name="U3"><option value="0">Disabled</option><option value="1" selected="selected">Enabled</option></select></td>
  225. <td><input name="N3" value="ARM Sniffer" size="15" maxlength="200" type="text" /></td>
  226. <TD colspan=2 ALIGN=center></TD>
  227. </TR><TR>
  228. <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>
  229. <td align="right" width="25%">Program Path:</td><td><input name="P3"
  230. value="CGPSNF/CGPSNF /var/CommuniGate/CGPSNF/snf_engine.xml" size="30" maxlength="255" type="text" /></td>
  231. </TR><TR>
  232. <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>
  233. <TD ALIGN=RIGHT>Auto-Restart:</TD><TD><SELECT NAME="A0"><OPTION VALUE=0>disabled<OPTION VALUE="5">5 seconds<OPTION VALUE="7">7 seconds<OPTION VALUE="10">10 seconds<OPTION VALUE="15">15 seconds<OPTION VALUE="30">30 seconds<OPTION VALUE="60" SELECTED>minute<OPTION VALUE="120">2 minutes<OPTION VALUE="180">3 minutes<OPTION VALUE="300">5 minutes<OPTION VALUE="600">10 minutes<OPTION VALUE="900">15 minutes<OPTION VALUE="1800">30 minutes<OPTION VALUE="3600">hour<OPTION VALUE="7200">2 hours<OPTION VALUE="10800">3 hours<OPTION VALUE="21600">6 hours</SELECT></TD>
  234. </TR>
  235. </TABLE></TD></TR>
  236. </TABLE></FORM></center>
  237. <B>Note:</B> For Windows system the Program Path shold be
  238. <TT>CGPSNF\CGPSNF.exe CGPSNF\snf_engine.xml</TT><BR>
  239. <B>Note:</B> On some versions of FreeBSD system you may need to
  240. specify the full path to the program,
  241. i.e. <tt>/var/CommuniGate/CGPSNF/CGPSNF /var/CommuniGate/CGPSNF/snf_engine.xml</tt>
  242. <P>The recommended Scanning Rule is as follows:</P>
  243. <center class="WebAdmin"><form action="Null.html">
  244. <TABLE class="settingsBox" cellpadding="3" width="90%">
  245. <tr align="left">
  246. <th>Data</th>
  247. <th>Operation</th>
  248. <th>Parameter</th>
  249. </tr>
  250. <TR>
  251. <TD>
  252. <SELECT NAME="c2"><OPTION VALUE="0" SELECTED>---<OPTION VALUE="12">Message Size</SELECT>
  253. </TD><TD>
  254. <SELECT NAME="o2"><OPTION VALUE="0" SELECTED>is<OPTION VALUE="4">greater than</SELECT>
  255. </TD><TD>
  256. <INPUT TYPE="text" NAME="p2" VALUE="" SIZE="20" MAXLENGTH="1024">
  257. </TD>
  258. </TR>
  259. <tr align="left">
  260. <th>Action</th>
  261. <th colspan="2">Parameter</th>
  262. </tr>
  263. <TR VALIGN=TOP>
  264. <TD><SELECT NAME="a0"><OPTION VALUE="0">---<OPTION VALUE="6">Stop Processing<OPTION VALUE="17" SELECTED>ExternalFilter</SELECT>
  265. </TD><TD><TEXTAREA NAME="r0" ROWS="4" COLS="40">ARM Sniffer</TEXTAREA>
  266. </TD>
  267. </TR>
  268. <TR VALIGN=TOP>
  269. <TD><SELECT NAME="a1"><OPTION VALUE="0" SELECTED>---<OPTION VALUE="7">Stop Processing</SELECT></TD>
  270. <TD colspan="2"><TEXTAREA NAME="r1" ROWS="4" COLS="40"></TEXTAREA></TD>
  271. </TR>
  272. </TABLE></FORM></center>
  273. <hr/><div align="right" class="guideCopyright">CommuniGate&reg; Pro Guide. Copyright &copy; 1998-2009, Stalker Software, Inc.</div>
  274. </BODY>
  275. </HTML>