9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Kenji Arisawa <arisawa@ar.aichi-u.ac.jp>
To: 9front@9front.org
Subject: Re: [9front] Patch to allow listen(8) pass the remote address to the service
Date: Thu, 10 Dec 2015 09:57:47 +0900	[thread overview]
Message-ID: <976FCE0B-E4DA-47D1-B492-B1F3F291C453@ar.aichi-u.ac.jp> (raw)
In-Reply-To: <c1d7c698bf5e6b86f47b17996de1b6dc@styx>

using current listen, we can get both local and remote ip address.
isn't that enough?

sorry if i misunderstand your intention.


有澤 (iPad から送信)


2015/12/10 7:27、Matthew Veety <mveety@mveety.com> のメッセージ:

> 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-10  0:57 UTC|newest]

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

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=976FCE0B-E4DA-47D1-B492-B1F3F291C453@ar.aichi-u.ac.jp \
    --to=arisawa@ar.aichi-u.ac.jp \
    --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).