Skip to content

Releases: kura/blackhole

2.1.5

05 Oct 09:44
Compare
Choose a tag to compare

The 2.1.5 release is actually a tiny bug fix release that I'm combining with
the large 2.1.4 release.

  • Bugfix for socket.SO_REUSEPORT.

  • Squashed bugs related to socket.socket failing in child processes.
    These squashed bugs fix IPv6 which had a tendency of not working as expected.

  • Added communication between supervisor and children, allow children to be
    restarted if they fail to communicate to the supervisor.

  • Added mode= and delay= optionals to the listen and
    :ref:tls_listen directives. Allowing listeners to spawn on specific ports
    and act in different ways.

    When mode and delay are configured in a listener directive, that
    listener will ignore the global mode and delay options for that listener.
    Setting mode and delay on a listener will also disable
    dynamic-switches for that listener, automatically.

  • Internal module loading changes

  • Added test utilities to the test suite.

  • The blackhole environment will be reset for each test.

  • Added a lot of testing to supervisor, worker and child functionality.

  • Added a --quiet mode to suppress warnings when using
    -ls/--less-secure, running as the root user or not using the
    :ref:tls_dhparams option.

  • Added a warning when running the server as the root user without specifying
    a reduced privilege user and group.

  • Improved shutdown procedure, now does a much better job of disconnecting
    clients and closing everything before exiting.

  • Added an internal counter of invalid SMTP commands. Mitigate DoS attacks,
    maximum failed commands per connection is 10. Clients that violate this rule
    get disconnected.

2.1.3: Fixed TLS context in children

05 Oct 09:44
Compare
Choose a tag to compare
  • Squashed a bug that caused children to not properly apply their TLS context.

2.1.2

05 Oct 09:44
Compare
Choose a tag to compare
  • Squashed a bug that caused workers to be spawned with their old privileges
    when combined with the -d or --daemon flags and a reduced privilege
    user and group.
  • Squashed a bug that caused the pid file to retain old privileges when given
    a reduced privilege user and group and the -d or --daemon flags.

2.1.1

05 Oct 09:44
Compare
Choose a tag to compare

(This is actually the planned 2.1.0 release, but PyPI refused to let me use
that version number)

  • Fix SIZE= being parsed in the MAIL verb.
  • Huge overhaul of testing, finally almost all of blackhole.smtp.Smtp
    is tested.
  • Added worker processes.

2.0.14

05 Oct 09:44
Compare
Choose a tag to compare
  • SMTP Submission (port 587) is automatically used as a listener alongside port
    25.
  • Added SIZE= checks in MAIL FROM command, rather than waiting until
    DATA.
  • Added EXPN verb. -- expn
  • Updated many verbs to allow on-the-fly modification of return codes. --
    dynamic-responses
  • Added a list of commands