Re: Theo's BOF at BSDcan

2018-06-21 Thread Rupert Gallagher
On Fri, Jun 22, 2018 at 07:10, Rupert Gallagher wrote: > There is a fact missing from the discussion: state-funded espionage companies > (NSA, Hacking Team, etc) and criminals they both purchase and profit from > bugs. My guess is that OpenBSD does not get first-hand information from Intel >

Re: Theo's BOF at BSDcan

2018-06-21 Thread Rupert Gallagher
There is a fact missing from the discussion: state-funded espionage companies (NSA, Hacking Team, etc) and criminals they both purchase and profit from bugs. My guess is that OpenBSD does not get first-hand information from Intel because Intel knows that OpenBSD will patch it as if there is no

Re: Theo's BOF at BSDcan

2018-06-21 Thread Roman Zolotarev
> I think that this is the video under discussion: > https://www.youtube.com/watch?v=UaQpvXSa4X8 A fragment with better sound: https://www.youtube.com/watch?v=_E873DaCLN4 Roman

Re: Theo's BOF at BSDcan

2018-06-21 Thread Wiremu Demchick
Kia ora Rudy, I think that this is the video under discussion: https://www.youtube.com/watch?v=UaQpvXSa4X8 Kind regards, Wiremu

Re: Theo's BOF at BSDcan

2018-06-21 Thread Kevin Chadwick
On Thu, 21 Jun 2018 13:07:23 -0600 > Kevin Chadwick wrote: > > > My point was that signing up in the first > > place should be criticised, if anything. > > So you criticize our previous involvement in embargos where it was > neccessary? I think you had little choice because of an incorrect

Re: Theo's BOF at BSDcan

2018-06-21 Thread Theo de Raadt
Kevin Chadwick wrote: > My point was that signing up in the first > place should be criticised, if anything. So you criticize our previous involvement in embargos where it was neccessary? Even in the situations where it took > a week to write a fix? Everyone can tell that you are wrong.

Re: Theo's BOF at BSDcan

2018-06-21 Thread Kevin Chadwick
On Thu, 21 Jun 2018 12:09:00 -0600 > Wow, just look at that sentence. OpenBSD did not break any embargos. > This situation may have no relationship to embargo breaking rumours. > However, false rumours about breaking embargos have to stop, > especially when spread by people at other open source

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Otto Moerbeek
On Thu, Jun 21, 2018 at 08:06:46PM +0200, Vincent Legoll wrote: > Hello, > > The man page did not say bs has to be a power of 2. > > On a very old macppc openbsd box: > > vince@mini:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin > 1+0 records in > 1+0 records out > 123456789 bytes

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Henrik Dige Semark
I have now tried to change the carp netmask to /32 on the one interface that shares subnet (management), changed advskew to 20 on master and 80 on slave. But ping loss still persist (see bottom of this mail). I could try to set the carpdemote higher on the slave, but what then when/if the master

Re: Theo's BOF at BSDcan

2018-06-21 Thread Theo de Raadt
Kevin Chadwick wrote: > On Thu, 21 Jun 2018 08:34:55 -0700 (MST) > > > > It was a good talk either way.. It's an issue that keeps getting > > larger as time goes on. > > Whilst I can see but disagree with a point of view that Open Source > will be locked out if they don't comply with

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Vincent Legoll
Hello, The man page did not say bs has to be a power of 2. On a very old macppc openbsd box: vince@mini:~$ dd count=1 bs=123456789 < /dev/zero > zero.bin 1+0 records in 1+0 records out 123456789 bytes transferred in 9.833 secs (12554493 bytes/sec) On a much more recent core i7 linux:

Re: Theo's BOF at BSDcan

2018-06-21 Thread Kevin Chadwick
On Thu, 21 Jun 2018 08:34:55 -0700 (MST) > It was a good talk either way.. It's an issue that keeps getting > larger as time goes on. Whilst I can see but disagree with a point of view that Open Source will be locked out if they don't comply with embargos. I would not participate. After all,

Re: Theo's BOF at BSDcan

2018-06-21 Thread Rudy Baker
Anyone got a link to this video? Can't find it anywhere On Thu, Jun 21, 2018, 11:52 AM anexit wrote: > It was a good talk either way.. It's an issue that keeps getting larger as > time goes on. > > > > -- > Sent from: > http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html > >

Re: virtual colocation? Amazon/cloud?

2018-06-21 Thread Maximilian Pichler
I've had a very good experience with the Netherlands-based transip. Their pricing is competitive (especially for storage if you don't want do deal with anything S3-like), they are reliable, and have also been good at keeping up with new OpenBSD releases: https://www.transip.eu/vps/openbsd/ On

Re: Theo's BOF at BSDcan

2018-06-21 Thread anexit
It was a good talk either way.. It's an issue that keeps getting larger as time goes on. -- Sent from: http://openbsd-archive.7691.n7.nabble.com/openbsd-user-misc-f3.html

Re: New laptop recommendations

