Re: Pass -U to pgrep and pkill in rc.subr(8)

2021-11-26 Thread Vincent Lee
Stuart Henderson writes: > Yes that will break a lot of existing scripts, also it is probably not needed > - rc.subr uses the process name *and arguments*, if you're > using default top options you'll only see the name, use top -C or ps to check > as there is probably more that you can match

Pass -U to pgrep and pkill in rc.subr(8)

2021-11-25 Thread Vincent Lee
Hey all, I noticed that rc.subr(8)'s invocations of pgrep(1) and pkill(1) don't filter by the user (by passing -U or -u). I'm wondering if there's a reason for this? The reason is that I'm running thelounge (thelounge.chat). It's a NodeJS application, and by default its command line shows in top(

Re: Respect X-Forwarded-Proto in httpd

2021-04-28 Thread Vincent Lee
Dave Voutila writes: > Claudio Jeker writes: > >> On Wed, Apr 28, 2021 at 09:55:16AM -0400, Dave Voutila wrote: >>> >>> Claudio Jeker writes: >>> >>> > On Wed, Apr 28, 2021 at 08:18:47AM -0400, Dave Voutila wrote: >>> >> >>> >> Claudio Jeker writes: >>> >> >>> >> > Another thing to consider is t

Respect X-Forwarded-Proto in httpd

2021-04-27 Thread Vincent Lee
Hi all, Consider the following situation. A reverse proxy which performs TLS termination is deployed in front of httpd, which listens unencrypted on localhost. There is code in httpd to handle the case where a directory is accessed, but the path named does not end with a slash. In this case, h