Affected by GO-2022-0306
and 3 other vulnerabilities
GO-2022-0306 : Use of a Broken or Risky Cryptographic Algorithm in Max Mazurov Maddy in github.com/foxcpp/maddy
GO-2022-0374 : S3 storage write is not aborted on errors leading to unbounded memory usage in github.com/foxcpp/maddy
GO-2023-1630 : Full authentication bypass if SASL authorization username is specified in github.com/foxcpp/maddy
GO-2026-5137 : Maddy Mail Server has an LDAP Filter Injection via Unsanitized Username in github.com/foxcpp/maddy
Discover Packages
github.com/foxcpp/maddy
framework
config
tls
package
Version:
v0.4.2
Opens a new window with list of versions in this module.
Published: Nov 21, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 2 modules, 1 package
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
func TLSCiphersDirective(m *config.Map, node config.Node) (interface{}, error)
func TLSClientBlock(m *config.Map, node config.Node) (interface{}, error)
func TLSCurvesDirective(m *config.Map, node config.Node) (interface{}, error)
func TLSDirective(m *config.Map, node config.Node) (interface{}, error)
func TLSVersionsDirective(m *config.Map, node config.Node) (interface{}, error)
type TLSConfig
TLSCiphersDirective parses directive with arguments that specify
list of ciphers to offer to clients (or to use for outgoing connections).
It returns list of []uint16 with corresponding cipher IDs.
TLSCurvesDirective parses directive with arguments that specify
elliptic curves to use during TLS key exchange.
It returns []tls.CurveID.
TLSDirective reads the TLS configuration and adds the reload handler to
reread certificates on SIGUSR2.
The returned value is *tls.TLSConfig with GetConfigForClient set.
If the 'tls off' is used, returned value is nil.
TLSversionsDirective parses directive with arguments that specify
minimum and maximum supported TLS versions.
It returns [2]uint16 value for use in corresponding fields from tls.Config.
type TLSConfig struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.