Re: Start point to learn OpenBSD programming

2020-03-16 Thread Marc Espie
On Mon, Mar 16, 2020 at 10:00:31PM +0100, Ingo Schwarze wrote: > Hi Martijn, > > Martijn van Duren wrote on Mon, Mar 16, 2020 at 09:24:26PM +0100: > > On 3/16/20 9:22 AM, Ingo Schwarze wrote: > >> Martijn van Duren wrote on Mon, Mar 16, 2020 at 08:52:54AM +0100: > > >>> On 3/16/20 8:23 AM,

Re: Hosting a CDN question

2020-03-16 Thread Jordan Geoghegan
On 2020-03-16 03:26, Flipchan wrote: Hey all, My company needs to put up a cdn for fast hosting of javascript, images and css for websites, and then i would need something faster then httpd. Does anyone here run a cdn for static website content? If so what software did u use to set it up

Re: Hosting a CDN question

2020-03-16 Thread Aaron Mason
It's worth noting that httpd didn't go over ~30% in the test, whereas the Go web server absolutely slammed the system. On Tue, Mar 17, 2020 at 1:44 PM Aaron Mason wrote: > > You can easily "write" one in Go with 9 lines of code. And since Go > builds static binaries, you can chroot it for

Re: Hosting a CDN question

2020-03-16 Thread Aaron Mason
You can easily "write" one in Go with 9 lines of code. And since Go builds static binaries, you can chroot it for security. I just did a quick test between httpd and a web server written in Go and on a simple text file with 20,000 requests from 10 threads I saw a 2.3x improvement on a pair of

Re: Record with a device, playback with another with sndiod

2020-03-16 Thread David Demelier
On Mon, Mar 16, 2020 at 02:41:20PM +0100, Alexandre Ratchov wrote: Hello, > Sorry, it's not possible to combine two devices into a single one with > sndiod. > > FWIW, this is because both devices don't use the same clock source, if > there were combined, audio could be unstable. Properly

Re: Start point to learn OpenBSD programming

2020-03-16 Thread Ingo Schwarze
Hi Martijn, Martijn van Duren wrote on Mon, Mar 16, 2020 at 09:24:26PM +0100: > On 3/16/20 9:22 AM, Ingo Schwarze wrote: >> Martijn van Duren wrote on Mon, Mar 16, 2020 at 08:52:54AM +0100: >>> On 3/16/20 8:23 AM, Martin wrote: >>> If you want reading material find a function you don't

Re: Start point to learn OpenBSD programming

2020-03-16 Thread Martijn van Duren
On 3/16/20 9:22 AM, Ingo Schwarze wrote: > Hi Martijn, > > Martijn van Duren wrote on Mon, Mar 16, 2020 at 08:52:54AM +0100: >> On 3/16/20 8:23 AM, Martin wrote: >> If you want reading material find a function you don't understand and >> lookup the manpage. If you want to have a more adventurous

Re: Jitsi on OpenBSD

