#
62e04d05 |
| 16-May-2023 |
op <op@openbsd.org> |
some fatal -> fatalx to improved logging
errno doesn't generally contains anything useful after libtls functions, and in most cases it's explicitly cleared to avoid misuse, so change a few fatal() c
some fatal -> fatalx to improved logging
errno doesn't generally contains anything useful after libtls functions, and in most cases it's explicitly cleared to avoid misuse, so change a few fatal() calls to fatalx() when logging libtls failures. Also, add the real error string, via tls_error() or tls_config_error(), that was missing before.
ok millert@
show more ...
|
#
41b8cf0b |
| 18-Feb-2022 |
millert <millert@openbsd.org> |
Revert changes to use the new libtls signer api There are bugs in the new libtls signer that can lead to a crash. OK tb@ jsing@
|
#
3abbdc76 |
| 12-Feb-2022 |
eric <eric@openbsd.org> |
use new libtls signer api
ok tb@
|
#
d3140113 |
| 14-Jun-2021 |
eric <eric@openbsd.org> |
add required headers for smtpd.h and remove unnecessary ones in other files.
ok jung@
|
#
ff01b044 |
| 26-May-2021 |
eric <eric@openbsd.org> |
replaces calls to err(3)/errx(3) with fatal()/fatalx() from log.c for code that runs in the daemon.
ok florian@ millert@
|
#
a040621a |
| 09-Apr-2021 |
eric <eric@openbsd.org> |
allow to specify tls ciphers and protocols on listeners
ok tb@
|
#
930b1de6 |
| 10-Mar-2021 |
eric <eric@openbsd.org> |
do not request client certificate unless required
issue hit by florian@ diff by jsing@
ok tb@
|
#
eed85469 |
| 05-Mar-2021 |
eric <eric@openbsd.org> |
Start porting smtpd to libtls.
Note that it changes the way SNI works: The certificate to use is now selected by looking at the names found in the certificates themselves, rather than the names of t
Start porting smtpd to libtls.
Note that it changes the way SNI works: The certificate to use is now selected by looking at the names found in the certificates themselves, rather than the names of the pki entries in the configuration file. The set of certificates for a tls listener must be defined explicitly by using the pki listener option multiple times.
ok tb@
show more ...
|
#
e0e1c090 |
| 10-Aug-2019 |
gilles <gilles@openbsd.org> |
this introduces experimental proxy v2 support which is fairly isolated to a single proxy.c file, importing it to work in tree
initial work from Antoine Kaufmann <toni@famkaufmann.info>
|
#
df69c215 |
| 28-Jun-2019 |
deraadt <deraadt@openbsd.org> |
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
show more ...
|
#
d64dc2a5 |
| 23-Dec-2018 |
eric <eric@openbsd.org> |
remove dead code
ok gilles@
|
#
2b1a70cc |
| 11-Dec-2018 |
gilles <gilles@openbsd.org> |
do some imsg renaming to make them more clear
|
#
590a6142 |
| 06-Dec-2018 |
gilles <gilles@openbsd.org> |
bring the first bits of DATA filtering plumbing but bypass it for now
ok eric@
|
#
486285b1 |
| 03-Nov-2018 |
gilles <gilles@openbsd.org> |
only apply filter rules to filtered interfaces
|
#
d7b0dc3b |
| 03-Nov-2018 |
gilles <gilles@openbsd.org> |
bring plumbing for builtin filters
ok millert@, eric@, jung@
|
#
01eba458 |
| 25-Jul-2018 |
eric <eric@openbsd.org> |
Implement a generic interface to forward resolver queries to the lka process. Use it for the reverse lookups required by smtp and mta.
Until now, DNS-related lookups were implemented using ad-hoc I
Implement a generic interface to forward resolver queries to the lka process. Use it for the reverse lookups required by smtp and mta.
Until now, DNS-related lookups were implemented using ad-hoc IMSGs between the lka and other processes. It turns out to be confusing and difficult to maintain/extend. So we want to replace this with a better set of IMSGs matching the standard resolver interface.
ok gilles@
show more ...
|
#
3685495a |
| 18-Jun-2018 |
gilles <gilles@openbsd.org> |
split smtp_accept() in two parts: the accept part, the session init part, while at it allow smtp_session() to receive a pre-allocated struct io
ok millert@ diff contributed by Antoine Kaufmann
|
#
ffdd47f9 |
| 21-Nov-2017 |
eric <eric@openbsd.org> |
no need to check the sending process in imsg handlers when there is no ambiguity: just use a single switch.
ok gilles@ sunil@
|
#
040e076f |
| 22-May-2017 |
gilles <gilles@openbsd.org> |
- filters are currently broken, do not allow using them until we're done
|
#
907c4b99 |
| 25-Mar-2016 |
krw <krw@openbsd.org> |
Nuke session_socket_blockmode() and session_socket_linger(). Use the identical io_set_blocking() and io_set_linger().
Since both are always called to turn off blocking or lingering, nuke the paramet
Nuke session_socket_blockmode() and session_socket_linger(). Use the identical io_set_blocking() and io_set_linger().
Since both are always called to turn off blocking or lingering, nuke the parameter and associated enum in favour of "just doing the right thing".
While passing remove the unneeded last parameter to the remaining fcntl(F_GETFL).
Finally, rename the functions to io_set_nonblocking() and io_set_nolinger() for clarity.
No functional change.
Started with a sweep of fcntl() usage inspired by guenther@.
ok gilles@
show more ...
|
#
e734350e |
| 13-Feb-2016 |
gilles <gilles@openbsd.org> |
handle enqueuer socket as a regular listener that can be configured with "listen on socket". this simplifies a bit of code, removes some special cases and will allow attaching filters & masking sourc
handle enqueuer socket as a regular listener that can be configured with "listen on socket". this simplifies a bit of code, removes some special cases and will allow attaching filters & masking source just as on lo0.
diff from Peter Bisroev <peter@int19h.net> ok gilles@, jung@
show more ...
|
#
ef9e2d7b |
| 13-Feb-2016 |
gilles <gilles@openbsd.org> |
remove some noop leftover code from an earlier cleanup
diff from Peter Bisroev <peter@int19h.net>
|
#
a24a08d2 |
| 08-Jan-2016 |
jung <jung@openbsd.org> |
adjust a debug message to use decimal instead of hex
ok gilles millert
|
#
e459d0ce |
| 28-Dec-2015 |
jung <jung@openbsd.org> |
remove spaces after '!'
no binary change
ok millert
|
#
c3e2e87d |
| 13-Dec-2015 |
gilles <gilles@openbsd.org> |
refactor a bit to move the SNI handling away from smtp_session into smtp
ok sunil@, jung@
|