Download raw body.
relayd: add support for PROXY protocol in TCP relays
> > > 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)
relayd: add support for PROXY protocol in TCP relays