/*++ /* NAME /* smtp_tlsrpt 3 /* SUMMARY /* TLSRPT support for the SMTP protocol engine /* SYNOPSIS /* #include <smtp_tlsrpt.h> /* /* int smtp_tlsrpt_post_jail( /* const char *sockname_pname, /* const char *sockname_pval) /* /* void smtp_tlsrpt_create_wrapper( /* SMTP_STATE *state, /* const char *domain) /* /* void smtp_tlsrpt_set_tls_policy( /* SMTP_STATE *state) /* /* void smtp_tlsrpt_set_tcp_connection( /* SMTP_STATE *state) /* /* void smtp_tlsrpt_set_ehlo_resp( /* SMTP_STATE *state, /* const char *ehlo_resp) /* DESCRIPTION /* This module populates a TLSRPT_WRAPPER object with a) /* remote TLSRPT policy information, b) remote TLSA or STS policy /* information, and c) selected SMTP connection information. This /* object is passed to a TLS protocol engine, which may run in a /* different process than the SMTP protocol engine. The TLS protocol /* engine uses the TLSRPT_WRAPPER object to report a TLS handshake /* error to a TLSRPT library. The SMTP protocol engine uses the /* object to report a TLS handshake error or success. /* /* smtp_tls_post_jail() does configuration sanity checks and returns /* 0 if successful, i.e. TLSRPT support is properly /* configured. Otherwise it returns -1 and logs a warning. Arguments: /* .IP sockname_pname /* The name of a configuration parameter for the endpoint that /* is managed by TLSRPT infrastructure. This name is used in a /* diagnostic message. /* .IP sockname_pval /* The value of said parameter. /* .PP /* smtp_tlsrpt_create_wrapper() destroys a TLSRPT_WRAPPER referenced /* by state->tlsrpt, and looks for a TLSRPT policy for the specified /* domain. If one policy exists, smtp_tlsrpt_create_wrapper() /* attaches a TLSRPT_WRAPPER instance to state->tlsrpt. Otherwise, /* state->tlsrpt will be null, and other smtp_tlsrpt_* calls must not /* be made. The TLSRPT_WRAPPER instance may be reused for different /* SMTP connections for the same TLSRPT policy domain. Arguments: /* .IP domain /* The name of a domain that may publish a TLSRPT policy. An /* internationalized domain name may be in U-label or A-label form /* (the U-label form will be converted to A-label internally). /* .PP /* smtp_tlsrpt_set_tls_policy() updates the TLSRPT_WRAPPER /* object with DANE or STS TLS policy information, and clears /* information that was added with smtp_tlsrpt_set_tcp_connection() /* or smtp_tlsrpt_set_ehlo_resp(). /* .PP /* smtp_tlsrpt_set_tcp_connection() updates the TLSRPT_WRAPPER /* object with TCP connection properties. /* .PP /* smtp_tlsrpt_set_ehlo_resp() updates the TLSRPT_WRAPPER object /* with the SMTP server's EHLO response. /* BUGS /* This module inherits all limitations from tlsrpt_wrapper(3). /* SEE ALSO /* tlsrpt_wrapper(3) TLSRPT support for the TLS protocol engine. /* LICENSE /* .ad /* .fi /* The Secure Mailer license must be distributed with this software. /* AUTHOR(S) /* Wietse Venema /* porcupine.org
/*--*/
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.