Re: ed viewing trailing spaces

2018-05-23 Thread Martijn van Duren
Hello Predrag, I assume that you don't run -current. I changed this about a month ago. martijn@ On 05/24/18 06:28, Predrag Punosevac wrote: > Hi Misc, > > I just got Michael Lucas' Ed Mastery. While reading through the book I > tried few things and I realized that viewing trailing spaces on

ed viewing trailing spaces

2018-05-23 Thread Predrag Punosevac
Hi Misc, I just got Michael Lucas' Ed Mastery. While reading through the book I tried few things and I realized that viewing trailing spaces on OpenBSD 6.3 doesn't work the way described in man pages, Michael's book, and other OSs (I tired Red Hat 7.5, FreeBSD 11.1p10, DFBSD 5.2.1) Namely

Confusing IPv6 route(8) results

2018-05-23 Thread David Higgs
I am using route(8) in a script but found some odd behavior when querying routes for some IPv6 addresses - lookups seem to fail if the trailing address bytes are zero (implicit or explicitly) as shown below. However, the routing table still seems to be forwarding traffic correctly, as shown in my

Re: Building ramdisk_cd (6.3)

2018-05-23 Thread Philip Guenther
On Wed, May 23, 2018 at 4:19 PM, Alfredo Rainho Neves wrote: > I am trying to build the ramdisk_cd, but having some problems with > permission of the ramdisk_cd directory. It is set to my user and group > wsrc, > but when I try to do a make I get the following: > If you

Re: utf-8 support in OpenBSD's httpd

2018-05-23 Thread justina colmena
Original message From: Larry Hynes Date: 5/23/18 10:03 AM (GMT-09:00) To: justina colmena Subject: Re: utf-8 support in OpenBSD's httpd > I think the usual response to this is "use relayd to add headers".> There's a > hack here,

runit

2018-05-23 Thread Ken M
I noticed runit is in the ports, looking at the runit website I see instructions for OpenBSD installation but they are many versions back. Does anyone use runit as a replacement init system on their OpenBSD installs in the list? Experiences and possibly a source for more current information on

Building ramdisk_cd (6.3)

2018-05-23 Thread Alfredo Rainho Neves
Hi, I am trying to build the ramdisk_cd, but having some problems with permission of the ramdisk_cd directory. It is set to my user and group wsrc, but when I try to do a make I get the following: cnc# make -j2 crunchgen -E -D /usr/src -L /usr/lib -c instbin.c -e instbin -m instbin.mk

Re: opensmtpd / ldap unreliable

2018-05-23 Thread Paul B. Henson
> From: Gilles Chehade > Sent: Wednesday, May 23, 2018 1:20 PM > > That's bad but could easily be fixed if you want to help us Definitely; I'll pull the latest github head down and see if that fixes the LDAP connection recovery after startup issue, and then I can try any suggestions to make it

Re: attach chroot-jail to switchd(8) ?

2018-05-23 Thread Reyk Floeter
switchd is already privsep‘ed with a chroot jail. But I don’t quite understand what you mean. > Am 23.05.2018 um 10:35 schrieb Thomas Huber : > > Hi all, > > I´m just tinkering a little bit and try to mimic some "containerization" on > OpenBSD with chroot. Is it somehow

Re: Beg for Atheros wifi driver

2018-05-23 Thread Chris Bennett
On Mon, Apr 16, 2018 at 07:43:09AM +, Antal Ispanovity wrote: > By the way, you just need to have a look at this page, click on a driver > and you can see a list of supported devices: > https://man.openbsd.org/?query=wireless=1 > This DOES NOT always work. I have bought several supported

Re: opensmtpd / ldap unreliable

2018-05-23 Thread Allan Streib
"Paul B. Henson" writes: >> What you ask is a very general question: If A depends on B, and B is >> missing, how do expect A to behave? > > In this specific case, I expect A to complain it was unable to contact > B, to continue initializing, return temporary failures for any >

Re: vlan without IP address not working (parent not in promisc mode)

2018-05-23 Thread Sigi Rudzio
2018-05-23 15:42 GMT+02:00 David Dahlberg : >> On 2018-05-22, Sigi Rudzio wrote: >> > With this configuration, the parent interface on router 2 (sk0) >> > isn't in >> > promiscous mode and no traffic can pass into the vlan interface > >

