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.6KB

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