https://bugzilla.mindrot.org/show_bug.cgi?id=3126

--- Comment #4 from Jakub Jelen <[email protected]> ---
(In reply to Darren Tucker from comment #3)
> (In reply to Jakub Jelen from comment #2)
> > (In reply to Darren Tucker from comment #1)
> [...]
> > > If the Linux rdomain code doesn't work as expected that's a
> > > separate issue.
> > 
> > There is no linux code for this configuration option.
> 
> https://github.com/openssh/openssh-portable/blob/master/openbsd-
> compat/port-net.c#L48

But this is for set/get_rdomain() on socket. The above option is about
setting the context for process, which is not supported in Linux:

https://github.com/openssh/openssh-portable/blob/master/openbsd-compat/port-net.c#L119

> > I did not
> > investigate whether there is already a way to change rdomain for
> > process in Linux, but having an option which is without warning in
> > manual page breaking all connections is dangerous.
> 
> The problem looks to be specific to the Linux code.  On any platform
> other than OpenBSD or Linux (this is FreeBSD 10) I get this error at
> startup when attempting to set an rdomain:
> 
> $ sudo `pwd`/sshd -ddd -o rdomain=1
> Routing domains are not supported on this platform
> command-line line 0: bad routing domain

Right. Thank you for checking. I missed this part of the code which is
shared between listenaddress and rdomain options. But the patch as it
is above, still address the original issue. If you think that the
option should fail and not report as unsupported, I can rewrite the
patch to do that.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to