Re: Issue with Unix socket permission

Thomas Calderon <[email protected]> Thu, 16 Apr 2015 10:16:01 +0200
Newsgroups gmane.comp.lang.ocaml.lib.net.devel
Message-ID <CA+1ewKZDMd4L5wi_Hq6LZ28BTYjS6krRsOf_2K=EfZaXEyhVAg@mail.gmail.com>
--===============9145448541823617232==
Content-Type: multipart/alternative; boundary=bcaec51dd7633044ba0513d314cd

--bcaec51dd7633044ba0513d314cd
Content-Type: text/plain; charset=UTF-8

Hi,

Did this get included in Ocamlnet 4.0 ?

I tried to look for a new option to configure Unix socket permission but
did not find it in the documentation.

Thanks.

Thomas C.

On Mon, Dec 8, 2014 at 3:09 PM, Gerd Stolpmann <[email protected]>
wrote:

> Thanks for reporting this, I've added this to the list of things for
> Ocamlnet-4, which is now likely to be released in the next weeks (eoy
> perhaps).
>
> Gerd
>
> Am Mittwoch, den 19.11.2014, 16:49 +0100 schrieb Thomas Calderon:
> > Hi,
> >
> >
> > I would like to report an issue when using Netplex with a UNIX socket.
> >
> >
> > There is, as far as I know, no way to indicate the socket permission.
> > Therefore, when launching a netplex server process, the socket ends up
> > with default system permission (generally 755).
> > Hence, clients with different UID cannot properly exchange with the
> > server.
> >
> >
> > This is a serious limitation when using this socket backend.
> > It would be preferable to have fine-grained access to the desired
> > socket permissions for instance from the netplex configuration file.
> >
> >
> > Regards,
> >
> >
> > Thomas C.
> >
> ------------------------------------------------------------------------------
> > Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> > from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> > with Interactivity, Sharing, Native Excel Exports, App Integration & more
> > Get technology previously reserved for billion-dollar corporations, FREE
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Ocamlnet-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel
>
> --
> ------------------------------------------------------------
> Gerd Stolpmann, Darmstadt, Germany    [email protected]
> My OCaml site:          http://www.camlcity.org
> Contact details:        http://www.camlcity.org/contact.html
> Company homepage:       http://www.gerd-stolpmann.de
> ------------------------------------------------------------
>
>

--bcaec51dd7633044ba0513d314cd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>Did this get included in Ocamlnet 4=
.0 ?</div><div><br></div><div>I tried to look for a new option to configure=
 Unix socket permission but did not find it in the documentation.</div><div=
><br></div><div>Thanks.</div><div><br></div><div>Thomas C.</div><div class=
=3D"gmail_extra"><br><div class=3D"gmail_quote">On Mon, Dec 8, 2014 at 3:09=
 PM, Gerd Stolpmann <span dir=3D"ltr">&lt;<a href=3D"mailto:info@gerd-stolp=
mann.de" target=3D"_blank">[email protected]</a>&gt;</span> wrote:<br>=
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Thanks for reporting this, I&#39;ve added th=
is to the list of things for<br>
Ocamlnet-4, which is now likely to be released in the next weeks (eoy<br>
perhaps).<br>
<br>
Gerd<br>
<div><div><br>
Am Mittwoch, den 19.11.2014, 16:49 +0100 schrieb Thomas Calderon:<br>
&gt; Hi,<br>
&gt;<br>
&gt;<br>
&gt; I would like to report an issue when using Netplex with a UNIX socket.=
<br>
&gt;<br>
&gt;<br>
&gt; There is, as far as I know, no way to indicate the socket permission.<=
br>
&gt; Therefore, when launching a netplex server process, the socket ends up=
<br>
&gt; with default system permission (generally 755).<br>
&gt; Hence, clients with different UID cannot properly exchange with the<br=
>
&gt; server.<br>
&gt;<br>
&gt;<br>
&gt; This is a serious limitation when using this socket backend.<br>
&gt; It would be preferable to have fine-grained access to the desired<br>
&gt; socket permissions for instance from the netplex configuration file.<b=
r>
&gt;<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt;<br>
&gt; Thomas C.<br>
</div></div>&gt; ----------------------------------------------------------=
--------------------<br>
&gt; Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server<br>
&gt; from Actuate! Instantly Supercharge Your Business Reports and Dashboar=
ds<br>
&gt; with Interactivity, Sharing, Native Excel Exports, App Integration &am=
p; more<br>
&gt; Get technology previously reserved for billion-dollar corporations, FR=
EE<br>
&gt; <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D157005751&a=
mp;iu=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.ne=
t/gampad/clk?id=3D157005751&amp;iu=3D/4140/ostg.clktrk</a><br>
&gt; _______________________________________________<br>
&gt; Ocamlnet-devel mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a><br>
&gt; <a href=3D"https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel=
" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/ocamlnet-d=
evel</a><br>
<span><font color=3D"#888888"><br>
--<br>
------------------------------------------------------------<br>
Gerd Stolpmann, Darmstadt, Germany=C2=A0 =C2=A0 <a href=3D"mailto:gerd@gerd=
-stolpmann.de" target=3D"_blank">[email protected]</a><br>
My OCaml site:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://www.caml=
city.org" target=3D"_blank">http://www.camlcity.org</a><br>
Contact details:=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"http://www.camlcity.=
org/contact.html" target=3D"_blank">http://www.camlcity.org/contact.html</a=
><br>
Company homepage:=C2=A0 =C2=A0 =C2=A0 =C2=A0<a href=3D"http://www.gerd-stol=
pmann.de" target=3D"_blank">http://www.gerd-stolpmann.de</a><br>
------------------------------------------------------------<br>
<br>
</font></span></blockquote></div><br></div></div>

--bcaec51dd7633044ba0513d314cd--


--===============9145448541823617232==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
--===============9145448541823617232==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Ocamlnet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ocamlnet-devel

--===============9145448541823617232==--