2020-03-16 Thread Jordan Geoghegan
On 2020-03-16 03:59, Edd Barrett wrote: Hi, (CC people who may be knowledgable in this area) I was wondering if anyone has got the Jitsi (https://jitsi.org/) web-client working on OpenBSD? It's open-source (and self-hostable) video conferencing. No prizes for guessing why I'm

Re: routing with DMZ between internal and external firewall

2020-03-16 Thread Marko Cupać
On Mon, 16 Mar 2020 09:49:30 +0100 pebwindkraft wrote: > Hi, > > I have a question concerning static routes and default gateways for a > DMZ setup, with internal and external firewall. > ... > What would be the correct design? > Can I use "only" the ext_fw with a static route, so that packages

Re: What is the difference between these anchor rules

2020-03-16 Thread Carlos Lopez
Thanks Edgar … Nop, it is not a typo  -- Regards, C. L. Martinez From: "ed...@pettijohn-web.com" Date: Monday, 16 March 2020 at 17:16 To: Carlos Lopez Cc: "misc@openbsd.org" Subject: Re: What is the difference between these anchor rules On Mar 16, 2020 11:07 AM, Carlos Lopez wrote: Hi

Re: What is the difference between these anchor rules

2020-03-16 Thread edgar
On Mar 16, 2020 11:07 AM, Carlos Lopez wrote: Hi all, I am trying to accomplish several different tests using anchors rules under an OpenBSD 6.6 host. But I am seeing a strange behavior depending how I configure them. For example: This rule works: anchor inet from $laptop_admin

What is the difference between these anchor rules

2020-03-16 Thread Carlos Lopez
Hi all, I am trying to accomplish several different tests using anchors rules under an OpenBSD 6.6 host. But I am seeing a strange behavior depending how I configure them. For example: This rule works: anchor inet from $laptop_admin label "Allow access from $srcaddr via SSH" { anchor

Re: Record with a device, playback with another with sndiod

2020-03-16 Thread Alexandre Ratchov
On Sat, Mar 14, 2020 at 09:10:19AM +0100, David Demelier wrote: > Hello, > > I'm trying to setup sndiod to record input using my laptop's builtin > microphone but using an USB sound card for output. > > The microphone does work correctly because I was able to record some > test using aucat > >

Re: Jitsi on OpenBSD

2020-03-16 Thread Alexandre Ratchov
On Mon, Mar 16, 2020 at 10:59:08AM +, Edd Barrett wrote: > Hi, > > (CC people who may be knowledgable in this area) > > I was wondering if anyone has got the Jitsi (https://jitsi.org/) > web-client working on OpenBSD? > > It's open-source (and self-hostable) video conferencing. > > No

[PATCH] remove unnecessary link from faq/ports/index.html

2020-03-16 Thread Alex Naumov
Hey, there is one link from /faq/ports/index.html to /faq/ports/differences.html, that makes no sense. Link is not broken, but there is no #Differences on the /faq/ports/differences.html. First part is #Extra. I think we can remove it. Cheers, Alex Index: index.html

Re: Jitsi on OpenBSD

2020-03-16 Thread tom ryan
On 2020-03-16 21:59, Edd Barrett wrote: > Could be that the jitsi server is overloaded. I doubt that - unless it's changed since I last looked, the Jitsi server does very little actual "work" during a call... most of the work is done in the browser (which is why Jitsi scales to "many calls" very

Jitsi on OpenBSD

2020-03-16 Thread Edd Barrett
Hi, (CC people who may be knowledgable in this area) I was wondering if anyone has got the Jitsi (https://jitsi.org/) web-client working on OpenBSD? It's open-source (and self-hostable) video conferencing. No prizes for guessing why I'm investigating this :P I've just (quickly) tried the

Hosting a CDN question

2020-03-16 Thread Flipchan
Hey all, My company needs to put up a cdn for fast hosting of javascript, images and css for websites, and then i would need something faster then httpd. Does anyone here run a cdn for static website content? If so what software did u use to set it up ? have a good one Sincerely Filip

Re: routing with DMZ between internal and external firewall

2020-03-16 Thread Claudio Jeker
On Mon, Mar 16, 2020 at 09:49:30AM +0100, pebwindkraft wrote: > Hi, > > I have a question concerning static routes and default gateways for a DMZ > setup, with internal and external firewall. > A DNS in the DMZ shall be used from internal machines, and later a http > proxy from internal and

routing with DMZ between internal and external firewall

2020-03-16 Thread pebwindkraft
Hi, I have a question concerning static routes and default gateways for a DMZ setup, with internal and external firewall. A DNS in the DMZ shall be used from internal machines, and later a http proxy from internal and external machines. The setup is within a network of a bigger data centre

Re: Start point to learn OpenBSD programming

2020-03-16 Thread Ingo Schwarze
Hi Martijn, Martijn van Duren wrote on Mon, Mar 16, 2020 at 08:52:54AM +0100: > On 3/16/20 8:23 AM, Martin wrote: >> The best way for beginner to start with OpenbBSD programming? > This belongs on misc, so moving it there. > > My usual routine (and probably of a lot of other OpenBSD

Re: Start point to learn OpenBSD programming

2020-03-16 Thread Martijn van Duren
On 3/16/20 8:23 AM, Martin wrote: > Hello list, > > The best way for beginner to start with OpenbBSD programming? > > Martin > This belongs on misc, so moving it there. My usual routine (and probably of a lot of other OpenBSD developers) is: 1) Use it 2) Get annoyed by something (bug?) 3) Dive

Re: Lot of errors as a "bad ip cksum" using Tor

2020-03-16 Thread Carlos Lopez
Thanks Stuart. This is a KVM virtual machine with all offloads settings disabled for the guest ... I will try to enable and see how it goes ... -- Regards, C. L. Martinez On 15/03/2020, 17:41, "owner-m...@openbsd.org on behalf of Stuart Henderson" wrote: On 2020-03-15, Carlos Lopez