[PATCH] Off-by-one bug in httpd's config file port number checking

2017-08-17 Thread Kris Katterjohn
Hello, I think I've found an off-by-one bug in httpd: it cannot listen on port 65535 when the port is specified as a number (although it can listen on it if specified as the string "65535", or if an appropriate line is added to /etc/services and it's specified with that name). $ uname -a OpenBSD

Re: OpenBSD 6.1 on Asus E200HA (SoC Intel z8350)

2017-08-17 Thread Pedro Ramos
Às 15:28 de 17/08/2017, Stefan Sperling escreveu: On Thu, Aug 17, 2017 at 02:53:09PM +0100, Pedro Ramos wrote: Hello, I am having troubles making the Asus E200HA (SoC Intel z8350) keyboard work correctly on OpenBSD 6.1. OpenBSD does detect the keyboard and it works at boot time during

Re: keyboard layout 6.1 obsd

2017-08-17 Thread Maksym Sheremet
Try to create/customize the xorg.conf(5) file. See kbd(4) for keyboard options. On Thu, 17 Aug 2017 11:07:38 -0300 Friedrich Locke wrote: > Hi folks, > > i have just installed obsd 6.1 amd64. My keyboard is set as "br" in > /etc/kbdtype and it is working 100% on the

Re: Full disk encryption questions

2017-08-17 Thread Ted Unangst
Philippe Meunier wrote: > - is the panic intended (well, known to the developers and considered > normal; I hesitate to call it a feature) or is it an oversight? no, nothing bioctl does should kill init like that. > - I would have thought that, once the softraid volume has been created, its >

Re: vmm workflow

2017-08-17 Thread Carlos Cardenas
Thanks Bryan and Mike. I'll stick to what y'all are suggesting. Is there a page for the vmm roadmap? I am interested in advancing vmm and would like to participate in its development. +--+ Carlos On Aug 17, 2017 12:48, "Mike Larkin" wrote: On Wed, Aug 16, 2017 at

Re: keyboard layout 6.1 obsd

2017-08-17 Thread Friedrich Locke
It did not work. On Thu, Aug 17, 2017 at 11:49 AM, Matias Moreno Meringer < mmoren...@gmail.com> wrote: > I use an US keyboard with dead keys in X. In order to make it work, I have > the following statement in my ~/.xinitrc: > > setxkbmap -layout us -variant altgr-intl > > Test it with layout br

Re: OpenBSD-based ISP

2017-08-17 Thread Juan Guillermo Narvaez
Stuart, Where I can set the port range of NAT? Greetings On Thu, Aug 17, 2017 at 5:04 AM, Stuart Henderson wrote: > On 2017-08-16, Juan Guillermo Narvaez wrote: > > *match out on bge0 inet from 172.21.0.0/19 to any > > nat-to

Re: OpenBSD-based ISP

2017-08-17 Thread Hrvoje Popovski
On 17.8.2017. 21:56, Juan Guillermo Narvaez wrote: > Sure Hrvoje, I'm applying every config and looking the performance > improvement. I will post my final configuration when finish. > > Thanks! > If you do not filter anything on the internal interfaces in pf.conf you could skip them set skip

Re: OpenBSD-based ISP

2017-08-17 Thread Juan Guillermo Narvaez
Sure Hrvoje, I'm applying every config and looking the performance improvement. I will post my final configuration when finish. Thanks! On Thu, Aug 17, 2017 at 4:45 PM, Hrvoje Popovski wrote: > On 17.8.2017. 21:23, Juan Guillermo Narvaez wrote: > > This is the dmesg.boot. > >

Re: vmm workflow

2017-08-17 Thread Mike Larkin
On Wed, Aug 16, 2017 at 07:50:59PM -0700, Carlos Cardenas wrote: > Howdy. > > I've been playing around with vmm(4) on 6.1 and have noticed a few > things that seem odd. > > Take the following vm.conf: > ramdisk="/home/los/vmm/bsd.rd-current" > switch "local" { > add vether0 > } > vm

Re: OpenBSD-based ISP

2017-08-17 Thread Hrvoje Popovski
On 17.8.2017. 21:23, Juan Guillermo Narvaez wrote: > This is the dmesg.boot. nice box with nice cpu and interfaces ... :) if you can, disable Hyper Threading .. > In pf.conf: > set debug notice default is error when you do all that what people have told you, i would be interested if you see

Re: OpenBSD-based ISP

2017-08-17 Thread Juan Guillermo Narvaez
This is the dmesg.boot. In pf.conf: set debug notice On Thu, Aug 17, 2017 at 3:46 PM, Hrvoje Popovski wrote: > On 17.8.2017. 17:13, Chris Cappuccio wrote: > > Juan Guillermo Narvaez [guille...@nrvz.net] wrote: > >> # sysctl | grep ifq > >> net.inet.ip.ifq.len=0 > >>

