Re: Need some advice on C semantics.

2024-12-18 Thread Janne Johansson
> I'm a newbie to C. But I saw that you mentioned undefined behavior. > Robert C. Seacord's book Effective C warns about undefined behavior in C > in the topics he discusses. Other books don't even mention it. Reasoning about what is and what was UB is kind of hard, since C started out to be a com

Re: Need some advice on C semantics.

2024-12-18 Thread Adrian Ali
, secure coding, etc. A few pointers to get you started: - C89/C99/C11/C17/C23 standards (copies of final drafts are available online for free) - SEI CERT C Coding Standards - MISRA C - "Expert C programming" by Peter van der Linden - "How to C in 2016" by Matt Stan

Re: Need some advice on C semantics.

2024-12-18 Thread Christian Schulte
Oracle due to the way fundamental Java principles >> got broken. Sad story. 27 years of Java experience to throw away now. >> Just glad there is C. >> > You've been given very good advice. Acknowledged. > C is very old and has changed a lot since it was invented. It

Re: Need some advice on C semantics.

2024-12-17 Thread Geoff Steckel
away now. Just glad there is C. You've been given very good advice. C is very old and has changed a lot since it was invented. There's been a harsh tension between conceptual purity and ugly engineering, concepts from high level languages and preserving the power of the language. It st

Re: Need some advice on C semantics.

2024-12-17 Thread Christian Schulte
), secure coding, etc. > > A few pointers to get you started: > - C89/C99/C11/C17/C23 standards > (copies of final drafts are available online for free) > - SEI CERT C Coding Standards > - MISRA C > - "Expert C programming" by Peter van der Linden > -

Re: Need some advice on C semantics.

2024-12-13 Thread Dmitry O
The documentation is the "src" itself, there is no official guide. Also a very good approach would be to use advanced LLMs, just try to make a meaningful conversation with it and you will get a ton of information. On Thu, Dec 12, 2024 at 4:57 PM Christian Schulte wrote: > Hi @misc, > > is there

Re: Need some advice on C semantics.

2024-12-13 Thread Maxim
tandards (copies of final drafts are available online for free) - SEI CERT C Coding Standards - MISRA C - "Expert C programming" by Peter van der Linden - "How to C in 2016" by Matt Stancliff Beware some advice and guidelines found in these documents will be very opinionated.

Re: Need some advice on C semantics.

2024-12-12 Thread Janne Johansson
Den tors 12 dec. 2024 kl 16:57 skrev Christian Schulte : > I am quite tired now and will need some sleep. I will try to come up > with an example the next day. One using pointer syntax and a while loop > and one using array syntax and a for loop. The first will make the > compiler produce somethin

Re: Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
On 12/12/24 16:38, Janne Johansson wrote: >> and things like that. In Java, we always had some CI server checking >> various design guidelines like >> >> A method should have only one return statement. >> >> and things like this. In C this is very different due to e.g. lack of >> exceptions and so.

Re: Need some advice on C semantics.

2024-12-12 Thread Janne Johansson
> and things like that. In Java, we always had some CI server checking > various design guidelines like > > A method should have only one return statement. > > and things like this. In C this is very different due to e.g. lack of > exceptions and so. I am still failing to find semantic design guide

Re: Need some advice on C semantics.

2024-12-12 Thread Claudio Jeker
On Thu, Dec 12, 2024 at 03:35:33PM +0100, Christian Schulte wrote: > On 12/12/24 12:13, Kirill A. Korinsky wrote: > > On Thu, 12 Dec 2024 11:54:29 +0100, > > Christian Schulte wrote: > >> > >> is there something specific for OpenBSD like style(9) but for semantics? > >> I understand that style(9)

Re: Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
On 12/12/24 12:13, Kirill A. Korinsky wrote: > On Thu, 12 Dec 2024 11:54:29 +0100, > Christian Schulte wrote: >> >> is there something specific for OpenBSD like style(9) but for semantics? >> I understand that style(9) is all about syntax. As a long term Java >> developer having lost all interest

Re: Need some advice on C semantics.

2024-12-12 Thread Kirill A . Korinsky
On Thu, 12 Dec 2024 11:54:29 +0100, Christian Schulte wrote: > > is there something specific for OpenBSD like style(9) but for semantics? > I understand that style(9) is all about syntax. As a long term Java > developer having lost all interest in Java, I am searching for something > like PMD, Ch

Need some advice on C semantics.

2024-12-12 Thread Christian Schulte
Hi @misc, is there something specific for OpenBSD like style(9) but for semantics? I understand that style(9) is all about syntax. As a long term Java developer having lost all interest in Java, I am searching for something like PMD, Checkstyle etc. for C and rules OpenBSD developers tend to adher

Re: advice debugging lockups with swap-thrashing symptoms?

2024-11-11 Thread James Cook
Claudio Jeker wrote: ... > You are probably haunted by a bad issue with DMA memory and running out of > it. Your top is missing -SH since then you would probably see the > pagedameon go bananas. The problem is you have not enough memory below 4G > but the pagedaemon is not able to properly free me

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-08-08 Thread Kihaguru Gathura
Hi J, Thank you for your detailed response and the practical advice. To address your points: *> CPU Utilization*: I understand that CPU consumption is not inherently bad and can be indicative of the system doing its job. The query performance from an end-user perspective is acceptable at

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-08-08 Thread Kihaguru Gathura
Hi Christian, Thank you for your interest and suggestion. To give you an idea, here are the approximate row counts for the main tables involved in the query: - operations.requisitions: ~50,000 rows - operations.requisition_items: ~150,000 rows - operations.products: ~20,000 rows - op

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-08-04 Thread j
On 30.07.24 14:04, Kihaguru Gathura wrote: Hi, I am seeking advice on optimizing a PostgreSQL query that is consuming a significant amount of CPU resources on my Dell PowerEdge T340 server. The server has an Intel Xeon E-2124 CPU @ 3.30GHz (4 cores, no Hyper-Threading) and 16GB RAM, running

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-08-03 Thread Christian Schulte
On 30.07.24 19:29, Kihaguru Gathura wrote: > Hi Claudio, > > Yes, I did run 'Explain Analyze' on the query to diagnose the > performance issues. Based on the analysis, I created indexes on the > relevant columns and ran a VACUUM on the tables. This resulted in an > improvement, reducing CPU utiliz

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-07-30 Thread Matthias Pfeifer
On 30.07.24 14:04, Kihaguru Gathura wrote: Hi, I am seeking advice on optimizing a PostgreSQL query that is consuming a significant amount of CPU resources on my Dell PowerEdge T340 server. The server has an Intel Xeon E-2124 CPU @ 3.30GHz (4 cores, no Hyper-Threading) and 16GB RAM

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-07-30 Thread Kihaguru Gathura
> > Hi, > > > > I am seeking advice on optimizing a PostgreSQL query that is consuming a > > significant amount of CPU resources on my Dell PowerEdge T340 server. The > > server has an Intel Xeon E-2124 CPU @ 3.30GHz (4 cores, no > Hyper-Threading) >

