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.

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