How to test for FORTIFY_SOURCE?

2020-03-17 Thread Jeffrey Walton
According to https://man.openbsd.org/NetBSD-8.1/security.7#FORTIFY_SOURCE OpenBSD implements glibc bounds checking on certain functions. I am trying to detect FORTIFY_SOURCE without looking up operating system names and versions. The following code works for Linux, but fails under OpenBSD (it is

Re: Hosting a CDN question

2020-03-17 Thread Aaron Mason
In that case, relayd would be the most likely port of call. On Wed, Mar 18, 2020 at 10:06 AM Flipchan wrote: > > Yeah the point with a cdn is to lower the latency of it so therefor you what > is needed is just not only a fast http server but a traffic redirector > depending on the end users

Re: Hosting a CDN question

2020-03-17 Thread Flipchan
Yeah the point with a cdn is to lower the latency of it so therefor you what is needed is just not only a fast http server but a traffic redirector depending on the end users origin On March 17, 2020 3:44:27 AM GMT+01:00, Aaron Mason wrote: >You can easily "write" one in Go with 9 lines of

Re: Help: System hang/Lockup using snapshots on Intel i5 NUC?

2020-03-17 Thread Why 42? The lists account.
On Thu, Mar 05, 2020 at 11:45:30PM +0100, Why 42? wrote: > ... > When this happens the mouse is frozen, the capslock LED on the (USB) > keyboard doesn't light up and the system doesn't respond to ssh. To > recover I have to hold down the power switch to shutoff the system, then > turn it on again,

Re: bridge, vether & dhcpd

2020-03-17 Thread Stefan Sperling
On Tue, Mar 17, 2020 at 12:14:21PM +0100, Salvatore Cuzzilla wrote: > nope, the L2 if(s) (including bridge) are running only with option ‘up’ > within hostname.if files > & all the other L3 ifs are with IP statically assigned Then you need to share a lot more details, such as your pf.conf, and

Re: bridge, vether & dhcpd

2020-03-17 Thread Salvatore Cuzzilla
nope, the L2 if(s) (including bridge) are running only with option ‘up’ within hostname.if files & all the other L3 ifs are with IP statically assigned > On 17 Mar 2020, at 09:44, Stefan Sperling wrote: > > On Tue, Mar 17, 2020 at 08:24:34AM +0100, Salvatore Cuzzilla wrote: >> Dear all, >>

Re: Hosting a CDN question

2020-03-17 Thread Kevin Chadwick
On 2020-03-17 02:48, Aaron Mason wrote: > It's worth noting that httpd didn't go over ~30% in the test, whereas > the Go web server absolutely slammed the system. I wonder if this is linked to Go's concurrency. Personally I would look into tweaking httpd defaults and relayd as GOs net/http runs

Re: bridge, vether & dhcpd

2020-03-17 Thread Stefan Sperling
On Tue, Mar 17, 2020 at 08:24:34AM +0100, Salvatore Cuzzilla wrote: > Dear all, > > is someone using a setup with multiple layer 2 interfaces & a single vether > IP interface (layer 3) bundled all together in a bridge? > Well, i’m using this setup too and almost everything is working like >

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

2020-03-17 Thread David Demelier
On Mon, Mar 16, 2020 at 10:09:50PM +0100, David Demelier wrote: > It has only one jack yes, but the logo on top of the jack is a headset > with a microphone but I don't even know if combined output/microphone > jacks are supported? I never experienced them at all, I don't have a > headset that has

Re: Hosting a CDN question

2020-03-17 Thread infoomatic
varnish does not bring down the network latency if users are sitting on the other end of the world... On 17.03.20 08:48, Wayne Oliver wrote: On 2020/03/16 12: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

Re: Hosting a CDN question

2020-03-17 Thread Wayne Oliver
On 2020/03/16 12: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 ?

bridge, vether & dhcpd

2020-03-17 Thread Salvatore Cuzzilla
Dear all, is someone using a setup with multiple layer 2 interfaces & a single vether IP interface (layer 3) bundled all together in a bridge? Well, i’m using this setup too and almost everything is working like expected. However, I have a couple of hosts connected to the L2 interfaces & i