From: nobu@... Date: 2018-01-28T12:51:47+00:00 Subject: [ruby-core:85177] [Ruby trunk Feature#14412][Assigned] DRb UNIX on local machine: add support for getpeereid() Issue #14412 has been updated by nobu (Nobuyoshi Nakada). Tracker changed from Bug to Feature Status changed from Open to Assigned Assignee set to seki (Masatoshi Seki) ruby -v deleted (ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]) Backport deleted (2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN) ---------------------------------------- Feature #14412: DRb UNIX on local machine: add support for getpeereid() https://bugs.ruby-lang.org/issues/14412#change-69922 * Author: hkcorac (Hk Corac) * Status: Assigned * Priority: Normal * Assignee: seki (Masatoshi Seki) * Target version: ---------------------------------------- Hi, `UNIXSocket` has this method `#getpeereid()` which returns effective user ID and effective group ID. DRb using `drbunix://` on local machine doesn't support that method. In my use case, I need to verify clients via that method. So it would be great if you add support to DRb. Actually that method `#getpeereid()` is from `BaseSocket`, but documentation states that it only supports UNIX sockets. I mean, it's a general method from parent class. So you can do the same with DRb: add some similar method, but only works via `drbunix://` on local machine. Otherwise you can raise error... Thank you, -- https://bugs.ruby-lang.org/ Unsubscribe: