Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

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