Re: 4-ports router under $150

2018-04-11 Thread lilit-aibolit
Hi, I've been looking for more then one year to get something similar until I found this: https://pt.aliexpress.com/item/Celeron-J1900-Mini-pc-free-shipping-micro-sd-two-usb-and-four-lan-laptop-overwatch-Computer/32794678352.html?spm I already got and tested it and it work fine. On 08/04/18

Fwd: [EdLUG] FLOSSUK Conference later this month

2018-04-11 Thread Craig Skinner
Hi folks, "FLOSSUK is the UK's primary support organisation for Free/Libre Open Source Systems (FLOSS) supporting Free and Open Technology. Our Spring Conference is the UK's longest running event supporting systems and network administrators. But as FLOSSUK has evolved to support open networks,

Re: Virtualbox vs latest snapshot

2018-04-11 Thread Stuart Henderson
On 2018-04-11, Richard Toohey wrote: > On 04/11/18 10:50, Stuart Henderson wrote: >> On 2018-04-10, csszep wrote: >>> Hi! >>> >>> I installed the latest 04.10 snapshot, the install procedure went fine, but >>> after reboot the VM stucks at endless boot

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Gregory Edigarov
On 11.04.18 11:40, Mischa wrote Ok, good to know. It doesn't work as written. The only thing I see in the error.log is the fact that the PHP script is not found. Access to the script '/htdocs/s/' has been denied (see security.limit_extensions) Which tells me index.php is not requested.

Re: using installboot to create a custom OpenBSD install on sd1

