Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

ChangeLog 23KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. 2009-06-28 Alban Deniz <adeniz@skidmark.localdomain>
  2. * config_files/SNFServer.xml.sample.in: Change "path" attribute of
  3. <log> element to be /var/log/PACKAGE_NAME (which is changed to
  4. /var/log/snf-server during building).
  5. * INSTALL: Added instructions to create /var/log/snf-server.
  6. Added section on debugging (snf-server debug-mode, etc).
  7. * Scripts/snf-server.ubuntu: Implement debug mode and production
  8. mode (Copied from snf-milter.ubuntu in snf-milter distribution).
  9. * Scripts/Makefile.am (snf-server): Translate SYSCONFDIR (to, for
  10. example, "/etc") and PACKAGE_NAME when generating snf-milter
  11. startup script. Add g to translation commands so that all
  12. occurances of the strings are translated (needed if there are
  13. multiple occurances on a single line).
  14. 2009-06-18 Alban Deniz <adeniz@skidmark.localdomain>
  15. * INSTALL (Ubuntu): Added specific directions for setting up to
  16. start SNFServer automatically during OS boot.
  17. 2009-05-26 Alban Deniz <adeniz@skidmark.localdomain>
  18. * configure.ac: Updated for passing command-line parameters to the
  19. compiler (e.g. make OTHER_CXXFLAGS='-Wall').
  20. 2009-05-23 Alban Deniz <adeniz@skidmark.localdomain>
  21. * SNFClient/Makefile.am (LIBS): Search SNFMulti library before
  22. CodeDweller.
  23. * SNF2Check/Makefile.am (LIBS): Search SNFMulti library before
  24. CodeDweller.
  25. * CodeDweller/Makefile.am (noinst_HEADERS): Added faults.hpp and
  26. mangler.hpp.
  27. (libCodeDweller_a_SOURCES): Added mangler.cpp.
  28. * SNFMulti/Makefile.am (noinst_HEADERS): Removed tcp_watchdog.hpp
  29. and mangler.hpp.
  30. (libSNFMulti_a_SOURCES): Removed tcp_watchdog.cpp and mangler.cpp.
  31. 2009-05-18 Alban Deniz <adeniz@skidmark.localdomain>
  32. * configure.ac: Incremented version to 3.0.5. This contains
  33. SNF4SA version 0.9.2 (contribution to SA score submitted correctly
  34. by $permsgstatus->{conf}->{scoreset). This addresses the problem
  35. with amavisd-new always having a score of 1.
  36. 2009-02-06 Alban Deniz <adeniz@skidmark.localdomain>
  37. * SNFMulti/SNFMulti.cpp: Replaced with file from Pete, Jan 29,
  38. 2009.
  39. * DEVELOPER_NOTES: Update list of required software (curl replaces
  40. gzip and wget).
  41. * configure.ac: Removed check for wget and gzip, added check for
  42. curl.
  43. * cleanForDist: Added script to clean developer distribution.
  44. * Scripts/getRulebase.in: Modified to use curl instead of wget and
  45. gzip.
  46. 2009-01-27 Alban Deniz <adeniz@skidmark.localdomain>
  47. * DEVELOPER_NOTES: Renamed user tarball name from SNFServer to
  48. snf-server.
  49. * configure.ac: Changed docs to Docs.
  50. * Makefile.am (SUBDIRS): Changed docs to Docs.
  51. * DEVELOPER_NOTES: Updated to include prerequisites for building,
  52. and other new features (OTL #19).
  53. 2008-12-18 Alban Deniz <adeniz@skidmark.localdomain>
  54. * Scripts/Makefile.am: Install snfServer in final destination.
  55. 2008-12-17 Alban Deniz <adeniz@skidmark.localdomain>
  56. * Scripts/Makefile.am (snfServerControl.sample): Replace
  57. configuration file path and name
  58. @sysconfdir@/@PACKAGE_NAME@/@PACKAGE_NAME@.xml.
  59. 2008-12-16 Alban Deniz <adeniz@skidmark.localdomain>
  60. * INSTALL: Added instructions for integration with sendmail.
  61. * Scripts/Makefile.am: Added snfSnifferFilter script.
  62. 2008-12-09 Alban Deniz <adeniz@skidmark.localdomain>
  63. * Scripts/snfSniffer.in: Generate additional temporary filenames
  64. by adding a suffix to MSGFILE rather than a prefix.
  65. * SNFServer/main.cpp: Made VERSION_INFO const char *.
  66. * SNFClient/main.cpp: Made VERSION_INFO const char *.
  67. * SNFMulti/SNFMulti.cpp (enum PatternResultTypes): Remove
  68. 'typedef'.
  69. (snf_EngineHandler::scanMessageFile): Make XHDRInjState const char *.
  70. (snf_EngineHandler::scanMessage): Make DebugInfo const char *.
  71. * SNFMulti/GBUdb.cpp (GBUdbAlert::toXML): Make FlagName a pointer
  72. to const char *.
  73. * SNFMulti/FilterChain.hpp (class FilterChainHeaderAnalysis): Pass
  74. const char * to SetFollowPattern. Make MatchPattern a pointer to
  75. const char *.
  76. * Scripts/snfSniffer.in: Copied from
  77. snfv2-3.5-PostfixExample/sniffer.
  78. * SNFServer/Makefile.am: Moved configuration files to
  79. config_files.
  80. * Makefile.am (SUBDIRS): Added config_files.
  81. 2008-12-08 Alban Deniz <adeniz@skidmark.localdomain>
  82. * SNFServer/main.cpp: Use PACKAGE_VERSION for version string.
  83. * SNF2Check/main.cpp: Removed reference to SNF_Service in #include
  84. directives.
  85. * SNFClient/main.cpp: Removed reference to SNF_Service in #include
  86. directives. Use PACKAGE_VERSION for version string.
  87. * configure.ac: Split SNF_Service into CodeDweller and SNFMulti
  88. directories.
  89. 2008-10-01 Alban Deniz <adeniz@skidmark.localdomain>
  90. * snf.openbsd: Start with /bin/sh rather than /bin/bash. Rename
  91. function stop to stopFunction. Removed $ from beginning of string
  92. constants.
  93. 2008-09-30 Alban Deniz <adeniz@skidmark.localdomain>
  94. * compile: Added -O3 switch, and change first line back to
  95. /bin/sh.
  96. 2008-09-30 Alban Deniz <adeniz@skidmark.localdomain>
  97. * compile: Changed first line back to /bin/sh.
  98. 2008-09-30 Alban Deniz <adeniz@skidmark.localdomain>
  99. * compile: Changed first line back to /bin/sh.
  100. 2008-09-30 Alban Deniz <adeniz@skidmark.localdomain>
  101. * install: Changed the first line to /bin/sh.
  102. * clean: Changed the first line to /bin/sh.
  103. * build: Changed first line to /bin/sh.
  104. 2008-09-24 Alban Deniz <adeniz@snuffy.localdomain>
  105. * snf.freebsd (stop_cmd): Added message when stopping.
  106. 2008-09-24 Charlie Root <adeniz@snuffy.localdomain>
  107. * DEVELOPER_NOTES: Corrected installation for FreeBSD.
  108. 2008-09-21 Alban Deniz <adeniz@skidmark.localdomain>
  109. * DEVELOPER_NOTES: Updated.
  110. 2008-09-20 <adeniz@puffy.localdomain>
  111. * snf.openbsd: Initial revision.
  112. * snf.freebsd: Renamed from snf.bsd.
  113. 2008-09-20 <adeniz@puffy.localdomain>
  114. * install (destdir): Added -m to su command on last line.
  115. * DEVELOPER_NOTES: Updated for OpenBSD.
  116. 2008-09-15 Alban Deniz <adeniz@skidmark.localdomain>
  117. * snf.redhat (snfStartCmd): Use su to start daemon, and specify
  118. shell.
  119. * snf.suse (SNFServer_BIN): Specify shell when issuing su command.
  120. 2008-09-13 Alban Deniz <adeniz@wormy.home>
  121. * snf.bsd: Tested.
  122. 2008-09-13 Alban Deniz <adeniz@wormy.home>
  123. * DEVELOPER_NOTES: Initial revision.
  124. 2008-09-10 Alban Deniz <adeniz@sleepy.localdomain>
  125. * snf.ubuntu: Tested start, stop, reload, status commands.
  126. 2008-09-09 Alban Deniz <adeniz@>
  127. * FilterChain.hpp: Included string.h.
  128. * GBUdb.hpp: included stdlib.h.
  129. 2008-09-09 Alban Deniz <adeniz@sleepy.localdomain>
  130. * snf.suse: Added description to structured comment after
  131. chkconfig.
  132. 2008-09-09 Alban Deniz <adeniz@>
  133. * snf.suse: Initial revision.
  134. 2008-09-09 Alban Deniz <adeniz@sleepy.localdomain>
  135. * install (destdir): Create the user and group first.
  136. 2008-09-09 Alban Deniz <adeniz@>
  137. * install (destdir): Corrected useradd command.
  138. 2008-09-08 Alban Deniz <adeniz@skidmark.localdomain>
  139. * compile: Removed .exe extension.
  140. 2008-09-08 Alban Deniz <adeniz@skidmark.localdomain>
  141. * compile: Removed the .exe extension.
  142. 2008-09-08 Alban Deniz <adeniz@skidmark.localdomain>
  143. * compile: Removed the .exe extension.
  144. 2008-09-08 root <adeniz@skidmark.localdomain>
  145. * getRulebase: Removed .exe from program names.
  146. * snf.redhat: Initial revision.
  147. 2008-09-08 Alban Deniz <adeniz@skidmark.localdomain>
  148. * clean: Create script to remove executables generated by build.
  149. * install: Created script to install applications, files, and
  150. download rulebase.
  151. * build: Created script to build applications.
  152. SNF Command Line & SNFMulti Engine / Client Change Log
  153. ------------------------------------------------------------------------------
  154. 20080710 - Version 3.0.1
  155. Minor change to SNFServer main.cpp:59 - removed cast to (int) which caused
  156. a precision loss error when compiling on 64 bit systems. This changes the
  157. thread pointer info in debug mode slightly (better).
  158. 20080626 - Version 3.0, It's official.
  159. Changed build information.
  160. Removed extraneous comments from configuration file.
  161. 20080524 - Version V2-9rc2.25.7
  162. Optimized networking library for additional speed & stability by moving
  163. receive buffer allocation from heap to stack (automatic).
  164. Optimized timing parameters in SNFClient for improved speed. Polling dealys
  165. are now reduced to 10ms from 30ms.
  166. Removed speed-bug in SNFClient, 100ms guard time between retries was always
  167. executed after an attempt (even a successful attempt). The guard time is now
  168. condition and only fires on unsuccessful attempts.
  169. Updated XCI server logic to ensure non-blocking sockets for clients in all
  170. socket implementations.
  171. 20080424 - Version V2-9rc2.24.6
  172. Refactored snfScanData.clear() to reduce heap work and fragments.
  173. Added mutex to scanMessageFile() entry point just in case some app attempts to
  174. put multiple threads through a single engine handler. scanMessage() is already
  175. protected and fully wraped by the new scanMessageFile() mutex.
  176. Added non-specific runtime exception handling to XHDR injection code.
  177. Added 2 retries w/ 300ms delay to remove original message in XHDR inject code.
  178. If remove fails after 3 attempts the injector throws.
  179. Added 2 retries w/ 300ms delay to rename temp file to msg in XHDR inject code.
  180. If rename fails after 3 attempts the injector throws.
  181. 20080416 - Version V2-9rc2.23.6
  182. Fixed bug where SNCY open() would fail on some Win* platforms with
  183. WSAEINVAL instead of the standard EINPROGRESS or EALREADY which were expected.
  184. Also added WSAEWOULDBLOCK to cover other "ambiguities" in windows sockets
  185. implementations. InProgress() on Win* now test for any of:
  186. WSAEINPROGRESS, WSAEALREADY, WSAEWOULDBLOCK, WSAEINVAL
  187. 20080413 - Version V2-9rc2.22.6
  188. Fixed bug in TCPHost.open() where EALREADY was not counted as a version of
  189. EINPROGRESS. This would cause open() to throw an unnecessary exception when
  190. an open() required extra time.
  191. 20080413 - Version V2-9rc2.21.6
  192. Extended timeout for SYNC session open() to the full session length. This way
  193. if a session takes a long time to open it still has a shot at success.
  194. 20080411 - Version V2-9rc2.20.6
  195. Adjusted snfNETmgr to use non-blocking open in SYNC sessions. Open timeout
  196. is 1/3 of the session timeout. Session timeout is 2 * Session pacing. Open
  197. polling uses golden spiral delay from 10ms to 340ms.
  198. 20080410 - Version V2-9rc2.19.6
  199. Adjusted XCI manager to use new snfCFGPacket paradigm in checkCFG().
  200. Adjusted snf_RulebaseHandler::addRulePanic() to use MyMutex and eliminated
  201. the AutoPanicMutex and waiting scheme.
  202. Refactored scanMessage() to use a ScopeMutex() rather than lock()/unlock().
  203. Refactored scanMessage() to use MyCFGPacket.isRulePanic() test.
  204. Redesigned snfCFGPacket handling to automate grab() / drop() functions.
  205. Fixed lock-up bug: Redesigned AutoPanic posting and checking mechanisms to
  206. eliminate potential dead-lock condition. Under some conditions a precisely
  207. timed auto-panic posting could cause the RulebaseHandler mutex and the
  208. AutoPanicMutex to become intertwined leading to a cascading deadlock. When
  209. this occurred all XCI processing threads and eventually the XCI listener
  210. thread would become blocked waiting to get the current configuration.
  211. 20080409 - Version V2-9rc2.18.6
  212. Enhanced XCI exception handling and logging to provide additional detail.
  213. Added code to explicitely check for zero length files in scanMessagFile().
  214. Previously a zero length file would cause the CBFR module of the filter
  215. chain to throw an invalid buffer exception. Now if the message file is empty
  216. scanMessageFile() will throw a FileError stating FileEmpty!.
  217. 20080407 - Version V2-9rc2.17.6
  218. Enhanced exception reporting in snfXCImrg
  219. 20080405 - SNFServer V2-9rc2.16.6
  220. Reduced safetly limits on status reports to 100K for status reports and 100K
  221. for samples. Previous values were 10M. Most full sessions from the busiest
  222. systems are < 50K total.
  223. Recoded sendDataTimeout() to break uploads into 512 byte chunks and insert
  224. delays only when a chunk is fragmented. This methodology improves reliability
  225. on Win* systems without any significant penalty on systems that don't need
  226. socket sends() to be in smaller chunks.
  227. Fixed TCPClient::transmit() and TCPHost::transmit() bug where returned byte
  228. count might be -1. Now returned byte counts can only be 0 or more.
  229. 20080403 - SNFServer V2-9rc2.15.5
  230. Minor modifications to networking module to better support non-blocking open()
  231. Updated SNFClient with new timing and non-blocking open(). Worst case return
  232. time from SNFClient estimated at 200 seconds (theoretically impossible). No-
  233. connection return time from SNFClient estimated at 20 seconds.
  234. 20080326 - SNFServer V2-9rc2.15.4
  235. Refactored snfNETmgr::sync() to consolidate non-blocking io routines.
  236. Added detailed thread status data to XCI listener thread.
  237. Fixed minor bug in main (not changing revision), Debug flag for internal use
  238. was left on in the last build cycle. It is commented out now.
  239. 20080325 - SNFServer V2-9rc2.14.4
  240. Updated snfNETmgr with comprehensive thread status data.
  241. Refactored snfNETmgr::sync() to check a Timeout, removed TCPWatchdog.
  242. 20080325 - SNFServer V2-9rc2.13.4
  243. Upgraded TCPWatcher code to use new threading features (type, status).
  244. 20080324 - SNFServer v2-9rc2.12.4
  245. Added a "Rulebase Getter" feature as part of the snf_Reloader. When enabled
  246. the Rulebase Getter will launch a user defineable system() call whenever a
  247. new rulebase file is available. The call will be repeated until the condition
  248. is cleared by a successful update of the rulebase file. The Rulebase Getter
  249. will wait a configurable "guard time" between attempts. The default system()
  250. call is "getRulebase" with a guard time of 3 minutes. In most cases this will
  251. launch the provided getRulebase script which should be present in the start
  252. location of SNFServer on most systems. Best practice is to configure the full
  253. path to the update script. The system() call is made in a separate thread so
  254. that if the system() call hangs for some reason only the Rulebase Getter is
  255. stuck.
  256. Built thread monitoring function for SNFServer.exe (Full status report / sec).
  257. The thread monitoring report is turned on when the program is renamed to
  258. SNFDebugServer.exe or if "debug" appears in the file path to the program.
  259. Refactored XCI channels to leverage new thread monitoring.
  260. Refactored Threading to eliminate inline code.
  261. Improved exception handling/reporting in scanMessageFile().
  262. Updated scanMessagFile() header injection code to accommodate messages with
  263. no body. Previous version would throw an exception when it could not find an
  264. injection point. The new version makes the injection point byte 0 and puts
  265. the injected headers at the top of the message using it's best guess about the
  266. type of line endings (CRLF or LF) to use.
  267. Updated Threading library to include high level thread state tracking and
  268. naming. Also creates a global Threads object that can produce a real-time
  269. status report on all threads.
  270. Updated Networking library to use SO_REUSEADDR by default on listeners.
  271. 20080318 - SNF2-9rc1.11.exe Consolidated several mods/fixes
  272. Corrected scan error logging bug. Was posting <s/> now posts <e/>.
  273. Updated scan error logging to be more uniform with non-scan errors.
  274. Developed various script prototypes for postfix integration & automated
  275. updates on win* systems using the new UpdateReady.txt file mechanism.
  276. Fixed a bug in scanMessageFile() where an \n\n style insertion point
  277. would never be detected.
  278. Modified scanMessageFile() header injection to strip <CR> from line ends
  279. when the message file provided does not use them. The line-end style of
  280. the message file is detected while locating the insertion point. If the
  281. insertion point (first blank line) does not use <CR><LF> then the SNF
  282. generated X-Headers are stripped of <CR> in a tight loop before injection.
  283. Enhanced error and exception reporting in SNFMulti.cpp scanMessageFile().
  284. Enhanced exception handling in networking module. All exceptions now
  285. throw descriptive runtime_error exceptions.
  286. 20080306 - SNF2-9rc1.8.exe (FIRST RELEASE CANDIDATE for VERSION 3!)
  287. Added Drilldown Header Directive Functions - When the candidate source IP
  288. comes from a header matching a drilldown directive the IP is marked "Ignore"
  289. in GBUdb and the candidate is no longer eligible to be the source for that
  290. message. This allows SNF to follow the trusted chain of devices (by IP) down
  291. to the actual source of the message. It is handy for ignoring net blocks
  292. because it can match partial IPs but it is designed to allow SNF to learn
  293. it's way through the servers at large ISPs so that the original source for
  294. each message can be evaluated directly.
  295. Added Source Header Directive Functions - This feature allows SNF to acquire
  296. the source IP for a message from a specific header rather than searching
  297. through the Received headers in the message. This is useful when the original
  298. source for a message is not represented in Received headers. For example:
  299. Hotmail places the originating source IP in a special header and does not
  300. provide a Received header for that IP. This feature is protected from abuse
  301. by a "Context" feature which only activates the source header directive when
  302. specific content is found in a specific received header. Using the above
  303. example, this feature can be configured so that a Hotmail source header would
  304. only be read if the top Recieved header contained "hotmail.com [" indicating
  305. that the ptr lookup for the header matched the hotmail domain. Note: When a
  306. source is pulled from a header directive that source is put into a synthetic
  307. Received header and injected into the scanning stream (not the message) as
  308. the first Received header.
  309. Added forced source IP to XCI - It is now possible to "inject" or "force"
  310. the source IP for any message by providing that IP in the XCI request or
  311. directly in a scan...() function call. This allows the calling application
  312. to provide the source IP for a message ahead of any Received headers that
  313. might be in the message. This is useful when the calling application knows
  314. the original source IP for the message but that IP is not represented in
  315. the Received headers and it is not desireable to use the Source Header
  316. Directive mechanism.
  317. Added forced source IP mode to SNFClient - It is now possible to call the
  318. SNFClient utility with an IP4Address using the syntax:
  319. SNFClient -source=12.34.56.78
  320. The -source mode of SNFClient exercises the forced source IP feature in
  321. the XCI (see above)
  322. Added Status Report features to SNFClient and XCI - It is now possible to
  323. request the latest status.second, status.minute, or status.hour data via
  324. the XCI and SNFClient. The syntax for requesting a status report using the
  325. SNFClient is:
  326. SNFClient -status.second
  327. SNFClient -status.minute
  328. SNFClient -status.hour
  329. In addition to providing status reports the SNFClient in this mode will
  330. return a nonzero value (usually 99) if it is unable to get a status report
  331. from SNFServer. This feature can be used to verify that SNFServer is up
  332. and responding. If SNFServer is OK then the result code returned is 0.
  333. Added result codes to SNFClient -test and XCI IP test functions - The XCI
  334. engine has been upgraded to provide the range value for the IP under test
  335. as well as the symbolic result code associated with that range. This allows
  336. the -test function to provide results that are consistent with the GBUdb
  337. configuration without additional processing: For example, if the IP falls
  338. in the Caution range then the Caution result code will be returned just
  339. as if a message had been scanned with the same IP and no pattern match
  340. occurred. The same is true for Truncate and Black range hits.
  341. Added Timestamp and Command Line Parameter data to SNFClient.exe.err - When
  342. an error occurs with SNFClient that may not appear in the SNFServer logs an
  343. entry is appended to the SNFClient.exe.err file. That in itself is not new.
  344. The new feature is that the entries added to the SNFClient.exe.err file now
  345. include timestamp and command line data to aid in debugging.
  346. Added BIG-ENDIAN Conversion - When the SNFServer program is compiled on a
  347. system that uses a BIG-ENDIAN processor (such as a power-mac) the rulebase
  348. load process now includes a routine to convert the token matrix from it's
  349. native LITTLE-ENDIAN format to a BIG-ENDIAN format. This solves a bug where
  350. Power-Mac (and presumably other BIG-ENDIAN systems) could compile and run
  351. the SNF* software but were unable to capture spam because the token matrix
  352. in the rulebase file was misinterpreted.
  353. Note: The BIG-ENDIAN Conversion feature is still considered experimental
  354. because it has not yet been thoroughly tested.
  355. Updated the Configuration Log to include all of the current configuration
  356. features and to improve it's readability.
  357. 20080207 - SNF2-9b1.7.exe
  358. SYNC Timeout now 2x SYNC Schedule
  359. SNFServer now produces an UpdateReady.txt file when the UTC timestamp on
  360. the SYNC server is newer than the UTC timestamp of the active rulebase. It
  361. is presumed that a suitable update script or program will run periodically
  362. and download a fresh rulebase file if the UpdateReady.txt file is present.
  363. The update script should remove the UpdateReady.txt file when it completes
  364. a successful download of the new rulebase file.
  365. Added available rulebase UTC in status reports <udate utc.../>
  366. Added Automatic path fixup for ending / or \
  367. Added option to use local time in log rotation <rotation localtime='no'/>
  368. The default is still utc.
  369. 20071102 - SNF2-9b1.6.exe
  370. Increased MAX_EVALS from 1024 to 2048.
  371. Adjusted defult range envelopes in snf_engine.xml to be more conservative.
  372. 20071017 - SNF2-9b1.5.exe
  373. Added a missing #include directive to the networking.hpp file. The
  374. missing #include was not a factor on Linux and Windows systems but
  375. caused compiler errors on BSD systems.
  376. Corrected a bug in the GBUdb White Range code where any message with a
  377. white range source IP was being forced to the white result code. The
  378. engine now (correctly) only forces the result and records the event when
  379. a black pattern rule was matched and the White Range IP causes that
  380. scan result to be overturned. If the scan result was not a black pattern
  381. match then the original scan result is allowed to pass through.
  382. Corrected a bug in the Header Analysis filter chain module that would
  383. cause the first header in the message to be ignored in some cases.
  384. Corrected an XML log format problem so that <s/> elements are correctly
  385. open ended <s ....> or closed (empty) <s..../> according to whether they
  386. have subordinate elements.
  387. Adjusted the GBUdb header info format. The order of the Confidence
  388. figure and Probabilty figure is now the same as in the XML log files
  389. (C then P). The confidence and probability figures are now preceeded
  390. with c= and p= respectively so that it's easy to tell which is which.
  391. 20071009 - SNF2-9b1.4.exe
  392. Tightened up the XCI handler code and removed the watchdog. The watchdog
  393. would restart the listener if there were no connections in 5 minutes. It
  394. was originally added to provide additional stability, however in practice
  395. there have been no "stalled listeners". Also, a stalled listener would
  396. likely be a sign of a different problem that the watchdog would tend to
  397. hide.
  398. Modified and refactored the XCI configuration management code. All XCI config
  399. changes and up-down operations are now handled in a single function except
  400. upon exit from the main XCI thread where XCI_shutdown() is always called.
  401. Added some more detailed exception handling code to the XCI component so that
  402. more data will be logged in the event of an error.
  403. 20071008 - SNF2-9b1.2.exe
  404. Added support for passing Communigate Message Files directly. Communigate adds
  405. data to the top of the message file. That data stops at the first blank line and
  406. the rfc822 message begins. The SNFServer engine can now be told to ignore this
  407. extra data using the following option:
  408. <msg-file type='cgp'/> <!-- type='cgp' for communigate message files -->
  409. If the msg-file type is anything other than 'cgp' then it will treat the message
  410. file as a standard rfc822 message in the usual way. The default setting is
  411. <msg-file type='rfc822'/>