2018-06-21 Thread flipchan
I got the x200 with libreboot and openbsd On June 19, 2018 10:47:24 AM UTC, Kaya Saman wrote: >I couldn't say for the compatibility with OpenBSD though I have read >other people running on them, but how about Lenovo?? > > >I've got an X220 which I run a Linux distro on which I'm really happy

Re: Poor browser performance in OpenBSD

2018-06-21 Thread Dumitru Mișu Moldovan
On 06/21/18 00:34, Chris Cappuccio wrote: I notice some major slowdowns with the meltdown mitigation on Core 2 Duo with inteldrm that make them almost unusable with modern browsers right now. Not as bad on newer CPUs. In my experience, a Core2Duo machine with inteldrm I still use as a backup

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Maximilian Pichler
On Thu, Jun 21, 2018 at 3:15 PM, Daniel Hartmeier wrote: > I think they meant dd and just didn't care about efficiency: > > http://austingroupbugs.net/bug_view_page.php?bug_id=407 Thanks for digging this out! > Does ghead -c beat a simple buffer loop? Your head-c.c seems to have the same

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Otto Moerbeek
On Thu, Jun 21, 2018 at 03:08:10PM +0200, Jan Stary wrote: > On Jun 20 17:32:51, maxim.pich...@gmail.com wrote: > > dd bs=1 count=1234567 will copy 1234567 bytes and then stop, but it's slow. > > $ dd bs=1 count=1234567 < /dev/zero > /dev/null > 1234567+0 records in > 1234567+0 records out >

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Daniel Hartmeier
On Thu, Jun 21, 2018 at 03:08:10PM +0200, Jan Stary wrote: > $ dd count=1 bs=1234567 < /dev/zero > /dev/null > 1+0 records in > 1+0 records out > 1234567 bytes transferred in 0.001 secs (653970943 bytes/sec) That was my first hunch as well, but try $ printf "foo\nbar\n" | dd count=1

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Daniel Hartmeier
On Thu, Jun 21, 2018 at 10:57:40AM +0200, Maximilian Pichler wrote: > > dd ibs=1 count=n > > Nice, this is about three time as fast as bs=1. Both are much slower > than 'ghead -c'. I think they meant dd and just didn't care about efficiency:

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Jan Stary
On Jun 20 17:32:51, maxim.pich...@gmail.com wrote: > dd bs=1 count=1234567 will copy 1234567 bytes and then stop, but it's slow. $ dd bs=1 count=1234567 < /dev/zero > /dev/null 1234567+0 records in 1234567+0 records out 1234567 bytes transferred in 4.507 secs (273886 bytes/sec) $ dd count=1

Re: New laptop recommendations

2018-06-21 Thread bytevolcano
In his defense, you did exactly that which you are accusing him of, not providing "technical" arguments. "Oh look at this laptop which I've apparently never used but I'd recommend you look into anyway." "I hear they're quite nice, and are running coreboot straight from the factory." It sounds

Re: New laptop recommendations

2018-06-21 Thread Thomas Levine
I spoke with Todd Weaver at LibrePlanet about running OpenBSD on Purism. I suggested that the company install a bunch of operating systems and post dmesg, but I don't think they have done that yet. If I remember correctly, he also said he would be happy to provide a refurbished laptop to a

Re: Poor browser performance in OpenBSD

2018-06-21 Thread Максим
Sorry for corrupted output. I had to compose the email in a browser. I will try to fix that. --  Best regards. Maksim Rodin 21.06.2018, 12:13, "Максим" : > Here is the vmstat result. It can be seen clear when I start a youtube > video in firefox. CPU usage jumps and falls, whenI close the tab

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Maximilian Pichler
On Thu, Jun 21, 2018 at 11:05 AM, Abel Abraham Camarillo Ojeda wrote: > $ cat file | perl -ne 'BEGIN { $/ = \1 } print if $. <= 5; exit 0 if $. == 5' This is much slower than 'dd ibs=1'

Re: FTP login delay

2018-06-21 Thread Maximilian Pichler
Thanks for the suggestion! ktracing reveals that it IS hanging on a DNS lookup. 99982 ftpd CALL connect(3,0xae7e11d72a0,16) 99982 ftpd STRU struct sockaddr { AF_INET, 192.168.1.1:53 } 99982 ftpd RET connect 0 99982 ftpd CALL sendto(3,0xae80477fa00,0x27,0,0,0) 99982 ftpd

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Janne Johansson
Den tors 21 juni 2018 kl 10:31 skrev Stefan Sperling : > On Thu, Jun 21, 2018 at 10:07:06AM +0200, Janne Johansson wrote: > > Den ons 20 juni 2018 kl 19:59 skrev Henrik Dige Semark : > > > > > Hey everybody, > > > > > > # Server 1 > > > My /etc/hostname.* for CARP's and pfsync + host adaptor: > >

Re: Full Summary Of Research, Computer Sector Part. Now with Nyt Cloud BBS Intro oldskool style.

