您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

default.html 16KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389
  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" name=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. <LI><A href="#Source">Installing from source</A>
  22. </UL>
  23. <LI><A href="#Upgrading">Upgrading to a newer version</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 rowspan=2>Linux (RedHat/Fedora/CentOS, Ubuntu, SuSE)</TD>
  63. <TD ALIGN=CENTER>x86</TD>
  64. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-Linux-Intel.tar.gz"><IMG SRC="DownLoad.gif"
  65. 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"><IMG SRC="DownLoad.gif"
  67. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  68. <TR>
  69. <TD ALIGN=CENTER>x86_64</TD>
  70. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-Linux-x86_64.tar.gz"><IMG SRC="DownLoad.gif"
  71. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  72. <TD ALIGN=CENTER><A HREF="ftp://www.armresearch.com/pub/plugins/CGPSNF-Linux-x86_64.tar.gz"><IMG SRC="DownLoad.gif"
  73. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  74. </TR>
  75. <TR>
  76. <TD ALIGN=CENTER rowspan=2>FreeBSD 7.x</TD>
  77. <TD ALIGN=CENTER>x86</TD>
  78. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-FreeBSD7.x-Intel.tar.gz"><IMG SRC="DownLoad.gif"
  79. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  80. <TD ALIGN=CENTER><A HREF="ftp://ftp.armresearch.com/pub/plugins/CGPSNF-FreeBSD7.x-Intel.tar.gz"><IMG SRC="DownLoad.gif"
  81. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  82. <TR>
  83. <TD ALIGN=CENTER>x86_64</TD>
  84. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-FreeBSD7.x-x86_64.tar.gz"><IMG SRC="DownLoad.gif"
  85. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  86. <TD ALIGN=CENTER><A HREF="ftp://www.armresearch.com/pub/plugins/CGPSNF-FreeBSD7.x-x86_64.tar.gz"><IMG SRC="DownLoad.gif"
  87. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  88. </TR>
  89. <TR>
  90. <TD ALIGN=CENTER rowspan=2>OpenBSD 4.4 or later</TD>
  91. <TD ALIGN=CENTER>x86</TD>
  92. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-OpenBSD4.4-Intel.tar.gz"><IMG SRC="DownLoad.gif"
  93. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  94. <TD ALIGN=CENTER><A HREF="ftp://ftp.armresearch.com/pub/plugins/CGPSNF-OpenBSD4.4-Intel.tar.gz"><IMG SRC="DownLoad.gif"
  95. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  96. <TR>
  97. <TD ALIGN=CENTER>x86_64</TD>
  98. <TD ALIGN=CENTER><A HREF="http://www.armresearch.com/pub/plugins/CGPSNF-OpenBSD4.4-x86_64.tar.gz"><IMG SRC="DownLoad.gif"
  99. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  100. <TD ALIGN=CENTER><A HREF="ftp://www.armresearch.com/pub/plugins/CGPSNF-OpenBSD4.4-x86_64.tar.gz"><IMG SRC="DownLoad.gif"
  101. BORDER=0 WIDTH=16 HEIGHT=16></A></TD>
  102. </TR>
  103. </TABLE>
  104. </DL>
  105. <P>The current version of the Plugin is 0.1.0.
  106. <P>The current version of the ARM Research Labs Sniffer Engine is 3.0.11.
  107. <H3><HR><A name=Upgrading></A>Upgrading to a newer version.</H3>
  108. <P>When upgrading the Plugin to a newer version, do the following:
  109. <UL>
  110. <LI>Stop the current copy of the plugin application via CommuniGate Pro WebAdmin interface.
  111. <LI>Install and configure the new version of the Plugin as described above in this document.
  112. </UL>
  113. <H3><HR><A name="WIN32"></A>Installing on a MS Windows 200x/NT/XP/9x System.</H3>
  114. <UL>
  115. <LI>Open the command-line interface window and
  116. change the current directory to the CommuniGate Pro <I>base directory</I>.
  117. <LI>Use any &quot;unzip&quot;-type tool to unpack the
  118. <TT>CGPSNF-Win32-Intel.zip</TT> file. The <TT>CGPSNF</TT> directory will be created inside the <I>base directory</I>.
  119. <LI>Proceed with <A HREF="#Config">Configuring the Sniffer Plugin</A>.
  120. </UL>
  121. <H3><HR><A name=Linux></A>Installing on a Linux System.</H3>
  122. <UL>
  123. <LI>Log in as a super-user (root).
  124. <LI>Change the current directory to the CommuniGate Pro <I>base directory</I>.
  125. <LI>Unpack the Plugin archive with the <TT>gtar</TT> command (or
  126. with the <TT>gunzip</TT> and <TT>tar</TT> commands):<TT><BR>
  127. &nbsp;&nbsp;gunzip CGPSNF-Linux-Intel.tar.gz<BR>
  128. &nbsp;&nbsp;tar -xf CGPSNF-Linux-Intel.tar</TT><BR>
  129. The <TT>CGPSNF</TT> directory will be created inside the <I>base directory</I>.
  130. <LI>Proceed with <A HREF="#Config">Configuring the Sniffer Plugin</A>.
  131. </UL>
  132. <H3><HR><A name=FreeBSD></A>Installing on a FreeBSD or OpenBSD System.</H3>
  133. <UL>
  134. <LI>Log in as a super-user (root).
  135. <LI>Change the current directory to the CommuniGate Pro <I>base directory</I>.
  136. <LI>Unpack the Plugin archive with the <TT>gtar</TT> command (or
  137. with the <TT>gunzip</TT> and <TT>tar</TT> commands):<TT><BR>
  138. &nbsp;&nbsp;gunzip CGPSNF-FreeBSD-Intel.tar.gz<BR>
  139. &nbsp;&nbsp;tar -xf CGPSNF-FreeBSD-Intel.tar</TT><BR>
  140. The <TT>CGPSNF</TT> directory will be created inside the <I>base directory</I>.
  141. <LI>Proceed with <A HREF="#Config">Configuring the Sniffer Plugin</A>.
  142. </UL>
  143. <H3><HR><A name=Source></A>Installing from source.</H3>
  144. You can build the Sniffer Plugin from source:
  145. <UL>
  146. <LI>Download the <TT>snf4cgp-X.Y.Z.tar.gz</TT>, where X.Y.Z is the
  147. version.
  148. <LI>Extract the sources with the command:<TT><BR>
  149. &nbsp;&nbsp;tar -xzf snf4cgp-X.Y.Z.tar.gz</TT><BR>
  150. This creates a directory <TT>snf4cgp-X.Y.Z</TT>.
  151. <LI>Change directory to <TT>snf4cgp-X.Y.Z</TT>:<TT><BR>
  152. &nbsp;&nbsp;cd snf4cgp-X.Y.Z</TT><BR>
  153. <LI>Configure and build the system:<TT><BR>
  154. &nbsp;&nbsp;./configure<BR>
  155. &nbsp;&nbsp;./make</TT><BR>
  156. <LI>Become super-user (root).
  157. <LI>Create the Sniffer Plugin:<TT><BR> &nbsp;&nbsp;make
  158. module</TT><BR> This creates a Plugin archive
  159. named <TT>CGPSNF-X.Y.Z-MODULE.tar.gz</TT>.
  160. <LI>Proceed with <A HREF="#Install">Installing the Sniffer
  161. Plugin</A> for your system, using the Plugin archive that was
  162. created.
  163. </UL>
  164. <H3><HR><A name=Config></A>Configuring the Sniffer Plugin.</H3>
  165. <P>In the module directory (<TT>/var/CommuniGate/CGPSNF</TT> on a
  166. Linux or Linux-like system):
  167. <UL>
  168. <LI>Copy the configuration file <TT><BR>
  169. &nbsp;&nbsp;snf_engine.xml.sample</TT><BR> to <TT><BR>
  170. &nbsp;&nbsp;snf_engine.xml</TT><BR> and customize as
  171. needed. Please see the <A href="http://www.armresearch.com">ARM
  172. Research Labs web site</A> for documentation on
  173. the <TT>snf_engine.xml</TT> configuration file.<BR>
  174. <LI>Copy <TT><BR>
  175. &nbsp;&nbsp;identity.xml.sample</TT><BR> to <TT><BR>
  176. &nbsp;&nbsp;identity.xml</TT><BR> and edit to include the
  177. license ID and authentication attributes of
  178. the <TT>&lt;identity&gt; element</TT>.<BR>
  179. <LI>Copy <TT><BR>
  180. &nbsp;&nbsp;getRulebase.sample</TT><BR> to <TT><BR>
  181. &nbsp;&nbsp;getRulebase</TT><BR> and edit to include the
  182. license ID and authentication:
  183. <UL>
  184. <LI>Change the line <TT><BR>
  185. &nbsp;&nbsp;AUTHENTICATION=authenticationxx</TT><BR>
  186. to <TT><BR>
  187. &nbsp;&nbsp;AUTHENTICATION=YOUR_AUTHENTICATION</TT><BR>
  188. where <TT>YOUR_AUTHENTICATION</TT> is authentication code
  189. obtained from ARM Research Labs.</LI>
  190. <LI>Change the line <TT><BR>
  191. &nbsp;&nbsp;LICENSE_ID=licenseid</TT><BR> to <TT><BR>
  192. &nbsp;&nbsp;LICENSE_ID=YOUR_LICENSE_ID</TT><BR>
  193. where <TT>YOUR_LICENSE_ID</TT> is license ID obtained from
  194. ARM Research Labs.</LI>
  195. </UL>
  196. <LI>Make <TT>getRulebase</TT> executable:<TT><BR>
  197. &nbsp;&nbsp;chmod 755 getRulebase</TT><BR>
  198. <LI>Copy <TT><BR>
  199. &nbsp;&nbsp;GBUdbIgnoreList.txt.sample</TT><BR> to <TT><BR>
  200. &nbsp;&nbsp;GBUdbIgnoreList.txt</TT><BR> and customize as
  201. needed. Please see the
  202. <A href="http://www.armresearch.com">ARM Research Labs web
  203. site</A> for documentation on the <TT>GBUdbIgnoreList.txt</TT>
  204. file.<BR>
  205. <LI>Download the Sniffer database:
  206. <UL>
  207. <LI>Create the file <TT>UpdateReady.txt</TT> in the plugin directory:<TT><BR>
  208. &nbsp;&nbsp;touch UpdateReady.txt</TT><BR>
  209. </LI>
  210. <LI>Run the <TT>getRulebase</TT> script in the plugin
  211. directory:<TT><BR>
  212. &nbsp;&nbsp;./getRulebase</TT><BR>
  213. This downloads the Sniffer database to the plugin directory.
  214. </UL>
  215. The <B><TT>CGPSNF</TT></B> program automatically updates the
  216. Sniffer database as needed.
  217. <LI>Proceed with <A HREF="#Test">Testing the Sniffer Plugin</A>.
  218. </UL>
  219. <H3><HR><A name=Test></A>Testing the Sniffer Plugin.</H3>
  220. <P>On Windows System:
  221. <!--
  222. <UL>
  223. <LI>Launch the <TT>CGPSNF.exe</TT> application by typing:<TT><BR>
  224. &nbsp;&nbsp;CGPSNF\CGPSNF.exe CGPSNF\snf_engine.xml</TT><BR>
  225. It will report the Plugin version number and build date.<BR>
  226. <LI>Type:<TT><BR>
  227. &nbsp;&nbsp;1 FILE CGPSNF\junkmsg.msg</TT><BR>
  228. The plugin should report that the file is spam.
  229. <LI>Quit <TT>CGPSNF.exe</TT> by typing Ctrl-Z.
  230. </UL>
  231. -->
  232. <P>On a Unix System:
  233. <UL>
  234. <LI> Change to the module directory:<TT><BR>
  235. &nbsp;&nbsp;cd /var/CommuniGate/CGPSNF</TT><BR>
  236. <LI>Launch the <TT>CGPSNF</TT> application by typing:<TT><BR>
  237. &nbsp;&nbsp;./CGPSNF snf_engine.xml</TT><BR>
  238. It will report the Plugin version number and build date.<BR>
  239. <LI>Type:<TT><BR>
  240. &nbsp;&nbsp;1 FILE junkmsg.txt</TT><BR>
  241. the plugin should report that the file is spam.
  242. <LI>Quit <TT>CGPSNF</TT> by typing Ctrl-D.
  243. </UL>
  244. <H3><HR><A NAME="Options"></A>Command Line Options</H3>
  245. <DL><DD>
  246. The Sniffer Plugin supports the following command-line option (parameters):<DL>
  247. <P><DT><TT>snf_engine.xml</TT>
  248. <DD>This option tells the Plugin to read the <TT>snf_engine.xml</TT>
  249. configuration file.
  250. </DL>
  251. </DL>
  252. <H3><HR><A name=Integrate></A>Integrating the Sniffer Plugin with CommuniGate Pro.</H3>
  253. Please check the <A
  254. HREF="http://www.communigate.com/CommuniGatePro/VirusScan.html#Launch">External
  255. Filters</A> section of the CommuniGate Pro manual.
  256. <P>Open the General page in the Settings section of the WebAdmin Interface and click the Helpers link.
  257. Create the Helper as follows:
  258. <center class="WebAdmin"><form action="Null.html">
  259. <TABLE class="settingsBox" cellpadding="3" width="90%">
  260. <caption>Content Filtering</caption>
  261. <TR><TD BGCOLOR="#EEEEEE">
  262. <TABLE class="settingsBox" WIDTH="100%" BORDER="0" CELLSPACING=1 CELLPADDING=0>
  263. <TR>
  264. <td align="right"><select name="U3"><option value="0">Disabled</option><option value="1" selected="selected">Enabled</option></select></td>
  265. <td><input name="N3" value="ARM Sniffer" size="15" maxlength="200" type="text" /></td>
  266. <TD colspan=2 ALIGN=center></TD>
  267. </TR><TR>
  268. <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>
  269. <td align="right" width="25%">Program Path:</td><td><input name="P3"
  270. value="CGPSNF/CGPSNF /var/CommuniGate/CGPSNF/snf_engine.xml" size="30" maxlength="255" type="text" /></td>
  271. </TR><TR>
  272. <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>
  273. <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>
  274. </TR>
  275. </TABLE></TD></TR>
  276. </TABLE></FORM></center>
  277. <B>Note:</B> For Windows system the Program Path shold be
  278. <TT>CGPSNF\CGPSNF.exe CGPSNF\snf_engine.xml</TT><BR>
  279. <B>Note:</B> On some versions of FreeBSD system you may need to
  280. specify the full path to the program,
  281. i.e. <tt>/var/CommuniGate/CGPSNF/CGPSNF /var/CommuniGate/CGPSNF/snf_engine.xml</tt>
  282. <P>The recommended Scanning Rule is as follows:</P>
  283. <center class="WebAdmin"><form action="Null.html">
  284. <TABLE class="settingsBox" cellpadding="3" width="90%">
  285. <tr align="left">
  286. <th>Data</th>
  287. <th>Operation</th>
  288. <th>Parameter</th>
  289. </tr>
  290. <TR>
  291. <TD>
  292. <SELECT NAME="c2"><OPTION VALUE="0" SELECTED>---<OPTION VALUE="12">Message Size</SELECT>
  293. </TD><TD>
  294. <SELECT NAME="o2"><OPTION VALUE="0" SELECTED>is<OPTION VALUE="4">greater than</SELECT>
  295. </TD><TD>
  296. <INPUT TYPE="text" NAME="p2" VALUE="" SIZE="20" MAXLENGTH="1024">
  297. </TD>
  298. </TR>
  299. <tr align="left">
  300. <th>Action</th>
  301. <th colspan="2">Parameter</th>
  302. </tr>
  303. <TR VALIGN=TOP>
  304. <TD><SELECT NAME="a0"><OPTION VALUE="0">---<OPTION VALUE="6">Stop Processing<OPTION VALUE="17" SELECTED>ExternalFilter</SELECT>
  305. </TD><TD><TEXTAREA NAME="r0" ROWS="4" COLS="40">ARM Sniffer</TEXTAREA>
  306. </TD>
  307. </TR>
  308. <TR VALIGN=TOP>
  309. <TD><SELECT NAME="a1"><OPTION VALUE="0" SELECTED>---<OPTION VALUE="7">Stop Processing</SELECT></TD>
  310. <TD colspan="2"><TEXTAREA NAME="r1" ROWS="4" COLS="40"></TEXTAREA></TD>
  311. </TR>
  312. </TABLE></FORM></center>
  313. <hr/><div align="right" class="guideCopyright">CommuniGate&reg; Pro Guide. Copyright &copy; 1998-2009, Stalker Software, Inc.</div>
  314. </BODY>
  315. </HTML>