Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: relayd: add support for PROXY protocol in TCP relays
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
"Kirill A. Korinsky" <kirill@korins.ky>, christoph@liebender.dev, tech@openbsd.org
Date:
Wed, 11 Feb 2026 21:26:49 +0000

Download raw body.

Thread
> > > diff --git a/usr.sbin/relayd/parse.y b/usr.sbin/relayd/parse.y
> > > diff --git a/usr.sbin/relayd/relayd.conf.5 b/usr.sbin/relayd/relayd.conf.5
> > > diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h
> > > diff --git a/usr.sbin/relayd/relay.c b/usr.sbin/relayd/relay.c
> > > + * Copyright (c) 2025 Christoph Liebender <christoph@liebender.dev>

copyright claims for those files seem a bit much, there's no major
work in them

> > > diff --git a/usr.sbin/relayd/proxy_protocol.c b/usr.sbin/relayd/proxy_protocol.c
> > > new file mode 100644
> > > index 00000000000..d832d3f6678
> > > --- /dev/null
> > > +++ b/usr.sbin/relayd/proxy_protocol.c
> > > @@ -0,0 +1,142 @@
> > > +/*
> > > + * Copyright (c) 2025 Christoph Liebender <christoph@liebender.dev>

that one is of course reasonable

(i haven't reviewed the rest of the diff)