UNIX domain sockets on nullfs still broken?

Vlad Galu dudu at dudu.ro
Mon Nov 30 15:21:25 UTC 2009


On Mon, Nov 30, 2009 at 5:01 PM,  <xorquewasp at googlemail.com> wrote:
> On 2009-11-30 15:43:01, Ivan Voras wrote:
>> xorquewasp at googlemail.com wrote:
>> >  76030 initial thread STRU  struct sockaddr { AF_LOCAL, /tmp/jack-11001/default/jack_0 }
>> >  76030 initial thread NAMI  "/tmp/jack-11001/default/jack_0"
>> >  76030 initial thread RET   connect -1 errno 61 Connection refused
>>
>> I would expect to see this result from the jail since it's obviously a
>> Bad Idea, but does it work from the same (host) machine without the jail
>> in between (i.e. just the nullfs, no jails)?
>
> Hm, yes, you're right. It does work without a jail involved.
>
> What's the sane solution, then, when the only method of communication
> is unix domain sockets?

 For redirecting a connection to a UNIX socket to a remote host:port,
there's net/unix2tcp. Perhaps you can patch it to go the other way
around as well?

>
> xw
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>


More information about the freebsd-hackers mailing list