Re: ls -R bug?

2020-07-04 Thread Greg Thomas
Man, it goes to show you that with complex systems it's still worth reporting potential bugs even with heavily used utilities. On Sat, Jul 4, 2020 at 2:23 PM Brian Brombacher wrote: > > > On Jul 4, 2020, at 3:10 PM, Brian Brombacher > wrote: > > > > Hmm... > > > > /bin/ls, a utility that has

Re: strlcpy version speed tests?

2020-07-04 Thread Stuart Longland
On 1/7/20 10:05 pm, Luke Small wrote: > Are you clinging to traditions for some purpose? Are you posting random pieces of code and asking for critique on them for no apparent reason for some purpose? To be clear, this was the sum and total of your first message in this thread (excluding

Re: ls -R bug?

2020-07-04 Thread Ottavio Caruso
On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: > > Hi, > > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > OpenBSD ls -R will apparently list "hidden" directories like .git, > whereas GNU coreutils will not, is this expected behaviour or a bug? > Funny, because this seems

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
> On Jul 4, 2020, at 3:10 PM, Brian Brombacher wrote: > > Hmm... > > /bin/ls, a utility that has existed since 1960’s. > > This is not a bug. > > https://en.m.wikipedia.org/wiki/Ls > Please disregard this poor advice. Obviously this isn’t the 1960’s and it ain’t the same code :) There

Re: ls -R bug?

2020-07-04 Thread Richard Ipsum
On Sat, Jul 04, 2020 at 02:16:29PM -0600, Todd C. Miller wrote: > On Sat, 04 Jul 2020 20:59:08 +0200, Richard Ipsum wrote: > > > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > > OpenBSD ls -R will apparently list "hidden" directories like .git, > > whereas GNU coreutils will

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
I’ll be explicit. Did the OP run ls(1) as superuser? See -A flag in man ls We have no idea. > On Jul 4, 2020, at 3:44 PM, Brian Brombacher wrote: > >  > >>> On Jul 4, 2020, at 3:38 PM, Ottavio Caruso >>> wrote: >>> >>> On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: >>> >>> Hi, >>>

Re: ls -R bug?

2020-07-04 Thread Todd C . Miller
On Sat, 04 Jul 2020 20:59:08 +0200, Richard Ipsum wrote: > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > OpenBSD ls -R will apparently list "hidden" directories like .git, > whereas GNU coreutils will not, is this expected behaviour or a bug? I think this is actually a

Re: ls -R bug?

2020-07-04 Thread Stuart Henderson
On 2020-07-04, Ottavio Caruso wrote: > On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: >> >> Hi, >> >> Output of ls -R between OpenBSD and GNU coreutils seems to differ, >> OpenBSD ls -R will apparently list "hidden" directories like .git, >> whereas GNU coreutils will not, is this expected

Re: Relayd with TLS and non-TLS backends - bug

2020-07-04 Thread Lyndon Nerenberg
Henry Bonath writes: > I would like to chime in here and confirm that I am seeing very > similar behavior with HAProxy on OpenBSD 6.7, > I was preparing to create my own post on this issue until I saw your thread. > I too believe this is a bug. We saw the same thing after upgrading our proxy host

Re: It's been awhile

2020-07-04 Thread Greg Thomas
Happy Birthday Austin On Sat, Jul 4, 2020 at 9:08 AM Austin Hook wrote: > > Just noticed your post about, among other things, the old big puffy > wireframe stickers. Nice story about getting back into OpenBSD. > > There are quite a few of those stickers left over from the old days, when >

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
> On Jul 4, 2020, at 3:38 PM, Ottavio Caruso > wrote: > > On Sat, 4 Jul 2020 at 19:59, Richard Ipsum wrote: >> >> Hi, >> >> Output of ls -R between OpenBSD and GNU coreutils seems to differ, >> OpenBSD ls -R will apparently list "hidden" directories like .git, >> whereas GNU coreutils

Re: ls -R bug?

2020-07-04 Thread Brian Brombacher
Hmm... /bin/ls, a utility that has existed since 1960’s. This is not a bug. https://en.m.wikipedia.org/wiki/Ls > On Jul 4, 2020, at 3:02 PM, Richard Ipsum wrote: > > Hi, > > Output of ls -R between OpenBSD and GNU coreutils seems to differ, > OpenBSD ls -R will apparently list "hidden"

ls -R bug?

2020-07-04 Thread Richard Ipsum
Hi, Output of ls -R between OpenBSD and GNU coreutils seems to differ, OpenBSD ls -R will apparently list "hidden" directories like .git, whereas GNU coreutils will not, is this expected behaviour or a bug? Thanks, Richard

Re: It's been awhile

2020-07-04 Thread Austin Hook
Just noticed your post about, among other things, the old big puffy wireframe stickers. Nice story about getting back into OpenBSD. There are quite a few of those stickers left over from the old days, when we ran the first version of the OpenBSD store. Lifetime warrantee on anything we

Re: Relayd with TLS and non-TLS backends - bug

2020-07-04 Thread Brian Brombacher
> On Jul 3, 2020, at 7:17 PM, Henry Bonath wrote: > > Daniel, > > Thanks for taking the time to test this out. > I just reloaded a test machine from scratch with -current and > installed the HAProxy 2.0.15-4f39279 package. > I loaded a very basic config file, and am also seeing the same

Re: Relayd with TLS and non-TLS backends - bug

2020-07-04 Thread Brian Brombacher
> On Jun 11, 2020, at 4:28 PM, Toyam Cox wrote: > > Hello Misc, > > Full config at end of email. > > I've discussed the below in #openbsd on freenode, and was told to come > here. At present, I have a setup where I need multiple unrelated > servers under a single IP address. I used relayd

Re: strlcpy version speed tests?

2020-07-04 Thread Otto Moerbeek
On Sat, Jul 04, 2020 at 09:07:35AM -0400, Brian Brombacher wrote: > > >> On Jul 1, 2020, at 1:14 PM, gwes wrote: > >> > >> On 7/1/20 8:05 AM, Luke Small wrote: > >> I spoke to my favorite university computer science professor who said > >> ++n is faster than n++ because the function needs to

Re: strlcpy version speed tests?

2020-07-04 Thread Brian Brombacher
>> On Jul 1, 2020, at 1:14 PM, gwes wrote: >> >> On 7/1/20 8:05 AM, Luke Small wrote: >> I spoke to my favorite university computer science professor who said >> ++n is faster than n++ because the function needs to store the initial >> value, increment, then return the stored value in the

Re: relayd multiple listen on same redirect

2020-07-04 Thread Brian Brombacher
> On Jul 3, 2020, at 3:34 AM, Kapetanakis Giannis > wrote: > > Hi, > > My setup in relayd is like this: > > redirect radius { > listen on $radius_addr udp port radius interface $ext_if > pftag RELAYD_radius > sticky-address > forward to mode least-states check icmp demote carp > } >