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.

ChangeLog 6.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. 2009-06-18 Alban Deniz <adeniz@skidmark.localdomain>
  2. * SNFMilter.cpp (getContextFromCtx): Fixed coding style, added
  3. comment.
  4. 2009-06-06 Alban Deniz <adeniz@skidmark.localdomain>
  5. * Makefile.am: Install/uninstall SNFDebugMilter link to SNFMilter.
  6. * SNFMilter.hpp: Removed signal catching.
  7. * main.cpp (main): Removed signal catching. Added SNFMilter
  8. version and libmilter protocol version (SMFI_PROT_VERSION) to
  9. debug output.
  10. 2009-06-03 Alban Deniz <adeniz@skidmark.localdomain>
  11. * SNFMilter.cpp: Added global variable SkipReturn. This replaces
  12. SNFMilterContext::SkipReturn.
  13. (assignContextToCtx): Implemented function.
  14. (mlfi_connect): Invoke assignContextToCtx().
  15. (mlfi_negotiate): Do not assign a SNFMilterContext object.
  16. * SNFMilter.hpp (class SNFMilterContext): Removed member
  17. SkipReturn.
  18. 2009-05-27 Alban Deniz <adeniz@skidmark.localdomain>
  19. * Makefile.am (EXTRA_DIST): Include ChangeLog.
  20. 2009-05-26 Alban Deniz <adeniz@skidmark.localdomain>
  21. * SNFMilter.cpp (SNFMilterEngine::scanIP): Added default: to
  22. switch statement.
  23. 2009-05-24 Alban Deniz <adeniz@skidmark.localdomain>
  24. * Makefile.am (noinst_HEADERS): Removed ProductionQueue.hpp from
  25. user tarball.
  26. * SNFMilter.hpp: Do not include ProductionQueue.hpp; the
  27. definition was moved to threading.hpp.
  28. 2009-01-31 Alban Deniz <adeniz@skidmark.localdomain>
  29. * main.cpp (main): Replaced PACKAGE with SNFMilter. Added
  30. PACKAGE_VERSION to SNF_MILTER_VERSION.
  31. 2009-01-17 Alban Deniz <adeniz@skidmark.localdomain>
  32. * SNFMilter.cpp: Cast c string constants to (char *) to avoid
  33. warnings about deprecated conversions.
  34. 2009-01-15 Alban Deniz <adeniz@skidmark.localdomain>
  35. * SNFMilter.cpp (SNFMilterEngine::readConfiguration): Read
  36. <nonzero> element.
  37. (SNFMilterEngine::scanMessage): Update to return NonZeroAction as
  38. appropriate.
  39. * SNFMilter.hpp (class SNFMilterEngine): Added
  40. SNFMilterEngine::NonZeroAction.
  41. 2009-01-14 Alban Deniz <adeniz@skidmark.localdomain>
  42. * SNFMilter.cpp (SNFMilterEngine::SNFMilterEngine): Removed
  43. initialization of ResultCodesCount (it's initialized by
  44. readConfiguration().
  45. * SNFMilter.hpp: Added NoAction and NoActionMNemonic.
  46. * SNFMilter.cpp (SNFMilterEngine::readConfiguration): Added
  47. .Mnemonic() to action attribute of <result> element. This reads
  48. the action values from the configuration file.
  49. 2009-01-13 Alban Deniz <adeniz@skidmark.localdomain>
  50. * SNFMilter.cpp: Output debug message when quarantining.
  51. (SNFMilterEngine::scanIP): Throw exception if myEngine is 0.
  52. (SNFMilterEngine::scanMessage): Throw exception if myEngine is 0.
  53. 2009-01-10 Alban Deniz <adeniz@skidmark.localdomain>
  54. * SNFMilter.cpp: Removed incorrect output of X-Headers to cout.
  55. 2009-01-06 Alban Deniz <adeniz@orkey.localdomain>
  56. * Makefile.am: Moved code for SNFMilter.xml, identity.xml, and
  57. GBUdbIgnorList to config_files/Makefile.am.
  58. 2008-12-02 Alban Deniz <adeniz@skidmark.localdomain>
  59. * main.cpp: Added thread to catch SIGTERM.
  60. * SNFMilter.hpp: Implemented SNFMilterContextPool::allUnused().
  61. * SNFMilter.cpp (runLibMilter): On return from smfi_main(), wait
  62. for all contexts to become free before returning.
  63. (SNFMilterContextPool::allUnused): Implemented method.
  64. * main.cpp (main): Add ShutdownWatcher to process XCI shutdown
  65. command. Responds with message with code 1.
  66. 2008-11-24 Alban Deniz <adeniz@skidmark.localdomain>
  67. * SNFMilter.cpp: Conditionally compile mlfi_data(),
  68. mlfi_negotiate(), and mlfi_unknown(). Compiled if SMFI_VERSION >
  69. 3. Purpose is to be able to compile with older libmilter
  70. libraries that did not have these functions.
  71. 2008-11-21 Alban Deniz <adeniz@skidmark.localdomain>
  72. * SNFMilter.cpp (SNFMilterEngine::readConfiguration): Save the
  73. latest configuration.
  74. (logError): Pass parameters by reference.
  75. * Makefile.am (SNFMilter.xml.sample): Generate from
  76. SNFMilter.xml.sample.in.
  77. 2008-11-15 Alban Deniz <adeniz@skidmark.localdomain>
  78. * Makefile.am: Install sample configuration files in
  79. /usr/local/share/examples/SNFMilter.
  80. * SNFMilter.hpp: Add PrependLocalReceivedHeader boolean flag.
  81. * SNFMilter.cpp: Add PrependLocalReceivedHeader boolean flag.
  82. * Makefile.am: Install configuration files in
  83. @sysconfdir@/@PACKAGE_NAME@ (e.g. /usr/local/etc/SNFMilter).
  84. 2008-11-14 Alban Deniz <adeniz@skidmark.localdomain>
  85. * SNFMilter.hpp: Obtain communication socket info from XML file.
  86. * SNFMilter.cpp: Obtain communication socket info from XML file.
  87. 2008-11-07 Alban Deniz <adeniz@skidmark.localdomain>
  88. * SNFMilter.hpp: Remove name of group for named pipe.
  89. * SNFMilter.cpp (runLibMilter): Removed code to change group of
  90. named pipe.
  91. 2008-11-06 Alban Deniz <adeniz@skidmark.localdomain>
  92. * SNFMilter.hpp: Changed MilterConnPath to /tmp/SNFMilterSocket.
  93. Changed the group of pipe fo "snfmilter".
  94. * Makefile.am: Added SNFMilterClient, SNFMilter2Check,
  95. SNFMilter.xml.sample, and identity.xml.sample.
  96. 2008-11-05 Alban Deniz <adeniz@skidmark.localdomain>
  97. * Makefile.am (libexec_PROGRAMS): Changed SNFMilter destination
  98. from bin to libexec.
  99. 2008-11-04 Alban Deniz <adeniz@skidmark.localdomain>
  100. * Makefile.am (SNF_Service_hdr): Added snf_match.h to the
  101. distribution.
  102. 2008-10-25 root <adeniz@skidmark.localdomain>
  103. * SNFMilter.cpp: Added InfoCode when invoking logInfo().
  104. 2008-10-20 Alban Deniz <adeniz@skidmark.localdomain>
  105. * SNFMilter.cpp (runLibMilter): Create named pipe, and set group
  106. to GroupName, and permissions to 660.
  107. * SNFMilter.hpp: Renamed milterConnSpec to milterConnPath. Added
  108. Groupname.
  109. * SNFMilter.cpp ("C"): Obtain connection context only in
  110. smfi_negotiate().
  111. 2008-10-17 Alban Deniz <adeniz@skidmark.localdomain>
  112. * SNFMilter.cpp: Added X-header processing. Added
  113. getContextFromCtx(). Replace LocalReceivedHeader data member with
  114. getLocalReceivedHeader() method. Prepend local received header to
  115. the message to be scanned in mlfi_eom.
  116. 2008-10-12 Alban Deniz <adeniz@skidmark.localdomain>
  117. * SNFMilter.hpp: Completed the callbacks.
  118. * SNFMilter.cpp: Completed the callbacks.
  119. * main.cpp (main): Added DebugMode flag. If argv[0] contains
  120. "Debug" or "debug", then debug mode is enabled.
  121. 2008-10-11 Alban Deniz <adeniz@skidmark.localdomain>
  122. * SNFMilter.hpp (class SNFMilterContextPool): Add logThisError and
  123. logThisInfo to SNFMilterContextPool.
  124. 2008-10-09 Alban Deniz <adeniz@skidmark.localdomain>
  125. * main.cpp (main): Use SNFMilterContexts instead of
  126. SNFMilterEngines.
  127. * SNFMilter.hpp: Refactor SNFMilterEnginePool to be
  128. SNFMilterContextPool. Implement SNFMilterContext.
  129. * SNFMilter.cpp: Added DEBUG_SNFMILTER to send debug messages to
  130. cerr and log to mail.debug. Refactor SNFMilterEnginePool to be
  131. SNFMilterContextPool. Implement mlfi_connect and mlfi_close.
  132. 2008-10-03 Alban Deniz <adeniz@skidmark.localdomain>
  133. * SNFMilter.hpp: Added milterPipeName.
  134. 2008-10-02 Alban Deniz <adeniz@skidmark.localdomain>
  135. * main.cpp: Included config.h for version number.
  136. Copyright (C) 2009 ARM Research Labs, LLC.
  137. See www.armresearch.com for the copyright terms.