Re: Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-07-30 Thread Claudio Jeker
On Tue, Jul 30, 2024 at 03:04:54PM +0300, Kihaguru Gathura wrote: > Hi, > > I am seeking advice on optimizing a PostgreSQL query that is consuming a > significant amount of CPU resources on my Dell PowerEdge T340 server. The > server has an Intel Xeon E-2124 CPU @ 3.30GHz (4

Optimization Advice for High Resource Utilization PostgreSQL Query on OpenBSD

2024-07-30 Thread Kihaguru Gathura
Hi, I am seeking advice on optimizing a PostgreSQL query that is consuming a significant amount of CPU resources on my Dell PowerEdge T340 server. The server has an Intel Xeon E-2124 CPU @ 3.30GHz (4 cores, no Hyper-Threading) and 16GB RAM, running OpenBSD 7.3 (GENERIC.MP) #1125. The query in

Re: [OT] Keyboards, a trick I found and advice requested

2024-06-05 Thread Chris Bennett
On Tue, Jun 04, 2024 at 08:31:04AM -0400, Scott Reese wrote: > > > - Original Message - > > I have really bad repetitive stress problems, so I have been looking at > > split mechanical keyboards. The Glove80 looks might it might be OK, but > > it's very expensive. Anyone used it? > > > >

Re: [OT] Keyboards, a trick I found and advice requested

2024-06-04 Thread Scott Reese
- Original Message - > I have really bad repetitive stress problems, so I have been looking at > split mechanical keyboards. The Glove80 looks might it might be OK, but > it's very expensive. Anyone used it? > > > After watching various reviews, it s

Re: [OT] Keyboards, a trick I found and advice requested

2024-06-02 Thread piorunz
On 02/06/2024 02:10, Chris Bennett wrote: I have really bad repetitive stress problems, so I have been looking at split mechanical keyboards. The Glove80 looks might it might be OK, but it's very expensive. Anyone used it? After watching various reviews, it s

[OT] Keyboards, a trick I found and advice requested

2024-06-01 Thread Chris Bennett
I have really bad repetitive stress problems, so I have been looking at split mechanical keyboards. The Glove80 looks might it might be OK, but it's very expensive. Anyone used it? After watching various reviews, it suddenly occurred to me that I already have a

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread James Cook
You are probably haunted by a bad issue with DMA memory and running out of it. Your top is missing -SH since then you would probably see the pagedameon go bananas. The problem is you have not enough memory below 4G but the pagedaemon is not able to properly free memory there since it has no proper

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread Claudio Jeker
On Thu, May 23, 2024 at 03:37:24PM +, James Cook wrote: > On Thu, May 23, 2024 at 08:00:37AM GMT, Nick Holland wrote: > > On 5/23/24 03:18, Stuart Henderson wrote: > > > On 2024-05-22, James Cook wrote: > > > > One of my OpenBSD boxes sometimes gets in a weird locked-up or > > > > almost-locke

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread James Cook
On Thu, May 23, 2024 at 08:00:37AM GMT, Nick Holland wrote: On 5/23/24 03:18, Stuart Henderson wrote: On 2024-05-22, James Cook wrote: One of my OpenBSD boxes sometimes gets in a weird locked-up or almost-locked-up state. I'm wondering what I can do to debug it further next time it happens. .

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread Nick Holland
On 5/23/24 03:18, Stuart Henderson wrote: On 2024-05-22, James Cook wrote: One of my OpenBSD boxes sometimes gets in a weird locked-up or almost-locked-up state. I'm wondering what I can do to debug it further next time it happens. ... I would also expect the cache number to be much higher. E

Re: advice debugging lockups with swap-thrashing symptoms?

2024-05-23 Thread Stuart Henderson
On 2024-05-22, James Cook wrote: > One of my OpenBSD boxes sometimes gets in a weird locked-up or > almost-locked-up state. I'm wondering what I can do to debug it > further next time it happens. ... > I would also expect the cache number to be much higher. E.g. on > this occasion, I was running "

advice debugging lockups with swap-thrashing symptoms?

2024-05-22 Thread James Cook
Hi, One of my OpenBSD boxes sometimes gets in a weird locked-up or almost-locked-up state. I'm wondering what I can do to debug it further next time it happens. It feels like swap thrashing, but top reports plenty of memory free. Symptoms: 1. top reports lots of free memory, small act/tot and

Re: Need advice on “tcp proxy”

2024-03-03 Thread Joel Wirāmu Pauling
Maybe look at Meshcentral as an alternative to Rustdesk. It allows proxying over https OOTB. On Sun, 3 Mar 2024 at 19:30, Kasak wrote: > > > > 3 марта 2024 г., в 00:46, Joel Wirāmu Pauling > написал(а): > > > > ssh can work in tap VPN mode (ssh -w) and will tunnel udp fine ; I'm not > > sure w

Re: Need advice on “tcp proxy”

2024-03-02 Thread Kasak
> 3 марта 2024 г., в 00:46, Joel Wirāmu Pauling написал(а): > > ssh can work in tap VPN mode (ssh -w) and will tunnel udp fine ; I'm not > sure what you are trying to achieve but perhaps ssh tunnels might be an > option for your use case. You are probably better off setting up something > lik

Re: Need advice on “tcp proxy”

2024-03-02 Thread Joel Wirāmu Pauling
ssh can work in tap VPN mode (ssh -w) and will tunnel udp fine ; I'm not sure what you are trying to achieve but perhaps ssh tunnels might be an option for your use case. You are probably better off setting up something like wireguard, but in a pinch if the target and host already have ssh. https:

Re: Need advice on “tcp proxy”

2024-03-02 Thread Kasak
> 2 марта 2024 г., в 21:05, Stuart Henderson > написал(а): > > On 2024-03-02, Kasak wrote: >> Hello misc! There is a good manual on OpenBSD faq about redirection and >> reflection, here it is: https://www.openbsd.org/faq/pf/rdr.html#tcpproxy >> >> I’m using nginx as tcp and udp proxy, but

Re: Need advice on “tcp proxy”

2024-03-02 Thread Stuart Henderson
On 2024-03-02, Kasak wrote: > Hello misc! There is a good manual on OpenBSD faq about redirection and > reflection, here it is: https://www.openbsd.org/faq/pf/rdr.html#tcpproxy > > I’m using nginx as tcp and udp proxy, but maybe there is another software, > more suitable for this task? > I need

Re: Need advice on “tcp proxy”

2024-03-02 Thread Kasak
> 2 марта 2024 г., в 19:17, Kapetanakis Giannis > написал(а): > > On 02/03/2024 16:50, Kasak wrote: >> 2 марта 2024 г., в 15:21, Kapetanakis Giannis написал(а): >>> >>> On 02/03/2024 12:46, Kasak wrote: Hello misc! There is a good manual on OpenBSD faq about redirection a

Re: Need advice on “tcp proxy”

2024-03-02 Thread Kapetanakis Giannis
On 02/03/2024 12:46, Kasak wrote: Hello misc! There is a good manual on OpenBSD faq about redirection and reflection, here it is: https://www.openbsd.org/faq/pf/rdr.html#tcpproxy I’m using nginx as tcp and udp proxy, but maybe there is another software, more suitable for this task? I need to r

Need advice on “tcp proxy”

2024-03-02 Thread Kasak
Hello misc! There is a good manual on OpenBSD faq about redirection and reflection, here it is: https://www.openbsd.org/faq/pf/rdr.html#tcpproxy I’m using nginx as tcp and udp proxy, but maybe there is another software, more suitable for this task? I need to redirect and reflect near 15 tcp por

Re: relayd ssl termination advice

2023-10-10 Thread Courtney
Oooo I wasn't familiar with sniproxy. I DO have a working haproxy configuration, and even though it is good software, I find myself barely understanding and was wanting something simpler. sniproxy looks to be exactly what I need :) I'm going to give this a try. Thank you for pointing this piece

Re: relayd ssl termination advice

2023-10-10 Thread Stuart Henderson
On 2023-10-10, Courtney wrote: > Maybe I am wrong, but I thought that relayd was not capable of doing > TLS pass through? That would be preferable if it is possible. If you do TLS passthrough (i.e. passing packets directly to the origin rather than doing "back to back" and terminating one TLS con

Re: relayd ssl termination advice

2023-10-09 Thread Courtney
Maybe I am wrong, but I thought that relayd was not capable of doing TLS pass through? That would be preferable if it is possible. Courtney On 10/9/23 00:42, Kapetanakis Giannis wrote: On 08/10/2023 04:00, Courtney wrote: Ultimately, I want to serve a handful of services on 80/443 that are ea

Re: relayd ssl termination advice

2023-10-09 Thread Kapetanakis Giannis
On 08/10/2023 04:00, Courtney wrote: > Ultimately, I want to serve a handful of services on 80/443 that are > easily accessible internally and externally, and I don't want to have > unencrypted traffic between relayd and my server for the services that > are passing sessions and such. Then don't

Re: relayd ssl termination advice

2023-10-08 Thread Bruno Flueckiger
On 08.10.2023 03:00, Courtney wrote: Hello everyone, I'm seeking an ideal way to make secure https connections to a handful of web servers in my house. Currently I have a Nextcloud server and a gitea server, but only the Nextcloud server is being port forwarded on 80/443. I want to make my gi

Re: relayd ssl termination advice

2023-10-07 Thread Steven Shockley
On 10/7/2023 9:00 PM, Courtney wrote: Hello everyone, I'm seeking an ideal way to make secure https connections to a handful of web servers in my house. I'm currently doing this with haproxy by having it inspect the SNI on the incoming traffic and route based on that. At the time I set it u

relayd ssl termination advice

2023-10-07 Thread Courtney
Hello everyone, I'm seeking an ideal way to make secure https connections to a handful of web servers in my house. Currently I have a Nextcloud server and a gitea server, but only the Nextcloud server is being port forwarded on 80/443. I want to make my gitea server publicly visible as well as a

Using fvwm2 or fvwm3 and another using gnome. Need advice on best setup. startx/xenodm/gdm both users wheel

2023-01-26 Thread Chris Bennett
Hi, I have finally been able to get a decent desktop and a new 4k monitor. I use fvwm2 right now (probably fvwm3 soon). Another new user will be using gnome. Both of us are in wheel group. First, do I need to use xenodm with either fvwm? Or will startx do the trick? Second, it sounds like using

Re: Advice on catching up with current

2022-03-13 Thread Nick Holland
On 3/13/22 11:06 AM, Ted Wynnychenko wrote: Hello I "had" been following -current since about 5.6. Unfortunately, due to events not at all related to anything here, I was unable to keep -current "current" for the last several months. I would guess my last update was about 8 months ago (6.9 GEN

Re: Advice for hardening a PHP webserver on OpenBSD

2022-03-10 Thread Stuart Henderson
On 2022-03-10, Tom Smyth wrote: > Hi, > Owasp has some cheat sheets for hardening PHP configurations, > > https://cheatsheetseries.owasp.org/cheatsheets/PHP_Configuration_Cheat_Sheet.html > > you can combine it with httpd which would run the php app and website > inside a chroot jail, > > you can

Re: Advice for hardening a PHP webserver on OpenBSD

2022-03-09 Thread Tom Smyth
> serious security is taken in Go. I would suspect a lot better (simpler > language, daily usage by Google and many other big companies, > involvement of Ken, Rob, and others), but that is just assumptions. Any > advice on that? > > I know how OpenBSD chroots the webserver and there

Re: Advice on serial port communication

2021-05-28 Thread Joseph Olatt
rning)??? TI boot-loader cannot find > >> the OS boot-loader??? not that it can't find itself. > > > > So, I have actually tried to power up the device without pressing the > > button by the SD card reader. That also resulted in a bunch of "C"s. > >

Re: Advice on serial port communication

2021-05-26 Thread Joseph Olatt
Hi Stuart and David, Thank you to you both for the amount of time and advice you have provided. I am away from my BBB for a couple of days. As soon as I get back to it, I will try out a few things, based on advice from both of you. I will update after that. Thank you. joseph On Wed, May 26

Re: Advice on serial port communication

2021-05-25 Thread Stuart Longland
On Tue, 25 May 2021 08:29:52 -0700 Joseph Olatt wrote: [Accidentally dropped CC… re-sending] > Any advice on how I cat get to the U-Boot (which is what I presume you > mean by the "TI boot-loader") prompt? Nope, by "TI boot-loader", I mean "TI boot-loader&qu

Re: Advice on serial port communication

2021-05-25 Thread Joseph Olatt
??? (yes, half asleep this morning)??? TI boot-loader cannot find > the OS boot-loader??? not that it can't find itself. So, I have actually tried to power up the device without pressing the button by the SD card reader. That also resulted in a bunch of "C"s. Any advice on how I cat ge

Re: Advice on serial port communication

2021-05-25 Thread David Barrass
> >> To clarify??? (yes, half asleep this morning)??? TI boot-loader cannot find >> the OS boot-loader??? not that it can't find itself. > > So, I have actually tried to power up the device without pressing the > button by the SD card reader. That also resulted in a bunch

Re: Advice on serial port communication

2021-05-24 Thread Stuart Longland
On Tue, 25 May 2021 09:38:21 +1000 Stuart Longland wrote: > Maybe it can't find the boot-loader? To clarify… (yes, half asleep this morning)… TI boot-loader cannot find the OS boot-loader… not that it can't find itself. -- Stuart Longland (aka Redhatter, VK4MSL) I haven't lost my mind... ...

Re: Advice on serial port communication

2021-05-24 Thread Stuart Longland
On Mon, 24 May 2021 07:54:38 -0700 Joseph Olatt wrote: > Any advice on what those "C"s mean. The serial cable I'm using is: > Something in the back of my mind suggests this might be the TI bootloader complaining, about something. Maybe it can't find the boot-loader

Advice on serial port communication

2021-05-24 Thread Joseph Olatt
instructions, I get lines of "C"s. This happens at only 115200 baud rate. At all other baud rates, I get nothing. Any advice on what those "C"s mean. The serial cable I'm using is: https://www.amazon.com/GearMo%C2%AE-3-3v-Header-like-TTL-232R-3V3/dp/B004LBXO2A/ Thank you.

Re: Advice on using intrusion detection

2020-11-24 Thread Aaron Mason
On Sun, Nov 22, 2020 at 1:14 AM Nick Holland wrote: > > On 2020-11-20 17:15, Erik Lauritsen wrote: > > Is it recommended to run some kind of intrusion detection on an > > OpenBSD router/firewall? > > > > I suspect that any kind of system like Snort or Suricata will give a > > lot of false positive

Re: Advice on using intrusion detection

2020-11-22 Thread Peter Nicolai Mathias Hansteen
> 22. nov. 2020 kl. 02:02 skrev Predrag Punosevac : > OpenBSD is all about prevention and exploit mitigation. Code simplicity, > correctness, and code audit are all examples of intrusion prevention > methods. They don't sound very sexy :-) If you are super new to OpenBSD > Peter just gave a rea

Re: Advice on using intrusion detection

2020-11-21 Thread Predrag Punosevac
On 2020-11-20 17:15, Erik Lauritsen wrote: > Is it recommended to run some kind of intrusion detection on an > OpenBSD router/firewall? > What do you mean by "some kind of intrusion detection" (IDS). At the risk of sounding patronizing I would start by clarifying terminology. I got confused by Ni

Re: Advice on using intrusion detection

2020-11-21 Thread Nick Holland
On 2020-11-20 17:15, Erik Lauritsen wrote: > Is it recommended to run some kind of intrusion detection on an > OpenBSD router/firewall? > > I suspect that any kind of system like Snort or Suricata will give a > lot of false positives? MY philosophy is it is much easier to keep 'em out than to fin

Advice on using intrusion detection

2020-11-20 Thread Erik Lauritsen
Is it recommended to run some kind of intrusion detection on an OpenBSD router/firewall? I suspect that any kind of system like Snort or Suricata will give a lot of false positives? Kind regards, Erik

Re: bgpd config advice needed

2020-08-25 Thread Florian Obser
On Tue, Aug 25, 2020 at 09:48:04AM -, Stuart Henderson wrote: > > Guesses can be made, but a quick email might get a more accurate > answer :) "Hi, I see you are padding your announcements at $IX and we > are seeing you from other peers with the same path length, would you > prefer we send to

Re: bgpd config advice needed

2020-08-25 Thread Stuart Henderson
On 2020-08-25, Remi Locherer wrote: > On Tue, Aug 25, 2020 at 07:11:12AM -, Stuart Henderson wrote: >> On 2020-08-24, Claudio Jeker wrote: >> > On Mon, Aug 24, 2020 at 04:36:10PM +, Laura Smith wrote: >> >> *>  N 2001:db8:::/29   2001:db8::::1    100   100 >> >> 64512

Re: bgpd config advice needed

2020-08-25 Thread Remi Locherer
On Tue, Aug 25, 2020 at 07:11:12AM -, Stuart Henderson wrote: > On 2020-08-24, Claudio Jeker wrote: > > On Mon, Aug 24, 2020 at 04:36:10PM +, Laura Smith wrote: > >> *>  N 2001:db8:::/29   2001:db8::::1    100   100 > >> 64512 65500 i > >> *   N 2001:db8:::/29 

Re: bgpd config advice needed

2020-08-25 Thread Stuart Henderson
On 2020-08-24, Claudio Jeker wrote: > On Mon, Aug 24, 2020 at 04:36:10PM +, Laura Smith wrote: >> *>  N 2001:db8:::/29   2001:db8::::1    100   100 64512 >> 65500 i >> *   N 2001:db8:::/29   2001:db8::::2    100   100 65500 >> 65500 i >> >> In this ex

bgpd config advice needed

2020-08-24 Thread Laura Smith
Hi, Let's say I've got a scenario where I've got transit ISPs and peering connections. My general config rule is that I use med to prioritise peering over transit (because localpref is too high up in the BGP selection algorithm, so localpref is a sledgehammer to crack a nut). That setup has s

Re: bgpd config advice needed

2020-08-24 Thread Claudio Jeker
On Mon, Aug 24, 2020 at 04:36:10PM +, Laura Smith wrote: > Hi, > > Let's say I've got a scenario where I've got transit ISPs and peering > connections. > > My general config rule is that I use med to prioritise peering over transit > (because localpref is too high up in the BGP selection al

ifstated.conf advice needed

2019-11-15 Thread Rachel Roch
Hi, I'm looking for a bit of help on how to write a sensible and safe (i.e. avoid race conditions) ifstated.conf. I have a scenario where I have a LACP trunk and on top of the trunk, I have four carp interfaces. So: trunk1 => carp0–3 Now, obviously I know I can monitor up/down on trunk1. But

Re: Advice for Users trying to help Driver Developers

2019-08-05 Thread Tom Smyth
ki has been doing in the way of testing > (just look over the tech@ list archives, you'll find many examples), he > has put in a lot of effort and the tests he's been doing are really useful. Ill take a look at this Hrvoje has sent me advice on packet generators Ill try them out -- Kindest regards, Tom Smyth.

Re: Advice for Users trying to help Driver Developers

2019-08-03 Thread Stuart Henderson
On 2019-08-03, Tom Smyth wrote: > Hello all, > > I was wondering as a user, what sort of testing and feedback > can I give to driver developers that would be useful /helpful > in improving driver functionality and performance in OpenBSD. > > Im particularly interested in OpenBSD Network performanc

Advice for Users trying to help Driver Developers

2019-08-02 Thread Tom Smyth
Hello all, I was wondering as a user, what sort of testing and feedback can I give to driver developers that would be useful /helpful in improving driver functionality and performance in OpenBSD. Im particularly interested in OpenBSD Network performance. what tools / tests provide useful feedback

Re: Advice on Security Cameras

2019-01-05 Thread Paolo Aglialoro
Hi, zoneminder is, as Stuart said, overcomplicated, plus unmantained and unable to catch the more modern streams from IP cams. The best free alternative is SHINOBI https://shinobi.video which is based on java and ported on linux, mac and wi(n)dows, I do not know it it would be feasible an OpenBSD

Re: Advice on Security Cameras

2019-01-04 Thread Stuart Henderson
On 2019-01-01, kayasaman wrote: > Hi. For this type of setup Zoneminder is great. I have no experience running > it on OpenBSD though. There is an unfinished zoneminder port in openbsd-wip. I must say the architecture looked rather overcomplicated to me .. multimedia/motion is simpler and suppo

Re: Advice on Security Cameras

2019-01-02 Thread Ed Ahlsen-Girard
> From: "Elias M. Mariani" > Date: 2019-01-01 17:46:25 > > Hi list, > I'm thinking in installing some cameras in my private home, I have > been looking for solutions, my concern is that I wish to be able to > look the videos from outside the house and I'm a little paranoid about > the

Re: Advice on Security Cameras

2019-01-02 Thread Misc User
urrent models offer the same protocols. A bit of advice for cameras outside: You are going to want outdoor-rated cameras even if they aren't getting hit directly with rain. Moisture in the air is still going to condense inside the camera if there are any gaps in the case at all. Eve

Re: Advice on Security Cameras

2019-01-02 Thread Christian Schulte
Am 01.01.2019 um 18:46 schrieb Elias M. Mariani: > Hi list, > I'm thinking in installing some cameras in my private home, I have > been looking for solutions, my concern is that I wish to be able to > look the videos from outside the house and I'm a little paranoid about > the quality of the sof

Re: Advice on Security Cameras

2019-01-01 Thread Ipsen S Ripsbusker
On Wed, Jan 2, 2019, at 04:22, Nick Holland wrote: > Yes, I'd suggest an OpenBSD gateway to a commercial DVR security system > rather than rolling your own, if it is really to be a security system > (as opposed to maybe a, "who's at my front door?" or "what are the local > wildlife doing when I'm a

Re: Advice on Security Cameras

2019-01-01 Thread Nick Holland
On 1/1/19 12:46 PM, Elias M. Mariani wrote: > Hi list, > I'm thinking in installing some cameras in my private home, I have > been looking for solutions, my concern is that I wish to be able to > look the videos from outside the house and I'm a little paranoid about > the quality of the software th

Re: Advice on Security Cameras

2019-01-01 Thread Elias M. Mariani
Thanks all for the help. I will check out Zoneminder and the cameras that you have recommended. > What do you want to do from the Android / browser? Just look at the cameras from outside the house, I don't need any type of functionality besides that.

Re: Advice on Security Cameras

2019-01-01 Thread Ipsen S Ripsbusker
On Tue, Jan 1, 2019, at 17:46, Elias M. Mariani wrote: > I know that is a little off-topic but maybe someone knows about a good > brand of cameras. See uvideo(4). Linux has more options, including cameras of better video quality. I run GNU/Linux on one computer in order to use a Logitech BRIO. O

Re: Advice on Security Cameras

2019-01-01 Thread kayasaman
solution here according to many cctv guys is to set them to 5fps though they do reach 25fps/pal or 30fps/ntsc. Regards, Kaya  Sent from my Samsung Galaxy smartphone. Original message From: Johan Mellberg Date: 1/1/19 22:15 (GMT+00:00) To: OpenBSD General Misc Subject: Re: Advice

Re: Advice on Security Cameras

2019-01-01 Thread Johan Mellberg
> 1 jan. 2019 kl. 18:46 skrev Elias M. Mariani : > > Hi list, > I'm thinking in installing some cameras in my private home, I have > been looking for solutions, my concern is that I wish to be able to > look the videos from outside the house and I'm a little paranoid about > the quality of the

Advice on Security Cameras

2019-01-01 Thread Elias M. Mariani
Hi list, I'm thinking in installing some cameras in my private home, I have been looking for solutions, my concern is that I wish to be able to look the videos from outside the house and I'm a little paranoid about the quality of the software that the different vendors use. I have seen clusters of

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-24 Thread Stuart Henderson
On 2018-11-22, Chris Bennett wrote: > After digging into many pages source and I use NoScript, which has an > irritating side effect of actually hiding some of the JavaScript > present, I now see that they are using cloud hosting and some naughty > Google stuff. So I will get much more information

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Chris Bennett
indicator than Yes, that would be very true. Too slow could mean it's not being taken seriously enough. Which could mean the same for known, but unreported flaws. Good advice. > rate of patches. I'd also consider the seriousness of the flaw being > patched as well, like if it is due

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Misc User
On 11/22/2018 12:56 PM, Chris Bennett wrote: On Thu, Nov 22, 2018 at 09:55:35AM -0600, Boris Goldberg wrote: Hello Chris, There is something extremely weird going on around lately. People are easily take offense where no offense where intended (and hard to find anyway). Nick was just telling

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Chris Bennett
On Tue, Nov 20, 2018 at 02:24:55PM -0500, Nick Holland wrote: > > all on one server? > > And as someone who has run a number of mail servers for a number of > companies ... don't. Just don't. Running your own mail server is a > good way to accomplish nothing except wasting a lot of time and mak

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Chris Bennett
On Thu, Nov 22, 2018 at 09:55:35AM -0600, Boris Goldberg wrote: > Hello Chris, > > There is something extremely weird going on around lately. People are > easily take offense where no offense where intended (and hard to find > anyway). Nick was just telling you that (in his expert opinion) you >

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Chris Bennett
On Thu, Nov 22, 2018 at 10:50:38AM +, Kevin Chadwick wrote: > On 11/20/18 4:43 PM, Chris Bennett wrote: > > AMD? I have read about problems with non-CPU chips being compromised. > > Another architecture? I have never used anything other than Intel/AMD. > > I can't comment on SUN etc. but AMD w

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Boris Goldberg
ection would be best, but would a >> > proper setup make collocation OK? >> >> You are using poorly defined buzzwords. What you mean by a "direct >> connection", "proper setup", "collocation" and what I mean are likely >> very different. &

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-22 Thread Kevin Chadwick
On 11/20/18 4:43 PM, Chris Bennett wrote: > AMD? I have read about problems with non-CPU chips being compromised. > Another architecture? I have never used anything other than Intel/AMD. I can't comment on SUN etc. but AMD would be the way to go if you can. Theo has said in a recent presentation

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-20 Thread Misc User
to run out of Austin, Texas. I think that having a direct connection would be best, but would a proper setup make collocation OK? This isn't going to be my server, I will just be in charge. That's completely new for me. Any advice is really welcome, everywhere I read anything, hardware se

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-20 Thread Chris Bennett
On Tue, Nov 20, 2018 at 08:31:14PM +, Kaya Saman wrote: > I don't think the response was assumed as such. It just is that there are so > many issues with corporate politics and higher ups thinking they know things > that gives OpenSource software a bad rep! Even once people didn't understand >

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-20 Thread Kaya Saman
On 11/20/18 8:11 PM, Chris Bennett wrote: On Tue, Nov 20, 2018 at 02:24:55PM -0500, Nick Holland wrote: On 11/20/18 11:43, Chris Bennett wrote: Unfortunately, if you have performance requirements, your choices are AMD and Intel. Older Intel and AMD chips aren't getting any support to deal wi

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-20 Thread Chris Bennett
ot;, "proper setup", "collocation" and what I mean are likely > very different. > Well, then tell me some useful information. Correct my idiotic buzzwords. There was carefully noted in my message that I am facing new territory and need some advice. > > This is

Re: With all this CPU/hardware mess, any advice on what to use for an organization?

2018-11-20 Thread Nick Holland
nd what I mean are likely very different. > This isn't going to be my server, I will just be in charge. That's > completely new for me. > Any advice is really welcome, everywhere I read anything, hardware seems > broken and insecure. Pretty much all new HW is optimized in ways

  1   2   3   4   5   >