relayd: forward to same host multiple ports

2019-07-09 Thread Gino Pilotino
Hi, for weird reasons I need to implement RELAYD (OpenBSD 6.5) to balance a service running on the same host but on multiple ports. something like: --- protocol "proto_MyHttpProxyWithSSL" { tcp { nodelay, sack, socket buffer 65536, backlog 100 }

adding ipv6 and pppoe to my firewall

2019-07-09 Thread shadrock uhuru
hi  everyone i have a dual redundant firewall setup the same as the example given at https://www.openbsd.org/faq/pf/carp.html i was originally with virgin media but have moved to a provider offering ipv4, ipv6 and fixed ip addresses, i am now trying  to add ipv6 and pppoe to the firewall. i

shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-09 Thread mansoor
Hi, I am using OpenBSD 6.4 and php version 5.6, I am trying to execute shell commands through php file using exec, shell_exec or system (tried all of them) but none is working. Here is a sample code in my index.php file. $output"; ?> Here is link

Re: Future of X.org?

2019-07-09 Thread Roderick
On Mon, 8 Jul 2019, Steve Litt wrote: It's one thing to support an alternative: Quite another to call for the death of the original. Unfortunately it is not an alternative as I wrote before. X11 is among other things a standard. If wayland imposes itself, we will have soon programs for X

sysupgrade: exclude sets

2019-07-09 Thread Leo Unglaub
Hi, i am a huge fan of sysupgrade. It works perfectly on my laptop where i use all sets that OpenBSD provides. But now i want to start to use sysupgrade on a router where i don't need the "x*" sets. I looked at the manual here (https://man.openbsd.org/sysupgrade) but did not find a way to

Re: sysupgrade: exclude sets

2019-07-09 Thread Theo de Raadt
Leo Unglaub wrote: > Hi, > i am a huge fan of sysupgrade. It works perfectly on my laptop where i > use all sets that OpenBSD provides. But now i want to start to use > sysupgrade on a router where i don't need the "x*" sets. > > I looked at the manual here (https://man.openbsd.org/sysupgrade)

Re: 4GB RAM too little for Firefox?

2019-07-09 Thread Stuart Henderson
On 2019-07-09, ropers wrote: > Just for the record, I think *my* (not the OP's) problem when trying > to grep fstat results was that unlike lsof, fstat didn't show the > former file names (hence unlinked); it only showed inodes, so I never > got the "find this former file" part to work on

Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-09 Thread Martijn van Duren
On 7/9/19 11:40 AM, mansoor wrote: > Hi, > I am using OpenBSD 6.4 and php version 5.6, I am trying to execute shell > commands through php file using exec, shell_exec or system (tried all of > them) but none is working. > > Here is a sample code in my index.php file. > > $output =

Re: How to debug hanging machines / proc: table is full

2019-07-09 Thread Kenneth Gober
On Tue, Jul 2, 2019 at 10:06 AM Raimo Niskanen < raimo+open...@erix.ericsson.se> wrote: > In /var/log/messages I find suspicious entries "/bsd: proc: table is full" > possibly before the machines become inresponsive, but these entries appear > many more times before that point. And after this

Re: How to debug hanging machines / proc: table is full

2019-07-09 Thread Raimo Niskanen
On Tue, Jul 09, 2019 at 10:33:46AM -0400, Kenneth Gober wrote: > On Tue, Jul 2, 2019 at 10:06 AM Raimo Niskanen < > raimo+open...@erix.ericsson.se> wrote: > > > In /var/log/messages I find suspicious entries "/bsd: proc: table is full" > > possibly before the machines become inresponsive, but

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Nathan Hartman
On Tue, Jul 9, 2019 at 2:43 PM Marc Espie wrote: > - we do use gzip because other compression systems won't work with little > memory/don't have the right licence. You might find this interesting: https://github.com/silentbicycle/heatshrink

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Leonid Bobrov
> It is definately not a friendly place for people with a tone like yours. Theo, your excuse that OpenBSD is not more popular than Linux because AT sued BSD in 90's is ridiculous, that's your own fault for being so terrible in technical field, also you are terrible person, just like me you can't

Re: sysupgrade: exclude sets

2019-07-09 Thread Leo Unglaub
On 09.07.19 15:13, Theo de Raadt wrote: i am a huge fan of sysupgrade. It works perfectly on my laptop where i use all sets that OpenBSD provides. But now i want to start to use sysupgrade on a router where i don't need the "x*" sets. I looked at the manual here

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Roderick
On Tue, 9 Jul 2019, cho...@jtan.com wrote: Perhaps rather than whining that OpenBSD lacks some specific feature, those who want it could write it? Or perhaps better not. All depends on what is a feature and for whom. I, as normal user, am glad that packages are not inflated with debugging

TCP wrapper alternative?

2019-07-09 Thread Thomas Smith
Hi, I'm considering an option to evaluate connecting IPs before they're evaluated by `pf` in order to make some decisions about the "reputation" of a connecting IP. Then if that reputation is low enough, some action could either be taken: in `pf` to protect the associated application (say by

Re: TCP wrapper alternative?

2019-07-09 Thread Peter Nicolai Mathias Hansteen
> 9. jul. 2019 kl. 20:03 skrev Thomas Smith : > > Hi, > > I'm considering an option to evaluate connecting IPs before they're evaluated > by `pf` in order to make some decisions about the "reputation" of a > connecting IP. Then if that reputation is low enough, some action could > either be

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Theo de Raadt
Please leave the list. Leonid Bobrov wrote: > > It is definately not a friendly place for people with a tone like yours. > > Theo, your excuse that OpenBSD is not more popular than Linux because AT > sued BSD in 90's is ridiculous, that's your own fault for being so > terrible in technical

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Christopher Turkel
Stop it now. You are being a troll. On Tue, Jul 9, 2019 at 1:09 PM Leonid Bobrov wrote: > > It is definately not a friendly place for people with a tone like yours. > > Theo, your excuse that OpenBSD is not more popular than Linux because AT > sued BSD in 90's is ridiculous, that's your own

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Raul Miller
On Tue, Jul 9, 2019 at 1:13 PM Leonid Bobrov wrote: > Theo, your excuse that OpenBSD is not more popular than Linux because AT > sued BSD in 90's is ridiculous, Nah, it's a relevant issue. That said, it's not the only issue, which I imagine was the point you were trying to get across. -- Raul

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Marc Espie
On Tue, Jul 09, 2019 at 08:04:23PM +0300, Leonid Bobrov wrote: > > An all-arches package snapshot currently runs at 200GB and adding > > symbols across the board would add a lot to this. > > Stuart and Espie, have you ever heard of compression? WTF is wrong with you ? I haven't participated to

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread chohag
Perhaps rather than whining that OpenBSD lacks some specific feature, those who want it could write it? A novel idea, I know, but it IS specifically a development platform and there are precisely zero restrictions. Or if you don't wish to start with code, at least try a tack such as "I intend

Re: TCP wrapper alternative?

2019-07-09 Thread Marc Espie
On Tue, Jul 09, 2019 at 11:03:36AM -0700, Thomas Smith wrote: > Hi, > > I'm considering an option to evaluate connecting IPs before they're evaluated > by `pf` in order to make some decisions about the "reputation" of a > connecting IP. Then if that reputation is low enough, some action could

Re: TCP wrapper alternative?

2019-07-09 Thread Torsten
HI A much simpler option Is D.J. Bernstein's tcpserver in combination with daemontools I use it for all sorts of things including IP black listing into pf's tables The packages are in the ports system T -Original Message- From: owner-m...@openbsd.org [mailto:owner-m...@openbsd.org] On

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread Chris Humphries
Marc and Stuart (and whoever else was involved), thanks for the work done on this stuff. It is simple and clean for me as a user and I have trust in the integrity of what I'm receiving. I don't take it for granted. And there's probably a ton more involved that I'm not aware of yet, but I trust in

Re: 4GB RAM too little for Firefox?

2019-07-09 Thread ropers
> On 2019-07-09, ropers wrote: >> Just for the record, I think *my* (not the OP's) problem when trying >> to grep fstat results was that unlike lsof, fstat didn't show the >> former file names (hence unlinked); it only showed inodes, so I never >> got the "find this former file" part to work on

possible athn(4) bug in 6.5-current involving AR5418 chipset on used ThinkPad T60

2019-07-09 Thread Matthew Graybosch
Hello. I'm having a bit of trouble getting wifi to work on a used ThinkPad T60 with an AR5418 chipset, and gathered as much info as possible by running sendbug as root. I can post the following to bugs@ if anybody thinks that would be more appropriate, but I had read

Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-09 Thread Allan Streib
Martijn van Duren writes: > You haven't given enough information for a definitive answer, but my > guess is that you run php through php-fpm, which is by default chrooted > to /var/www. Since shell_exec and system first call /bin/sh and you > most likely didn't copy it to /var/www/bin/sh it

Re: Sysmerge

2019-07-09 Thread Sebastian Benoit
Jay Hart(jh...@kevla.org) on 2019.07.06 08:57:49 -0400: > > On Sat, Jul 06, 2019 at 11:56:32AM BST, Jay Hart wrote: > >> Good Morning, > >> > >> What is the simple way to have sysmerge "keep" all custom changes to the > >> config files, during a > >> system update from one stable release to the

Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-09 Thread Kevin Chadwick
>Agree this is likely the problem, unfortunately in PHP-land sometimes >you can't avoid it. For platforms such as Drupal (just to pick an >example I am familiar with) some of the modules will run shell commands >to do things such as send email. > >Allan The php mail() function runs /bin/sh

Re: When will OpenBSD become a friendly place for bug reporters?

2019-07-09 Thread ropers
On 09/07/2019, cho...@jtan.com wrote: > Perhaps rather than whining that OpenBSD lacks some specific feature, those > who want it could write it? A novel idea, I know, but it IS specifically a > development platform and there are precisely zero restrictions. > > Or if you don't wish to start with

Re: shell_exec() exec() and system() not working in php 5.6 openbsd 6.4

2019-07-09 Thread Tom Smyth
Roman has, a nice mail setup on his blog that describes sending mails without exec IIRC https://www.romanzolotarev.com/ another alternative is to use postifx and maildrop folders or postdrop folder ... I hope this helps Tom Smyth On Wed, 10 Jul 2019 at 00:31, Kevin Chadwick wrote: > > >Agree

Re: Did I install correctly the openbsd?

2019-07-09 Thread Rudy Baker
Aren't you that guy "Ywë Carlen" or something like that? On Tue, Jul 9, 2019, 7:30 PM SOUL_OF_ROOT 55, wrote: > I installed openbsd 6.5 in Virtualbox for Windows 7, the following > screenshots show it: > > [image: openbsd installation.png] > > [image: openbsd virtualbox2.png] > > [image: