Claudio,

Thank you - that's what I was missing.
I made the change to the fstab in order to test per Theo's recommendation
on the mount point options,
However I was not able to get it to work until I changed the owner to root.

It also sounds like Theo is recommending a separate partition, which I will
definitely do since this thing will be public-facing.

Again, I appreciate you guys taking the time to explain this to me!
-Henry

On Thu, Oct 3, 2019 at 2:56 PM Claudio Jeker <cje...@diehard.n-r-g.com>
wrote:

> On Thu, Oct 03, 2019 at 02:07:58PM -0400, Henry Bonath wrote:
> > Hello Misc,
> >
> > I had thought that I had configured the looking glass correctly per the
> man
> > page,
> > I have everything else working correctly, with custom header and footer
> > with CSS and all works great.
> > Whenever I attempt to ping/traceroute from the webpage, it simlpy
> reports:
> > "failed."
> >
> > Here is what permissions look like: (set to 4555, per the man page)
> > # ls -l /var/www/bin
> > total 3584
> > -r-xr-xr-x  1 root  bin  336016 Apr 13 16:35 bgpctl
> > -r-sr-xr-x  2 www   bin  366536 Apr 13 16:35 ping
> > -r-sr-xr-x  2 www   bin  366536 Apr 13 16:35 ping6
> > -r-sr-xr-x  2 www   bin  325320 Apr 13 16:35 traceroute
> > -r-sr-xr-x  2 www   bin  325320 Apr 13 16:35 traceroute6
>
> The ping* and traceroute* binaries need to be setuid root not setuid www.
> The root privs are needed to open the raw socket after that privs are
> dropped. Also check the mail from Theo about nosuid mount option on /var
>
> > OpenBSD version is 6.5 amd64.
> >
> > Is there anything I am missing that I would need to do in order to make
> > this work?
> > Thanks in advance!
> > -Henry
>
> --
> :wq Claudio
>

Reply via email to