9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Matthew Veety <mveety@mveety.com>
To: 9front@9front.org
Subject: Patch to allow listen(8) pass the remote address to the service
Date: Wed, 9 Dec 2015 17:27:29 -0500	[thread overview]
Message-ID: <c1d7c698bf5e6b86f47b17996de1b6dc@styx> (raw)

Henesy noted earlier that /sys/log/auth doesn't have the remote
address listed when you get a failed auth request (cr-fail messages
specifically).  listen(8) didn't have the code to pass this to the
process it starts, so I made a quick patch to do it.  It gets the
caller's address with getnetconninfo and passes it as an environment
var to the service handler.

If they're no objections I'll throw it in 9front.

Patch: http://okturing.com/src/3328/body

--
Veety


             reply	other threads:[~2015-12-09 22:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-09 22:27 Matthew Veety [this message]
2015-12-10  0:57 ` [9front] " Kenji Arisawa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c1d7c698bf5e6b86f47b17996de1b6dc@styx \
    --to=mveety@mveety.com \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).