2018-04-11 Thread Chris Milham
It looks to me that you're trying to find a way to quickly set up new machines which share a similar OpenBSD configuration? Can I suggest an alternative approach to help achieve this... Read through: man autoinstall. You can use this approach to set up machines quickly across a LAN. To get it

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Gregory Edigarov
On 10.04.18 22:24, Mischa wrote: Hi All, Is there a way to serve both static and dynamic content, eg. index.html and index.php within the same server { } definition? I am looking for something like: server "default" { listen on $ext_addr port 80 root "/htdocs" directory index

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Mischa
> On 11 Apr 2018, at 10:00, Gregory Edigarov wrote: > > On 10.04.18 22:24, Mischa wrote: >> Hi All, >> >> Is there a way to serve both static and dynamic content, eg. index.html and >> index.php within the same server { } definition? >> I am looking for something like: >>

Re: Cannot access internet with virtual switch

2018-04-11 Thread Ayaka Koshibe
> This informs us that for a PACKET_OUT with action OUTPUT, it cannot > have its port as ANY. Now, I do not know why for a PACKET_OUT message, > an action OUTPUT cannot have port as ANY. More importantly, I do not > know why the controller seems to be sending the PACKET_OUT with action > OUTPUT

Cold / warm spare for OpenBSD server

2018-04-11 Thread Jeff Zimmerman
Hello! I administer multiple OpenBSD machines which have been backing up via tar and sftp. I do have one server that is mission critical that I'd like to move to a more "warm" backup, perhaps using rsync. I already have a second server with the same hardware and OpenBSD version that is in a

Re: Cold / warm spare for OpenBSD server

2018-04-11 Thread Gregory Edigarov
I would solve the problem of config sync vice versa. instead of syncing the files from one host to another you could just create the same files using any software configuration management system like ansible. of course, you will still need to sync the data, and rsync is your best friend

Re: Cannot access internet with virtual switch

2018-04-11 Thread Aham Brahmasmi
> Sent: Wednesday, April 11, 2018 at 10:18 AM > From: "Ayaka Koshibe" > To: misc@openbsd.org > Subject: Re: Cannot access internet with virtual switch > > > This informs us that for a PACKET_OUT with action OUTPUT, it cannot > > have its port as ANY. Now, I do not know why for

Re: kernel (6.2 amd-64 mp) relinking failed on cloned disk

2018-04-11 Thread Benjamin Baier
On Tue, 10 Apr 2018 22:16:14 -0500 Z Ero wrote: > Does this mean that a machine specific hash / checksum required to > validate / execute the kernel relink is not working or what? It compares /bsd with checksum in /var/db/kernel.SHA256 if it does not match kernel

Re: 4-ports router under $150

2018-04-11 Thread Todd C. Miller
On Wed, 11 Apr 2018 10:49:54 +0300, lilit-aibolit wrote: > Hi, I've been looking for more then one year to get something similar > until I found this: > > https://pt.aliexpress.com/item/Celeron-J1900-Mini-pc-free-shipping-micro-sd-t >

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Mischa
> On 11 Apr 2018, at 12:14, Gregory Edigarov wrote: > > On 11.04.18 11:40, Mischa wrote >> Ok, good to know. It doesn't work as written. The only thing I see in the >> error.log is the fact that the PHP script is not found. >> >> Access to the script '/htdocs/s/' has been

Re: signify and ftp.eu.openbsd.org

2018-04-11 Thread Paul de Weerd
Hi Peter, On Wed, Apr 11, 2018 at 07:58:56PM +0200, Peter J. Philipp wrote: | Sorry to be writing this twice.  Not my day. | | The complete path where I downloaded this from was | https://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/amd64/install63.iso | | including the SHA256.sig which I check

IPsec on enc0: icmp echo requests not decrypted?

2018-04-11 Thread Johan Hattne
Dear all; I’m trying to set up IPSec between two hosts; for now I’m not worrying about any networks these hosts might be gatewaying. The OpenBSD 6.2 host at a.a.a.a runs on an old SGI machine and has /etc/ipsec.conf: ike esp tunnel from a.a.a.a to b.b.b.b local a.a.a.a peer b.b.b.b psk

Re: signify and ftp.eu.openbsd.org

2018-04-11 Thread Peter J. Philipp
Sorry to be writing this twice.  Not my day. The complete path where I downloaded this from was https://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/amd64/install63.iso including the SHA256.sig which I check against. Also: beta$ dig ftp.eu.openbsd.org +short 193.156.26.18 beta$ dig

signify and ftp.eu.openbsd.org

2018-04-11 Thread Peter J. Philipp
Hi, I just downloaded this install63.iso from https://ftp.eu.openbsd.org: beta$ signify -C -p /etc/signify/openbsd-63-base.pub \ > -x SHA256.sig bsd Signature Verified bsd: OK beta$ signify -C -p /etc/signify/openbsd-63-base.pub \ > -x SHA256.sig install63.iso Signature

pf: certain recursive macros causing syntax error

2018-04-11 Thread Aham Brahmasmi
Hello misc, Recursive macros which include macros containing certain specific characters cause syntax errors. Steps $ cat pftemp.conf forwardslash = "100/10" #forwardslashrecursive = $forwardslash number = "100" numberrecursive = $number string = "keep" #stringrecursive = $string ip = "0.0.0.0"

Re: signify and ftp.eu.openbsd.org

2018-04-11 Thread Paul de Weerd
On Wed, Apr 11, 2018 at 09:52:41PM +0200, Peter J. Philipp wrote: | So I re-downloaded this file on another machine. It turned out to have your | checksum (sha256 -b) and upon downloading another SHA256.sig it signify'ed | correctly. But this leads me to ask questions: | | 1. doesn't the https

Re: signify and ftp.eu.openbsd.org

2018-04-11 Thread Peter J. Philipp
On Wed, Apr 11, 2018 at 08:45:40PM +0200, Paul de Weerd wrote: > Hi Peter, Hello Paul, > I downloaded those exact two files from the same IP addresses and the > signature verified OK for me: > > [weerd@pom] $ ftp -4 https://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/amd64/i > > > Trying

Re: signify and ftp.eu.openbsd.org

2018-04-11 Thread Peter J. Philipp
On Wed, Apr 11, 2018 at 10:20:37PM +0200, Paul de Weerd wrote: > ftp doesn't do this itself, but the error detection in tcp and ssl > (ok, so that's linked into the ftp binary) do. > > The file is unlikely to have been changed in flight. OK, odd. What I find odd is that the SHA256.sig file I got

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Mischa
> On 11 Apr 2018, at 22:40, Bryan Harris wrote: > > I'll ask a dumb question. Why do you need extra root directives? Can't you > do this? > > location "^/phpapp/*" { > directory index "index.php" > } > location "*.php" { > fastcgi socket "/run/php-fmp.sock > } > >

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Mischa
> On 11 Apr 2018, at 22:53, Tom Smyth wrote: > > Mischa > Hows it going ? > have you tried index.* for both html and php index support ? > > I have been bailed out by the * before on php apps with seo friendly urls Hey Tom! Doing well man... looking forward to

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Tom Smyth
Mischa Hows it going ? have you tried index.* for both html and php index support ? I have been bailed out by the * before on php apps with seo friendly urls On Wed 11 Apr 2018, 21:50 Mischa, wrote: > > > On 11 Apr 2018, at 22:40, Bryan Harris wrote:

Fwd: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Tom Smyth
Hi Mischa directory index "index.*" To allow serving of index.php if its in the directory or index.html if that is in the directory When both are present in a directory im not sure what would happen though On Wed 11 Apr 2018, 21:55 Mischa, wrote: > > > On 11 Apr 2018, at

Re: signify and ftp.eu.openbsd.org

2018-04-11 Thread Stuart Henderson
On 2018-04-11, Peter J. Philipp wrote: > Sorry to be writing this twice.  Not my day. > > The complete path where I downloaded this from was > https://ftp.eu.openbsd.org/pub/OpenBSD/snapshots/amd64/install63.iso > > including the SHA256.sig which I check against. > > Also: > >

Re: httpd - serving index.html & index.php at the same time

2018-04-11 Thread Bryan Harris
I'll ask a dumb question. Why do you need extra root directives? Can't you do this? location "^/phpapp/*" { directory index "index.php" } location "*.php" { fastcgi socket "/run/php-fmp.sock } Bryan On Wed, Apr 11, 2018 at 10:32 AM, Mischa wrote: > > On 11 Apr 2018, at

Re: Community-driven OpenBSD tutorials wiki?

2018-04-11 Thread Aaron Mason
On Fri, Jan 5, 2018 at 8:26 AM, Peter N. M. Hansteen wrote: > > If you think you don't have the seniority to start submitting patches > when you see a bug (even a typo in a man page or the faq), you're most > likely wrong. Your first efforts will not be perfect of course, but if

Re: Virtualbox vs latest snapshot

2018-04-11 Thread faisal saadatmand
Thank you, Stuart, for the instructions. I have been suffering from the same issue as well since April 6: all subsequent snapshots failed to boot on virtualbox. I also was able to reproduce the problem in qemu. Interestingly, like Richard, I, too, am using a Thinkpad X1 Carbon; however, openbsd

Re: Community-driven OpenBSD tutorials wiki?

2018-04-11 Thread Zeb Packard
Not a wiki, but if the mailing list is too busy daemon forums has a community driven Guides and Howtos section. http://daemonforums.org/forumdisplay.php?f=31

Re: Community-driven OpenBSD tutorials wiki?

2018-04-11 Thread Theo de Raadt
Aaron Mason wrote: > On Fri, Jan 5, 2018 at 8:26 AM, Peter N. M. Hansteen wrote: > > > > > If you think you don't have the seniority to start submitting patches > > when you see a bug (even a typo in a man page or the faq), you're most > > likely

Re: pf: certain recursive macros causing syntax error

2018-04-11 Thread Theo de Raadt
Aham Brahmasmi wrote: > Hello misc, > > Recursive macros which include macros containing certain specific > characters cause syntax errors. > > Steps > $ cat pftemp.conf > forwardslash = "100/10" > #forwardslashrecursive = $forwardslash > number = "100" >

Re: Community-driven OpenBSD tutorials wiki?

2018-04-11 Thread Vivek Vinod
Offtopic - I installed cowsay and erroneously thought there was an error in the manpage. Looked up cowsay in ports and wrote an email to the maintainer. The email bounced back. Who would one email to in such a case? Vivek   Original Message   From: simplersolut...@gmail.com Sent: 12 April