[systemd-devel] [PATCH] core/socket: Add REMOTE_IP environment variable for Accept=true

Lennart Poettering lennart at poettering.net
Sun Mar 8 14:51:06 PDT 2015


On Fri, 06.03.15 13:10, Shawn Landden (shawn at churchofgit.com) wrote:

> On Thu, Mar 5, 2015 at 3:18 AM, Lennart Poettering <lennart at poettering.net>
> wrote:
> 
> > On Wed, 04.03.15 15:18, Shawn Landden (shawn at churchofgit.com) wrote:
> >
> > Can't this just use getpeername_pretty()?
> >
> > Then I can't force it to only ipv4 and ipv6.

It wouldn't be too difficult to explicitly check for that before.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list