[systemd-devel] [PATCH] add REMOTE_ADDR and REMOTE_PORT for Accept=yes

Lennart Poettering lennart at poettering.net
Tue Mar 10 03:29:34 PDT 2015


On Mon, 09.03.15 14:48, Shawn Landden (shawn at churchofgit.com) wrote:


> > We shouldn't bind us too closely to the precise formatting. I mean, if
> > one day libc decides to format the thing as ipv6 again, or with
> > uppercase hex chars, we shouldn't break.
>
> https://tools.ietf.org/html/rfc5952#section-4.3 says lowercase-only
> https://tools.ietf.org/html/rfc5952#section-5 specifies formatting of
> ipv4-mapped addresses

Well, but you know how these things go. I mean, you are the one using
musl. I'd not be surprised if some of the implementations don't
strictly follow the rfc in some detail and end up with a slightly
different formatting and the code is hosed...

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list