Commits
- Commit:
88acf51a5d44a2359a94678d631e30ea6bff41fe- From:
- tb <tb@openbsd.org>
- Date:
relay_tls_ctx_create: plug tls_cfg leak
If the second tls_cfg_new() call fails, the tls_cfg is leaked.
From Jan Schreiber
- Commit:
6b5c4000434cc5dc67e202d8aede2f543b5b2bf3- From:
- rsadowski <rsadowski@openbsd.org>
- Date:
Standardize logging with bgpd
OK claudio@
- Commit:
80347df32a3fd8cd66aeaf059fbfd16c95a2ffe7- From:
- kirill <kirill@openbsd.org>
- Date:
usr.sbin/relayd: add support for PROXY protocol in TCP relays
patch from Christoph Liebender
OK: rsadowski@
- Commit:
c4efe747621091eebe4473e6bf136cb19c94288f- From:
- tb <tb@openbsd.org>
- Date:
relayd: add support for client certificates
This feature has been requested many times over the years. Various patches
were provided by Asherah Connor, Rivo Nurges, Markus Läll and maybe others.
These patches always stalled for various reasons.
From Sören Tempel, mostly based on Asherah's latest patch.
ok florian tb
- Commit:
754759d678506a17ec8fb2feac05db61c71387a6- From:
- claudio <claudio@openbsd.org>
- Date:
Use imsg_get_fd()
As usual proc_forward_imsg() is never forwarding a file descriptor so
just use -1 there. This should be replaced by imsg_forward().
All other changes are simple conversions.
OK tb@
- Commit:
fba21fa43acf989eddaa8e24ce4e4ba95db9ef31- From:
- kn <kn@openbsd.org>
- Date:
Unmention/don't explain SSL, drop 9y old "ssl" keyword/deprecation warning
Switch "ssl" to "tls" in relayd.conf(5) if you haven't done so in the last
ten years, "ssl" is now an error.
Say "TLS" not "SSL/TLS" and drop the primer in the TLS RELAYS section.
OK benno
- Commit:
b7ece43cfb55eaf52211be2142cb289bbd39e1ca- From:
- nicm <nicm@openbsd.org>
- Date:
Use EVBUFFER_DATA instead of reaching into struct evbuffer. ok tb
- Commit:
1785600cd758a6b1ba7920387869106fecf6c53f- From:
- beck <beck@openbsd.org>
- Date:
Make the tlsv1.0 and tlsv1.1 options in relayd do nothing
Also document that fact, and that the existing ssl3 option
does nothing. This changes relayd to no longer request tls1.0
or tls1.1 in preparation for the upcoming deprecation of these
out of data protocols
ok jsing@ bluhm@ tb@ claudio@ benno@
- Commit:
57122c1b8f56f6a0d930dbc946467c1834ff6c38- From:
- jmc <jmc@openbsd.org>
- Date:
spelling fixes; from paul tagliamonte
any parts of his diff not taken are noted on tech
- Commit:
94c8a65e1db2bd36b1efb39bcb8ddb0634b49c8b- From:
- benno <benno@openbsd.org>
- Date:
Responses to HEAD requests must not have a message body (even though they have
a Content-Length header). HTTP RFC 7231 section 4.3.2.
found by niklas@, claudio@ agrees.
- Commit:
3b62aaee4b06a87ed1fc75c4b43ec6454620986c- From:
- eric <eric@openbsd.org>
- Date:
remove bogus key hack now that it's handled by libtls
no objection claudio@
ok tb@ jsing@
- Commit:
d498e80a114cd078ac00398a2d648ec0f9175e44- From:
- denis <denis@openbsd.org>
- Date:
Add 'strip' directive
Feedback by Olivier Cherrier, Hiltjo Posthuma, Mischa
OK benno@
- Commit:
8d09c19145dba26c5186f5e11afc35004b0ee615- From:
- pvk <pvk@openbsd.org>
- Date:
Enable TLSv1.3 support in relayd(8)
with the help from tb@ jsing@; ok tb@
- Commit:
d9d7e70831be72ebf5273a07c9e6e84552e7e40a- From:
- chrisz <chrisz@openbsd.org>
- Date:
Don't "forward to <table>" when a "forward to destination" address is set.
This matches the documented behaviour.
On matching "forward to <table>" filter rules the "forward to destination"
address is unset, so that in that case the "forward to <table>" rule is still
used.
OK benno@, regression tests still passing.
- Commit:
e475725efdaacc720c9b0f5c3ba9cf6300c5d73b- From:
- deraadt <deraadt@openbsd.org>
- Date:
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.
- Commit:
0c91187da1707fc65869cc8b4fd03050eac43f3d- From:
- reyk <reyk@openbsd.org>
- Date:
Add support for OCSP stapling
Many thanks to Bruno Flueckiger who independently sent a very similar
patch. He also tested the one I'm committing that it works as
expected.
OK tb@
- Commit:
fe4913ec641bced939aab727cbc4124c761bdde9- From:
- reyk <reyk@openbsd.org>
- Date:
Move the relay keys/certs into a separate global list and look them up by id.
Moving the certs out of the relay struct will help to add multiple SNI certs.
Tested by many users (thanks!)
Feedback & OK rob@
- Commit:
55ca94a79e8d3e5f12c1ad99051096e7bfd742a1- From:
- reyk <reyk@openbsd.org>
- Date:
Move relay_load_*() functions into relayd.c
Pass the *env as an explicit argument instead of using the global
pointer: The relay_load_certfiles() function is called early before
the *env is set up. This does not change anything in the current code
as *env is not used by anything in the function (not even
ssl_load_key() that is taking it as an argument) but it will be needed
by upcoming changes for SNI.
Ok rob@
- Commit:
b8764354badc5d5450d0541bcda8ab4d63016afc- From:
- reyk <reyk@openbsd.org>
- Date:
Fix filter rules with "forward to" statement in persistent connections.
OK bentley@ mikeb@
- Commit:
fc2c091bf3bc887afa748bf6740952fea7bbb577- From:
- reyk <reyk@openbsd.org>
- Date:
Add support for from/to in relay filter rules.
For example,
pass from 10.0.0.0/8 path "/hello/*" forward to <b>
Ok benno@
- Commit:
62ee3f1b862dfa38fbdf7019ed8fa4eef0a2824b- From:
- reyk <reyk@openbsd.org>
- Date:
Fix and tweak websocket upgrade handling.
- Don't expect the Connection header to equal Upgrade, it may include Upgrade
- Reshuffle the code to check the Upgrade/Connection headers in one place
Reported and tested by Rivo Nurges
OK and input from benno@
Cvs: ----------------------------------------------------------------------
- Commit:
c0f9bf60024c9ce0cf08a6387897ebc58e1685ef- From:
- benno <benno@openbsd.org>
- Date:
Support for rfc 6455 Websockets connection upgrade. Add a new protocol
option 'http { [no] websockets }' to allow such connections (default
is no). Original diff from Daniel Lamando (dan AT danopia DOT net),
option and header checks by me. suggestions and ok bluhm@ and earlier
diff claudio@
- Commit:
fd9ff40cbd01d45ce5a41ee0db3be71c6dd65254- From:
- reyk <reyk@openbsd.org>
- Date:
Do not abort when the ca privenc runs into a timeout.
OK claudio@
- Commit:
37ed6014e6a950279c73fe895cfade2a997a6086- From:
- benno <benno@openbsd.org>
- Date:
replace the current log options
log updates|all
with
log state changes
log host checks
log connection [errors]
The first two control the logging of host check results: either changes in host state only or
all checks.
The third option controls logging of connections in relay mode:
Either log all connections, or only errors.
Additionaly, errors will be logged with LOG_WARN and good connections
will be logged with LOG_INFO, so they can be differentiated in syslog.
ok and feedback from claudio@
- Commit:
112f6a5d39b46b7cb06cc1eb42f7c385731b7f5c- From:
- benno <benno@openbsd.org>
- Date:
When a TLS error occurs, print the tls_error() message as part of the
connection closed log message, not just as debug message.
ok claudio@ reyk@
