From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ar.aichi-u.ac.jp ([202.250.160.40]) by ur; Wed Dec 9 19:58:00 EST 2015 Received: from [192.168.179.2] ([49.239.76.132]) by ar; Thu Dec 10 09:57:47 JST 2015 From: Kenji Arisawa Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (1.0) Subject: Re: [9front] Patch to allow listen(8) pass the remote address to the service Message-Id: <976FCE0B-E4DA-47D1-B492-B1F3F291C453@ar.aichi-u.ac.jp> List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: STM dependency ACPI pipelining full-stack solution Date: Thu, 10 Dec 2015 09:57:47 +0900 References: In-Reply-To: To: 9front@9front.org X-Mailer: iPad Mail (13B143) using current listen, we can get both local and remote ip address. isn't that enough? sorry if i misunderstand your intention. $BM-_7(B (iPad $B$+$iAw?.(B) 2015/12/10 7:27$B!"(BMatthew Veety $B$N%a%C%;!<%8(B: > 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