2018-06-21 Thread Ywe Cærlyn
Den 6/19/2018 19:34, skrev Rudy Baker: *grabs popcorn* On Tue, Jun 19, 2018, 1:08 PM Ywe Cærlyn wrote: As mentioned earlier, I did 15 years of research on religion, that gained me top 1% research on academia.edu . The computer part is now also ready, and

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Robert Blacquiere
On Thu, Jun 21, 2018 at 11:06:36AM +0200, Henrik Dige Semark wrote: > On 21-06-2018 10:30, Stefan Sperling wrote: > > On Thu, Jun 21, 2018 at 10:07:06AM +0200, Janne Johansson wrote: > >> Den ons 20 juni 2018 kl 19:59 skrev Henrik Dige Semark : > >> > >>> Hey everybody, > >>> > >>> # Server 1 >

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Robert Blacquiere
On Wed, Jun 20, 2018 at 07:57:17PM +0200, Henrik Dige Semark wrote: > Hey everybody, > > I'm experiencing problems with CARP after upgrading to 6.3, it was working > fine between my two servers in 6.2 but after upgrading (first backup and > then master) I have a ping package loss on about 20%. >

Re: Poor browser performance in OpenBSD

2018-06-21 Thread Максим
Here is the vmstat result. It can be seen clear when I start a youtube video in firefox. CPU usage jumps and falls, whenI close the tab with that video.I cannon imagine what can be a bottleneck in the system with core i3 cpu, 8 gb ram and ssd when the only "heavy" processis firefox with 10 open

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Henrik Dige Semark
On 21-06-2018 10:30, Stefan Sperling wrote: > On Thu, Jun 21, 2018 at 10:07:06AM +0200, Janne Johansson wrote: >> Den ons 20 juni 2018 kl 19:59 skrev Henrik Dige Semark : >> >>> Hey everybody, >>> >>> # Server 1 >>> My /etc/hostname.* for CARP's and pfsync + host adaptor: >>>

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Abel Abraham Camarillo Ojeda
On Thu, Jun 21, 2018 at 3:57 AM, Maximilian Pichler wrote: > On Thu, Jun 21, 2018 at 9:48 AM, Otto Moerbeek wrote: >>> On Thu, Jun 21, 2018 at 12:11:52AM +0200, Maximilian Pichler wrote: >>> > I'm just wondering what these other utilities might be. >>> >>> hexdump -v -n 1234567 -e '"%c"' > >

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Maximilian Pichler
On Thu, Jun 21, 2018 at 9:48 AM, Otto Moerbeek wrote: >> On Thu, Jun 21, 2018 at 12:11:52AM +0200, Maximilian Pichler wrote: >> > I'm just wondering what these other utilities might be. >> >> hexdump -v -n 1234567 -e '"%c"' Speed-wise this is roughly on par with 'dd bs=1'. >> If the input

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Stefan Sperling
On Thu, Jun 21, 2018 at 10:07:06AM +0200, Janne Johansson wrote: > Den ons 20 juni 2018 kl 19:59 skrev Henrik Dige Semark : > > > Hey everybody, > > > > # Server 1 > > My /etc/hostname.* for CARP's and pfsync + host adaptor: > > https://pastebin.com/vrtuPqnQ > > My /etc/pf.conf:

Re: FTP login delay

2018-06-21 Thread Janne Johansson
Den ons 20 juni 2018 kl 23:28 skrev Maximilian Pichler < maxim.pich...@gmail.com>: > I've enabled ftpd and am experiencing very long delays (consistently > 75 seconds) when logging in from localhost. > > Running nc reveals that the connection is accepted immediately, but > the server waits before

Re: 20% package loss on CARP after upgrade to 6.3

2018-06-21 Thread Janne Johansson
Den ons 20 juni 2018 kl 19:59 skrev Henrik Dige Semark : > Hey everybody, > > # Server 1 > My /etc/hostname.* for CARP's and pfsync + host adaptor: > https://pastebin.com/vrtuPqnQ > My /etc/pf.conf: https://pastebin.com/yhVkG4x4 > > # Server 2 > My /etc/hostname.* for CARP's and pfsync + host

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Otto Moerbeek
On Thu, Jun 21, 2018 at 07:38:49AM +0200, Daniel Hartmeier wrote: > On Thu, Jun 21, 2018 at 12:11:52AM +0200, Maximilian Pichler wrote: > > > I'm just wondering what these other utilities might be. > > hexdump -v -n 1234567 -e '"%c"' > > If the input doesn't contain backslashes (or something

Re: How to copy n bytes from stdin to stdout?

2018-06-21 Thread Daniel Hartmeier
On Thu, Jun 21, 2018 at 12:11:52AM +0200, Maximilian Pichler wrote: > I'm just wondering what these other utilities might be. hexdump -v -n 1234567 -e '"%c"' If the input doesn't contain backslashes (or something else, tr(1)) vis -aoF6 | head -n 1234567 | unvis Daniel