Re: Using USB headsets

2017-08-17 Thread Maurice McCarthy
On 16/08/17 19:21, Norman Golisz wrote: > Hi, > > I'm trying to figure out how to get my USB headset (Plantronics C310) > to work. > > I can't hear anything, nor does the microphone work. I fiddled with > different mixerctl settings to no avail, and I'm not even sure my > headset had been

Re: OpenBSD-based ISP

2017-08-17 Thread Hrvoje Popovski
On 17.8.2017. 17:13, Chris Cappuccio wrote: > Juan Guillermo Narvaez [guille...@nrvz.net] wrote: >> # sysctl | grep ifq >> net.inet.ip.ifq.len=0 >> net.inet.ip.ifq.maxlen=1024 >> net.inet.ip.ifq.drops=46068291 >> net.inet6.ip6.ifq.len=0 >> net.inet6.ip6.ifq.maxlen=256 >> net.inet6.ip6.ifq.drops=0

Re: vmm workflow

2017-08-17 Thread Bryan Harris
I had the same issue with boot option in vm.conf and never solved my difficulty using the vm.conf file itself (I assumed I must have misunderstood the doc). Instead I used the command line option for vmctl starting the machine. After I installed the O/S using bsd.rd I did not need that option

Re: OpenBSD-based ISP

2017-08-17 Thread Chris Cappuccio
Juan Guillermo Narvaez [guille...@nrvz.net] wrote: > # sysctl | grep ifq > net.inet.ip.ifq.len=0 > net.inet.ip.ifq.maxlen=1024 > net.inet.ip.ifq.drops=46068291 > net.inet6.ip6.ifq.len=0 > net.inet6.ip6.ifq.maxlen=256 > net.inet6.ip6.ifq.drops=0 > The drops are high. You probably want a higher

Re: OpenBSD-based ISP

2017-08-17 Thread Juan Guillermo Narvaez
# sysctl | grep ifq net.inet.ip.ifq.len=0 net.inet.ip.ifq.maxlen=1024 net.inet.ip.ifq.drops=46068291 net.inet6.ip6.ifq.len=0 net.inet6.ip6.ifq.maxlen=256 net.inet6.ip6.ifq.drops=0 # cat sysctl.conf net.inet.ip.forwarding=1 kern.bufcachepercent=90 net.ip.ifq.maxlen=1024 On Wed, Aug 16, 2017 at

Re: keyboard layout 6.1 obsd

2017-08-17 Thread Matias Moreno Meringer
I use an US keyboard with dead keys in X. In order to make it work, I have the following statement in my ~/.xinitrc: setxkbmap -layout us -variant altgr-intl Test it with layout br for your case; it should work. On Thu, Aug 17, 2017 at 11:07 AM, Friedrich Locke

Re: OpenBSD 6.1 on Asus E200HA (SoC Intel z8350)

2017-08-17 Thread Stefan Sperling
On Thu, Aug 17, 2017 at 02:53:09PM +0100, Pedro Ramos wrote: > Hello, > I am having troubles making the Asus E200HA (SoC Intel z8350) keyboard work > correctly on OpenBSD 6.1. > > OpenBSD does detect the keyboard and it works at boot time during > installation. But as soon it gets to the

keyboard layout 6.1 obsd

2017-08-17 Thread Friedrich Locke
Hi folks, i have just installed obsd 6.1 amd64. My keyboard is set as "br" in /etc/kbdtype and it is working 100% on the console. But when i start xenodm, it is not working for "br" ! Do you know where i should set X to start it working with "br" keyboards. Thanks in advance.

OpenBSD 6.1 on Asus E200HA (SoC Intel z8350)

2017-08-17 Thread Pedro Ramos
Hello, I am having troubles making the Asus E200HA (SoC Intel z8350) keyboard work correctly on OpenBSD 6.1. OpenBSD does detect the keyboard and it works at boot time during installation. But as soon it gets to the installer prompt the keyboard does not work any more. Any idea how to fix

Full disk encryption questions

2017-08-17 Thread Philippe Meunier
Hello, I've been testing full disk encryption using the softraid crypto discipline on an old Thinkpad T61, using OpenBSD amd64 6.1-release (dmesg below). I just followed the FAQ: creating a wd0a RAID partition, then an encrypted sd1 using bioctl (sd0 was the USB thumb drive I booted from), then

Re: OpenBSD-based ISP

2017-08-17 Thread Stuart Henderson
On 2017-08-16, Juan Guillermo Narvaez wrote: > *match out on bge0 inet from 172.21.0.0/19 to any > nat-to 200.91.35.55* natting a whole /19 to a single address, especially with the default port range 50001-65535, isn't going to work well. I'd suggest