Re: (bug?) relayd forward to directives interfering

2021-08-13 Thread Jean-Pierre de Villiers
On 21/08/13 11:00pm, Vladimir Nikishkin wrote: > > This has actually been reported before: > > https://www.mail-archive.com/bugs@openbsd.org/msg14189.html Thank you, that information is certainly invaluable! Then might I suggest using the stunnel package in client mode. That way you can have two

Re: (bug?) relayd forward to directives interfering

2021-08-13 Thread Vladimir Nikishkin
This has actually been reported before: https://www.mail-archive.com/bugs@openbsd.org/msg14189.html Jean-Pierre de Villiers writes: > On 21/08/11 04:34pm, Vladimir Nikishkin wrote: >> I do not think my setup is related to "TLS Inspection". > > Apologies, my misunderstanding. I always forget

Re: (bug?) relayd forward to directives interfering

2021-08-12 Thread Markus Wernig
On 11.08.21 08:40, Vladimir Nikishkin wrote: > table { 127.0.0.1 } > table { 127.0.0.1 } Have you tried having the two backend listeners on different IP addresses rather than on different ports? Eg. 127.0.0.1 and 127.0.0.2? best /m

Re: (bug?) relayd forward to directives interfering

2021-08-11 Thread Stuart Henderson
On 2021-08-11, Vladimir Nikishkin wrote: > I do not think my setup is related to "TLS Inspection". > > There is no problem connecting to the TLS-enabled backend. The problem > appears when connecting to the HTTP backend, when, _at the same time_, > in the same relay there is another redirect to th

Re: (bug?) relayd forward to directives interfering

2021-08-11 Thread Jean-Pierre de Villiers
On 21/08/11 04:34pm, Vladimir Nikishkin wrote: > I do not think my setup is related to "TLS Inspection". Apologies, my misunderstanding. I always forget I divert traffic to to localhost in my setup. Anyway, > There is no problem connecting to the TLS-enabled backend. The problem > appears when

Re: (bug?) relayd forward to directives interfering

2021-08-11 Thread Vladimir Nikishkin
I do not think my setup is related to "TLS Inspection". There is no problem connecting to the TLS-enabled backend. The problem appears when connecting to the HTTP backend, when, _at the same time_, in the same relay there is another redirect to the TLS backend. On Wed, 11 Aug 2021 at 16:15, Jean-

Re: (bug?) relayd forward to directives interfering

2021-08-11 Thread Jean-Pierre de Villiers
On 21/08/11 02:40pm, Vladimir Nikishkin wrote: > However, if I keep "with tls", the requests to port 81 are going > encrypted, and are failing with the following message in relayd logs: > `SSL routines:ST_CONNECT:tlsv1 alert protocol version`, > `TLS handshake error: handshake failed:`. What you'r

(bug?) relayd forward to directives interfering

2021-08-10 Thread Vladimir Nikishkin
Hello, everyon I have a super simple (sanitised) relayd.conf ``` $ext_ip = 192.168.1.1 table { 127.0.0.1 } table { 127.0.0.1 } http protocol "p-https" { tls session tickets tls keypair domain.example tls ca file "/etc/ssl/cert.pem" http websockets tcp { nodelay, sack, socket buffer 65536, bac