Improve ure(4) performance

2020-07-20 Thread Kevin Lo
Hi, Jonathon Fletcher has been helping get the better performance out of ure(4). I ran the tcpbench with ure (RTL8156) for 5 minutes: 71538432760 bytes sent over 300.999 seconds bandwidth min/avg/max/std-dev = 12.071/1901.448/1947.873/135.283 Mbps A big thanks to Jonathon for his hard work. ok?

Re: iked.conf.5: provide gre example

2020-07-20 Thread Klemens Nanni
On Thu, Jul 16, 2020 at 03:02:25PM +0200, Klemens Nanni wrote: > On Thu, Jul 16, 2020 at 10:23:20AM +0100, Stuart Henderson wrote: > > On 2020/07/15 10:02, Theo de Raadt wrote: > > > It is extremely unwise to use DNS names at this level (or things which > > > look like DNS names). The same problem

Re: ftpd: ignore -l in LIST path

2020-07-20 Thread Brian Brombacher
> On Jul 18, 2020, at 8:16 PM, Brian Brombacher wrote: > > Hello, > > Below is a patch that repairs ftpd LIST operation for at least Chrome browser. > Discard the patch if the intention is to make clients change behavior. A bug > report has already been filed with the browser. Edge browser

Re: pf: remove ptr_array from struct pf_ruleset

2020-07-20 Thread Klemens Nanni
On Mon, Jul 20, 2020 at 01:14:00PM +0200, Alexandr Nedvedicky wrote: > I took a closer look at your change and related area. Below is an alternate > way to fix the bug you've found. Thanks for bringing it up again, I forgot to reply earlier. > there are few details worth to note: > > ptr_arr

Re: Use VGA text mode palette RGB values in rasops(9)

2020-07-20 Thread Frederic Cambus
On Wed, Jul 15, 2020 at 10:26:12AM -0600, Theo de Raadt wrote: > > So here is a new iteration taking feedback into account, using the > > #if WS_DEFAULT_BG == WSCOL_WHITE check for clarity, and also switching > > the foreground color of printed kernel messages to light cyan to improve > > contrast

Allow the WSDISPLAYIO_GETSCREENTYPE ioctl on tty*cfg

2020-07-20 Thread Frederic Cambus
Hi tech@, Here is a diff to allow the WSDISPLAYIO_GETSCREENTYPE ioctl on the tty*cfg device, passing it back to tty*0. I need this to restore working defaults in wsfontload(8). Comments? OK? Index: sys/dev/wscons/wsdisplay.c === RC

Re: switch default MANPAGER from more(1) to less(1)

2020-07-20 Thread Ingo Schwarze
Hi, ropers wrote on Mon, Jul 20, 2020 at 05:54:46AM +0100: > Ah, I see where you're coming from, Ingo. You've dropped the idea of > testing for less(1) in non-portable mandoc because we know less(1) is > in base.[1] Configuration testing is never needed in a base system. It may sometimes linge

nsd 4.3.2

2020-07-20 Thread Florian Obser
Tests, OKs? diff --git doc/ChangeLog doc/ChangeLog index 09ea79bafd3..ba80174afdf 100644 --- doc/ChangeLog +++ doc/ChangeLog @@ -1,3 +1,69 @@ +7 July 2020: Wouter + - Tag for 4.3.2rc1. + +6 July 2020: Wouter + - Fix compile includes for xfr-inspect tool on FreeBSD. + - Add tpkg/r

Re: pfctl.8: mention hostid and checksum for -s info

2020-07-20 Thread Alexandr Nedvedicky
Hello, On Mon, Jul 20, 2020 at 03:23:41PM +0200, Klemens Nanni wrote: > Getting the checksum with pfctl(8) is either in your finger's muscle > memory or takes guess work as the manual doesn't mention it. > > I grepped the code to see that I need `-s info' with `-v'. > > (Setting) hostid is desc

pfctl.8: mention hostid and checksum for -s info

2020-07-20 Thread Klemens Nanni
Getting the checksum with pfctl(8) is either in your finger's muscle memory or takes guess work as the manual doesn't mention it. I grepped the code to see that I need `-s info' with `-v'. (Setting) hostid is described in pf.conf(5) but pfctl(8) doesn't tell us how to print it, there's merely an

Re: wsfontload(8): display number of characters in a loaded font

2020-07-20 Thread Frederic Cambus
On Fri, Jul 17, 2020 at 11:04:07AM +0100, Stuart Henderson wrote: > Seems useful. While it's not especially likely anyone is parsing the output > of this, just in case they are it's usually more admin-friendly to add a new > column at the end unless there's a good reason not to. Good point, here i

Re: pf: remove ptr_array from struct pf_ruleset

2020-07-20 Thread Alexandr Nedvedicky
Hello Klemens. I took a closer look at your change and related area. Below is an alternate way to fix the bug you've found. there are few details worth to note: ptr_array matters to main ruleset only, because it is the only ruleset covered by MD5 sum for pfsync. it looks like we s

Re: iwn: fix off-by-one in antenna calibration for iwn5000

2020-07-20 Thread Stefan Sperling
On Fri, Jul 17, 2020 at 12:50:04PM +0200, Holger Mikolon wrote: > I came across this by reading the code if_iwn.c and DPRINTFs on > a kernel with IWN_DEBUG. > > IWN_LSB() returns an index starting with 1, however the arrays used > later on (noise and gain in iwn5000_set_gains()) start with 0. The