Re: vlan without IP address not working (parent not in promisc mode)

2018-05-23 Thread Sigi Rudzio
2018-05-23 12:04 GMT+02:00 Stuart Henderson : > It's not clear from your mail, did you bring the vlan interface up? > Assigning an IP address (currently) does that automatically. Thanks for your answer, the vlan interface is up, as well as the vxlan interface and the

Re: opensmtpd / ldap unreliable

2018-05-23 Thread Gilles Chehade
On Wed, May 23, 2018 at 10:19:47PM +0200, Gilles Chehade wrote: > On Tue, May 22, 2018 at 06:13:23PM -0700, Paul B. Henson wrote: > > So I recently converted my opensmtpd server to use ldap as the backend > > for user authentication. It seems it's a bit untolerant to ldap issues? > > > > [...] > >

Re: opensmtpd / ldap unreliable

2018-05-23 Thread Gilles Chehade
On Tue, May 22, 2018 at 06:13:23PM -0700, Paul B. Henson wrote: > So I recently converted my opensmtpd server to use ldap as the backend > for user authentication. It seems it's a bit untolerant to ldap issues? > yes most likely If the ldap server isn't available when opensmtpd is started, it

Re: utf-8 support in OpenBSD's httpd

2018-05-23 Thread Ve Telko
Hi, Justina. You can not set HTTP headers in httpd.conf, there is no such feature. You need to run relayd in front of it to set some headers by example for text files like "contacto.txt", where it is not possible to set headers on application level, like calling header() function in case of PHP.

Re: opensmtpd / ldap unreliable

2018-05-23 Thread Paul B. Henson
> From: justina colmena > Sent: Tuesday, May 22, 2018 9:08 PM > > Are they being started in the wrong order at boot time? The LDAP server in use is not running on the local openBSD system. It might not be available due to an underlying network issue or some other problem that temporarily

Re: Intranet routing with dynamic IPs

2018-05-23 Thread giant
Thanks Stuart! Knowing that, implementing it will be easy.

utf-8 support in OpenBSD's httpd

2018-05-23 Thread justina colmena
My question is: How can I get OpenBSD's httpd to serve a particular file, or all files of a particular extension, as the case may be, with the following HTTP header? Content-type: text/plain; charset=utf-8 I have written a simple "hello-world" PHP script which creates a table and inserts some

Re: vlan without IP address not working (parent not in promisc mode)

2018-05-23 Thread David Dahlberg
> On 2018-05-22, Sigi Rudzio wrote: > > With this configuration, the parent interface on router 2 (sk0) > > isn't in > > promiscous mode and no traffic can pass into the vlan interface Sounds pretty much like the same problem that I had:

Re: Intranet routing with dynamic IPs

2018-05-23 Thread Stuart Henderson
> Regardless of which routing protocol I use, I run into the same problem. > I can't find a way to configure this on OpenBSD. Given you only want the /32 you can't use the address (with netmask) directly from the interface. You could do this with bgpd by *not* announcing it directly from

Re: vlan without IP address not working (parent not in promisc mode)

2018-05-23 Thread Stuart Henderson
It's not clear from your mail, did you bring the vlan interface up? Assigning an IP address (currently) does that automatically. Full ifconfig output might be useful. On 2018-05-22, Sigi Rudzio wrote: > Hi misc@, > > I'm trying to bridge a VLAN between two routers with a

Re: Viewport for man.openbsd.org -- readability on phones

2018-05-23 Thread Marko Cupać
On May 2018 Multiple list members wrote: > I took and iPhone with iOS and Safari ( i think!) on it and pointed > the browser to the current link of man pages [1]. All i can say is the > layout is displayed on full display, not stretched. > Text is fine, paragraphs are scaled ok, not even a simple

attach chroot-jail to switchd(8) ?

2018-05-23 Thread Thomas Huber
Hi all, I´m just tinkering a little bit and try to mimic some "containerization" on OpenBSD with chroot. Is it somehow possible to attach a chrooted envirionment to swtichd(8) ? Thanks Thomas