Re: azalia: use HDMI as second fallback

2023-10-29 Thread Peter Hessler
Yes please! On 2023 Oct 29 (Sun) at 14:55:09 +0100 (+0100), Christopher Zimmermann wrote: :Hi, : :for me azalia HDMI audio playback works fine. According to [1] it had or :still has problems. For machines where the default audio should not be :(possibly broken) rsnd/0, but rsnd/1 this can be conf

Re: Replace selwakeup() with knote(9) in wscons(4) and make filterops mpsafe

2023-09-07 Thread Peter Hessler
On 2023 Jul 11 (Tue) at 16:40:32 +0300 (+0300), Vitaliy Makkoveev wrote: :Use per 'wseventvar' structure `mtx' mutex(9) to protect `put' and `get' :circular buffer indexes together with klist data. Not a big deal, but :Xorg will not kernel lock while polling keyboard and mouse events. Also :removed

Re: vmd/vmm: remove an ioctl from the vcpu hotpath, go brrr

2023-09-02 Thread Peter Hessler
I just upgraded to -current and didn't have this patch in for a little bit, and woof that was super noticable. Still works for my big VM host. OK On 2023 Sep 01 (Fri) at 15:50:31 -0400 (-0400), Dave Voutila wrote: :Now that my i8259 fix is in, it's safe to expand the testing pool for :this diff

Re: request_sleep: new machine independent sleep api

2023-07-08 Thread Peter Hessler
On 2023 Jul 08 (Sat) at 13:09:00 +0300 (+0300), Tobias Heider wrote: : : :On July 8, 2023 11:36:21 AM GMT+03:00, Mark Kettenis wrote: :>> Date: Sat, 8 Jul 2023 10:10:51 +0200 :>> From: Tobias Heider :>> :>> This diff adds request_sleep(), a MI way of sending the machine to sleep in a :>> safe

Re: ifconfig: SIOCSIFFLAGS: device not configured

2023-05-12 Thread Peter Hessler
On 2023 May 12 (Fri) at 16:21:10 +0200 (+0200), Jan Klemkow wrote: :On Thu, May 11, 2023 at 09:17:37PM +0200, Hrvoje Popovski wrote: :> ifconfig: SIOCSTRUNKPORT: Device busy :> ifconfig: SIOCSTRUNKPORT: Device busy :> :> to change :> ifconfig ix0: SIOCSTRUNKPORT: Device busy :> ifconfig ix1: SIOCS

Re: cron: better error checking of random values

2023-05-05 Thread Peter Hessler
On 2023 May 05 (Fri) at 16:13:01 +1000 (+1000), Mark Jamsek wrote: :On 23-05-04 05:40PM, Todd C. Miller wrote: :> On Thu, 04 May 2023 21:41:26 -, Klemens Nanni wrote: :> :> > On Thu, May 04, 2023 at 03:30:30PM -0600, Todd C. Miller wrote: :> > > This fixes two issues with the parsing of random

Re: Fix level-triggered ACPI GPIO interrupts on amd64

2023-01-05 Thread Peter Hessler
This was committed on Oct 20, and was shipped in OpenBSD 7.2. On 2023 Jan 05 (Thu) at 14:15:26 +0100 (+0100), Matthias Schmidt wrote: :Hi, : :did anyone else on the list had the chance to test this patch? It :really improved the touchpad hangs here. : :Cheers : : Matthias : :* Mark Ketteni

Re: [patch] CPU frequency scheduler change proposal

2022-03-20 Thread Peter Hessler
On 2022 Mar 20 (Sun) at 18:13:20 + (+), Stuart Henderson wrote: :On 2022/03/20 18:13, Solene Rapenne wrote: :> I'm proposing a very simple change to the automatic policy of the CPU :> frequency scheduler. :> :> Currently, every 100ms the scheduler is doing this: :> :> - when the CPU load

Re: initial iwx(4) 11ac patch for testing

2022-03-10 Thread Peter Hessler
On 2022 Mar 10 (Thu) at 12:35:20 +0100 (+0100), Stefan Sperling wrote: :On Thu, Mar 10, 2022 at 12:25:17PM +0100, Stefan Sperling wrote: :> Unless anyone else finds a problem, this patch can be considered ready :> for review and commit. : :Of course, I forgot to apply my sysassert fix to the second

Re: vport: set UP on ip assign

2021-11-15 Thread Peter Hessler
On 2021 Nov 15 (Mon) at 13:58:08 +0100 (+0100), Claudio Jeker wrote: :On Mon, Nov 15, 2021 at 12:23:02PM +, Klemens Nanni wrote: ... :Sure people got used to this mode. I agree with dlg@ that the way that :this auto interface up happens is rather horrible from a network stack :view. Also it mak

audio devices for armv7

2021-05-24 Thread Peter Hessler
After the recent uaudio dma fixes, I tried out audio playing on my armv7 system. Tested on the built-in audio port on hw.product=Tinker-RK3288, sounds fine. OK? (N.B. 'twrget' is not a typo, even if it looks like one) Index: etc/etc.armv7/MAKEDEV.md

Re: iwm(4) A-MSDU support

2021-03-30 Thread Peter Hessler
On 2021 Mar 30 (Tue) at 20:22:09 +0200 (+0200), Stefan Sperling wrote: :On Tue, Mar 30, 2021 at 07:36:28PM +0200, Peter Hessler wrote: :> Been running this for about 24 hours on my x395, seems to be good. :> :> Had only one stuck wifi when first trying it, but I was also stuck on a

Re: iwm(4) A-MSDU support

2021-03-30 Thread Peter Hessler
On 2021 Mar 29 (Mon) at 19:27:15 +0200 (+0200), Stefan Sperling wrote: :This patch attempts to add support for receiving A-MSDUs to iwm(4). :If you are using iwm(4) then please run with this patch and let me :know if it causes regressions. Thanks! : :ACHTUNG: This patch breaks iwx(4)! Don't use it

Re: slimblade support

2021-01-09 Thread Peter Hessler
On 2021 Jan 09 (Sat) at 07:00:29 -0700 (-0700), Thomas Frohwein wrote: :On Sat, Nov 21, 2020 at 08:10:03AM +0200, Timo Myyrä wrote: :> Hi, :> :> The last attempt at adding Kensington Slimblade trackball support seems :> to have stalled: :> https://marc.info/?l=openbsd-tech&m=147444999319756&w=2 :>

Re: net80211: fix announced RSN (WPA2) capabilities

2020-12-07 Thread Peter Hessler
Looks good, no regression for my AP at home. OK On 2020 Dec 07 (Mon) at 22:55:29 +0100 (+0100), Stefan Sperling wrote: :When announcing RSN (WPA2) capabilities in management frames such as :association requests, we currently echo back all RSN (i.e. WPA2) :capabilities which were announced by our

Re: net80211: Use a BA agreement for rx immediately

2020-12-07 Thread Peter Hessler
On 2020 Dec 07 (Mon) at 16:41:33 +0100 (+0100), Stefan Sperling wrote: :On Mon, Dec 07, 2020 at 03:49:20PM +0100, Tobias Heider wrote: :> On Mon, Dec 07, 2020 at 02:33:10PM +0100, Stefan Sperling wrote: :> > On Mon, Dec 07, 2020 at 01:31:09PM +0100, Tobias Heider wrote: :> > > Some APs request a BA

Re: iwm(4): decoding of multiple MPDUs in one receive packet

2020-12-07 Thread Peter Hessler
OK On 2020 Dec 07 (Mon) at 10:28:59 +0100 (+0100), Tobias Heider wrote: :Hi, : :In iwm_rx_pkt() the calculation of "remain" seems to be wrong if :there are three or more MPDUs in one packet. :"remain" is initialized with the output buffer size. :Each time an MPDU is found in the packet remain is r

Re: net80211: Better gapwait accounting

2020-12-07 Thread Peter Hessler
On 2020 Dec 07 (Mon) at 15:02:14 +0100 (+0100), Stefan Sperling wrote: :On Mon, Dec 07, 2020 at 02:36:05PM +0100, Tobias Heider wrote: :> Hi, :> :> our net80211 gapwait accounting implementation seems to have several :> problems: :> - If we lose packets with serial numbers 0 und 2 but receive the

Re: Call uvm_grow() on armv7

2020-09-25 Thread Peter Hessler
On 2020 Sep 25 (Fri) at 14:51:01 +0200 (+0200), Mark Kettenis wrote: :> Date: Fri, 25 Sep 2020 14:38:23 +0200 :> From: Peter Hessler :> :> After Mark noticed that arm64 didn't have it, I checked armv7 and it :> also doesn't have it. :> :> Successfully test

Call uvm_grow() on armv7

2020-09-25 Thread Peter Hessler
After Mark noticed that arm64 didn't have it, I checked armv7 and it also doesn't have it. Successfully tested on a Tinker-RK3288 OK? Index: sys/arch/arm/arm/fault.c === RCS file: /home/cvs/openbsd/src/sys/arch/arm/arm/fault.c,v re

Re: apply changes immediately to join'd essids

2020-01-14 Thread Peter Hessler
On 2020 Jan 14 (Tue) at 13:11:57 +0100 (+0100), Stefan Sperling wrote: :On Mon, Jan 13, 2020 at 10:38:35PM +0100, Peter Hessler wrote: :> On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: :> :When we change attributes for a join essid, we should apply the change :> :im

Re: apply changes immediately to join'd essids

2020-01-14 Thread Peter Hessler
On 2020 Jan 12 (Sun) at 21:39:19 +0100 (+0100), Peter Hessler wrote: :When we change attributes for a join essid, we should apply the change :immediately instead of waiting to (randomly) switch away and switch :back. And if we are connected to an AP, remove the node from the cache so we can

apply changes immediately to join'd essids

2020-01-12 Thread Peter Hessler
When we change attributes for a join essid, we should apply the change immediately instead of waiting to (randomly) switch away and switch back. Found by martijn@ OK? Index: net80211/ieee80211_ioctl.c === RCS file: /home/cvs/openbs

Re: increase IEEE80211_CACHE_SIZE

2019-12-28 Thread Peter Hessler
OK On 2019 Dec 28 (Sat) at 14:27:01 +0100 (+0100), Stefan Sperling wrote: :The number of entries in the node cache is currently capped to 100. : :This limit is outdated. Modern hardware like iwm(4) 8265 supports 46 :distinct channels (1-13, 36-165) each of which can host multiple APs. : :The limi

Re: bfd: respond to poll sequence from peer

2019-06-05 Thread Peter Hessler
Hi Mitchell Thanks a lot for the work you are putting into BFD, I'll be able to review this properly over the weekend. -peter On 2019 Jun 03 (Mon) at 20:37:17 +1000 (+1000), Mitchell Krome wrote: :Hi, : :Testing bfd against frr on linux, their bfd implementation sends polls :as soon as the sess

Re: ifmedia_ioctl: ignore ENETRESET from ifm_change()

2019-04-24 Thread Peter Hessler
On 2019 Apr 24 (Wed) at 22:50:58 +1000 (+1000), Jonathan Matthew wrote: :On Wed, Apr 24, 2019 at 12:21:47PM +0200, Stefan Sperling wrote: :> On Sun, Apr 21, 2019 at 09:44:08PM +0800, Kevin Lo wrote: :> > On Sun, Apr 21, 2019 at 01:02:39PM +1000, Jonathan Matthew wrote: :> > > Currently we have some

Re: ksh "clear-screen" editing command

2019-04-02 Thread Peter Hessler
On 2019 Apr 01 (Mon) at 09:53:31 -0600 (-0600), Todd C. Miller wrote: :On Mon, 01 Apr 2019 16:52:34 +0200, Jeremie Courreges-Anglas wrote: : :> Since this went in, I'm using it on my machines instead of a bind -m hack. :> :> Can't we make ^L=clear-screen the default behavior? I don't see :> discus

Re: [4/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Peter Hessler
OK On 2019 Mar 22 (Fri) at 10:04:37 +0100 (+0100), Paul de Weerd wrote: :Index: GENERIC :=== :RCS file: /home/OpenBSD/cvs/src/sys/arch/amd64/conf/GENERIC,v :retrieving revision 1.466 :diff -u -p -r1.466 GENERIC :--- GENERIC19 Jan

Re: [3/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Peter Hessler
OK On 2019 Mar 22 (Fri) at 10:04:19 +0100 (+0100), Paul de Weerd wrote: : :Index: share/man/man4/umbg.4 :=== :RCS file: /home/OpenBSD/cvs/src/share/man/man4/umbg.4,v :retrieving revision 1.4 :diff -u -p -r1.4 umbg.4 :--- share/man/ma

Re: [1/4] Re: Add support for Meinberg DCF600USB to umbg(4)

2019-03-22 Thread Peter Hessler
OK On 2019 Mar 22 (Fri) at 10:03:26 +0100 (+0100), Paul de Weerd wrote: : :Index: usbdevs :=== :RCS file: /home/OpenBSD/cvs/src/sys/dev/usb/usbdevs,v :retrieving revision 1.695 :diff -u -p -r1.695 usbdevs :--- usbdevs24 Feb 2019

Re: xhci: set chain bit in link TRBs

2019-02-21 Thread Peter Hessler
On 2019 Feb 21 (Thu) at 16:19:22 +0100 (+0100), Patrick Wildt wrote: :On Thu, Feb 21, 2019 at 03:56:57PM +0100, Stefan Sperling wrote: :> On Thu, Feb 21, 2019 at 10:50:40AM +0100, Patrick Wildt wrote: :> > Hi, :> > :> > on my i.MX8M machine which features a DWC3 xHCI 1.10 controller I have :> > se

Re: spelling correction

2019-02-10 Thread Peter Hessler
$ grep -c nonexistant /usr/share/dict/words 0 $ grep -c nonexistent /usr/share/dict/words 2 OK or if someone else wants to give me an OK I can commit this. On 2019 Feb 10 (Sun) at 11:13:04 -0500 (-0500), Pamela Mosiejczuk wrote: :Hi, :I noticed "non-existant" crop up in an error message and w

Re: pvclock(4)

2018-12-05 Thread Peter Hessler
On 2018 Dec 04 (Tue) at 15:14:51 +0100 (+0100), Reyk Floeter wrote: :On Tue, Dec 04, 2018 at 05:43:48AM -0800, Chris Cappuccio wrote: :> Of course printf instead of panic for testers :> : :Oh, right, thanks! : :@john: Does this "slightly less simple" diff work for you? : :@phessler, Chris: Maybe

Re: pvclock(4)

2018-12-04 Thread Peter Hessler
On 2018 Dec 03 (Mon) at 16:56:10 -0800 (-0800), Chris Cappuccio wrote: :Reyk Floeter [r...@openbsd.org] wrote: :> :> Yes, KVM???s stable bit is not a reliable indication as it is seems to depend on the capabilities of the KVM version and not the actual availability of the feature on the particula

Re: Add acpipci(4) on amd64

2018-10-23 Thread Peter Hessler
On 2018 Oct 22 (Mon) at 21:45:06 +0200 (+0200), Mark Kettenis wrote: :Diff below adds an acpipci(4) driver on amd64. For now the main :purpose of this driver is to make the PCI-specific _OSC calls to :advertise the functionality we support. Most notably this advertises :support for PCIE native ho

Re: slaacd(8): moving between networks

2018-07-22 Thread Peter Hessler
On 2018 Jul 22 (Sun) at 18:19:01 +0200 (+0200), Florian Obser wrote: :When one is connected to a network, suspends or hibernates, moves to a :different network and wakes up one ends up with ip addresses from both :networks and things probably go sideways. There is a good chance that :source address

Re: rc(8): don't hide failures from route6d & rtadvd

2018-07-11 Thread Peter Hessler
net.inet6.ip6.forwarding=0 OK(failed) On 2018 Jul 11 (Wed) at 09:58:18 +0200 (+0200), Florian Obser wrote: :at least rtadvd has it's own check and failes to start if forwarding :is not enabled, not sure what route6d is doing. : :rc(8) should not silently hide errors. : :OK? : :diff --git etc/rc e

Re: bgpd softreconf in optimisation

2018-07-04 Thread Peter Hessler
yes please! OK On 2018 Jul 03 (Tue) at 22:37:29 +0200 (+0200), Claudio Jeker wrote: :There is no need to run against both input filters. :path_update() and prefix_remove() are both smart enough to handle all :cases (similar to a regular update). Should make reloads a bit faster. : :More precise

Re: slaacd(8) handle RTM_DELETE of default route

2018-05-17 Thread Peter Hessler
Running this for a little bit, done a bunch of lladdr random tests, as well as suspend resume tests (which I've added lladdr random on resume). This fixes the issues I'm seeing, OK. On 2018 May 17 (Thu) at 14:25:44 +0200 (+0200), Florian Obser wrote: :Peter points out that I never got around to

Re: 5GHz AP RSSI measurement problem

2018-05-02 Thread Peter Hessler
On 2018 Apr 30 (Mon) at 10:55:22 +0200 (+0200), Stefan Sperling wrote: :Setting aside concerns about my lack of understanding of the underlying :reason for this behaviour, the hack below is sufficient to make this AP :show up as a strong contender in the candidate list and be preferred :over 2GHz a

Re: rssi comparison threshold

2018-05-01 Thread Peter Hessler
On 2018 May 01 (Tue) at 11:20:54 +0200 (+0200), Stefan Sperling wrote: :On Mon, Apr 30, 2018 at 08:57:23AM +0200, Peter Hessler wrote: :> On 2018 Apr 29 (Sun) at 11:51:26 +0200 (+0200), Stefan Sperling wrote: :> :This diff tries to avoid situations where background scans play :> :ping-pon

Re: rssi comparison threshold

2018-04-29 Thread Peter Hessler
On 2018 Apr 29 (Sun) at 11:51:26 +0200 (+0200), Stefan Sperling wrote: :This diff tries to avoid situations where background scans play :ping-pong between different APs with nearly equal RSSI, as :observed by phessler. : :Not all drivers represent RSSI values in dBm or percentage, so the :diff incl

free all nodes and set linkstate to down when entering the SCAN state for all drivers

2018-04-28 Thread Peter Hessler
Some drivers use their own functions to change the link state for a non-background scan, so ensure that they set the link state to down, and free all nodes. This is a follow up to stsp@'s ieee80211.c:r1.68. (N.B. the atu driver already calls ieee80211_free_allnodes in this case statement, but out

Re: net80211: fix WEP

2018-04-27 Thread Peter Hessler
On 2018 Apr 27 (Fri) at 17:45:44 +0300 (+0300), Paul Irofti wrote: :On Fri, Apr 27, 2018 at 04:30:50PM +0200, Stefan Sperling wrote: :> We just found out that WEP has been broken since August 2017. :> Apparently not many people noticed. The commit which broke :> it was: :> :> [[[ :> CVSROOT: /

Re: net80211: fix WEP

2018-04-27 Thread Peter Hessler
Verified it fixes WEP. OK On 2018 Apr 27 (Fri) at 16:30:50 +0200 (+0200), Stefan Sperling wrote: :We just found out that WEP has been broken since August 2017. :Apparently not many people noticed. The commit which broke :it was: : :[[[ :CVSROOT: /cvs :Module name: src :Changes

Re: RTM_CHGADDRATTR

2018-04-25 Thread Peter Hessler
On 2018 Apr 18 (Wed) at 19:49:41 +0200 (+0200), Florian Obser wrote: :On Wed, Apr 18, 2018 at 05:05:59PM +0200, Florian Obser wrote: :> This is to inform userland (i.e. slaacd(8)) when duplicate address :> detection finishes. :> :> Not a big fan of the lock/unlock dance but I guess it can't be hel

Re: ifconfig,route,netstat: s/tableid/rtable/ for consistency

2018-04-12 Thread Peter Hessler
On 2018 Apr 11 (Wed) at 23:01:45 +0200 (+0200), Klemens Nanni wrote: :On Wed, Apr 11, 2018 at 09:28:03AM +0200, Peter Hessler wrote: :> No, all of these uses are correct as-is. :`tableid' surely isn't wrong, but using the argument name across manuals :seems nicer to me. : No, they

Re: ifconfig,route,netstat: s/tableid/rtable/ for consistency

2018-04-11 Thread Peter Hessler
No, all of these uses are correct as-is. On 2018 Apr 10 (Tue) at 23:23:24 +0200 (+0200), Klemens Nanni wrote: :Several tools may operate on specific routing tables (or routing domains :in special cases). : :With the exception of `tableid' in ifconfig(8), route(8) and netstat(1), :all other manual

Re: correctly calculate RFC7217 based IPv6 address

2018-03-13 Thread Peter Hessler
On 2018 Mar 13 (Tue) at 12:41:17 +0100 (+0100), Florian Obser wrote: :(sending this to tech@ so that more people see this) : :semarie@ pointed out on bugs@ ( :https://marc.info/?l=openbsd-bugs&m=152084960013726&w=2 ) that his :RFC7217 IPv6 address changed after an upgrade. Of course it should not.

Re: slaacd(8): RFC 7136

2018-03-07 Thread Peter Hessler
yup, makes sense. OK On 2018 Mar 07 (Wed) at 18:29:07 +0100 (+0100), Florian Obser wrote: :RFC 7136 clarifies that the "u" and "g" bits are only significant when :IPv6 unicast interface identifiers are derived from IEEE link-layer :addresses. In all other cases the interface identifier should be

Re: armv7 ABI fix

2018-02-27 Thread Peter Hessler
On 2018 Feb 27 (Tue) at 22:04:15 +0100 (+0100), Mark Kettenis wrote: :The "new" AAPCS-based ABI that we have been using on armv7 for a while :now requires various 64-bit types to be aligned on an 8-byte boundary. :Unfortunately we didn't realize this when we switched and didn't :adjust the definiti

vmctl show

2018-02-10 Thread Peter Hessler
My fingers have typed "vmctl show" instead of "vmctl status" for over a year now, so add it as an alias. OK? Index: main.c === RCS file: /cvs/openbsd/src/usr.sbin/vmctl/main.c,v retrieving revision 1.34 diff -u -p -u -p -r1.34 main.

Re: switch armv7 to clang

2018-01-18 Thread Peter Hessler
On 2018 Jan 18 (Thu) at 19:08:17 +0100 (+0100), Mark Kettenis wrote: :I think we are ready to switch. The procedure is the same as with :previous switches. Here is the corresponding ports diff: Index: infrastructure/mk/arch-defines.mk =

Re: restrict carp use to ethernet interfaces

2018-01-11 Thread Peter Hessler
On 2018 Jan 11 (Thu) at 11:51:25 +0100 (+0100), Peter Hessler wrote: :On 2018 Jan 11 (Thu) at 20:41:19 +1000 (+1000), David Gwynne wrote: ::vlan and trunk are definitely ethernet interfaces. :: : :Is there anything in OpenBSD that isn't an ethernet inteface? : based on a simplistic grep:

Re: restrict carp use to ethernet interfaces

2018-01-11 Thread Peter Hessler
On 2018 Jan 11 (Thu) at 20:41:19 +1000 (+1000), David Gwynne wrote: :vlan and trunk are definitely ethernet interfaces. : Is there anything in OpenBSD that isn't an ethernet inteface? -- It is impossible to travel faster than light, and certainly not desirable, as one's hat keeps blowing off.

Re: Add reset option to boot command of ddb(4)

2017-12-14 Thread Peter Hessler
On 2017 Dec 14 (Thu) at 11:49:18 +0100 (+0100), Martin Pieuchot wrote: :On 14/12/17(Thu) 11:30, Mark Kettenis wrote: :> > X-Originating-IP: 88.153.7.170 :> > Date: Thu, 14 Dec 2017 10:30:21 +0100 :> > From: Martin Pieuchot :> > :> > On 13/12/17(Wed) 19:09, Florian Riehm wrote: :> > > Hi, :> > >

Re: relayd/ctl alternative control socket

2017-11-29 Thread Peter Hessler
bgpd uses that way *because* it can use an alternate socket. Being able to specify a different socket for daemon/client is pretty helpful. On 2017 Nov 28 (Tue) at 16:06:51 +0100 (+0100), Sebastian benoit wrote: :Hi, : :your diff looks good, but i would rather do it the way bgpd/bgpctl do it: : :

Re: hide wpakey from root by default

2017-11-27 Thread Peter Hessler
On 2017 Nov 27 (Mon) at 16:27:57 +0100 (+0100), Stefan Sperling wrote: :On Mon, Nov 27, 2017 at 11:22:46AM +0100, Peter Hessler wrote: :> This hides the username that is used, not the password/authkey. Is the :> username private information? : :Yes it seems best to avoid exposing thes

Re: hide wpakey from root by default

2017-11-27 Thread Peter Hessler
On 2017 Nov 27 (Mon) at 02:33:59 +0100 (+0100), Stefan Sperling wrote: :On Mon, Nov 27, 2017 at 01:31:17AM +0100, Stefan Sperling wrote: :> On Sun, Nov 26, 2017 at 06:17:14PM +0100, Jeremie Courreges-Anglas wrote: :> > :> > I don't think anything has been committed regarding this issue, right? :>

Re: macppc: default to MBR for new installs

2017-11-23 Thread Peter Hessler
OK On 2017 Nov 22 (Wed) at 23:20:46 +0100 (+0100), Stefan Sperling wrote: :This flips the default response for the macppc disk layout question :from HFS to MBR. : :I use an MBR on all my macppc machines. Booting OpenBSD is much simpler :this way. I don't see why I cannot just hit enter for this qu

ieee80211: disable wpa/wep when changing nwid

2017-11-05 Thread Peter Hessler
Changing nwid on a wifi network means it is a new network. By definition the WPA crypto keys use the nwid as part of the crypto hash. And it is super unlikely that a differently named network will have the same WEP key. In that case, you can enter it again. With this, when you change wifi netwo

Re: forbid config reloads in ospf6d

2017-11-05 Thread Peter Hessler
OK On 2017 Nov 05 (Sun) at 15:50:42 +0100 (+0100), Jeremie Courreges-Anglas wrote: : :ospf6d consistently fails when I ask it to reload its config, even :though I have a very basic test setup: : :area 0.0.0.0 { :interface em0 { passive } :interface vether0 :} : :Fixing ospf6d does

Re: add one more softnet taskq

2017-10-31 Thread Peter Hessler
reads fine, and works for me in light testing. OK phessler@ On 2017 Oct 30 (Mon) at 08:36:34 +0100 (+0100), Alexandr Nedvedicky wrote: :Hello, : :patch below adds additional softnet taskq. This will allow certain degree of :parallelism for packet processing in pf_test(). The current plan is to l

Re: add one more softnet taskq

2017-10-30 Thread Peter Hessler
On 2017 Oct 30 (Mon) at 08:36:34 +0100 (+0100), Alexandr Nedvedicky wrote: :Hello, : :patch below adds additional softnet taskq. This will allow certain degree of :parallelism for packet processing in pf_test(). The current plan is to let :packets received by even NICs (even ifindex) to be processe

Re: preliminary kabylake support for inteldrm

2017-09-27 Thread Peter Hessler
On 2017 Sep 27 (Wed) at 00:07:42 +0200 (+0200), Robert Nagy wrote: : :Hi : :This is an updated diff for preliminary kabylake support for 6.2, :this needs extensive testing on all inteldrm variants. : :This diff is also in snapshots now so please, test, test test! : :Thank you : Works fine on an i3

Re: have netstart handle tap interfaces as well as tun

2017-09-19 Thread Peter Hessler
OK On 2017 Sep 19 (Tue) at 16:54:04 +1000 (+1000), David Gwynne wrote: :this helsp if you want to have a tap interface joined to a bridge :on boot. : :ok? : :Index: netstart :=== :RCS file: /cvs/src/etc/netstart,v :retrieving revision

teach wsconsctl about efifb

2017-09-02 Thread Peter Hessler
on a laptop with a simplefb[1] display, wsconsctl shows display.type=unknown_71. With the below patch, it shows display.type=efifb I checked the other values, and it was the only missing display type. [1] simplefb claims to be WSDISPLAY_TYPE_EFIFB OK? Index: sbin/wsconsctl/util.c ==

Re: [phess...@openbsd.org: add pinebook support to u-boot]

2017-08-31 Thread Peter Hessler
On 2017 Aug 31 (Thu) at 19:16:57 +1000 (+1000), Jonathan Gray wrote: :On Thu, Aug 31, 2017 at 10:59:20AM +0200, Peter Hessler wrote: :> On 2017 Aug 31 (Thu) at 10:41:41 +0200 (+0200), Peter Hessler wrote: :> :On 2017 Aug 27 (Sun) at 22:15:46 +0200 (+0200), Peter Hessler wrote: :> ::-

Re: [phess...@openbsd.org: add pinebook support to u-boot]

2017-08-31 Thread Peter Hessler
On 2017 Aug 31 (Thu) at 10:41:41 +0200 (+0200), Peter Hessler wrote: :On 2017 Aug 27 (Sun) at 22:15:46 +0200 (+0200), Peter Hessler wrote: ::- Forwarded message from Peter Hessler - ::taken from Icenowy Zheng's repository, ::commit bd656cab0c3e0669e977641c15095f32d7b0731f :: ::This

Re: [phess...@openbsd.org: add pinebook support to u-boot]

2017-08-31 Thread Peter Hessler
On 2017 Aug 27 (Sun) at 22:15:46 +0200 (+0200), Peter Hessler wrote: :- Forwarded message from Peter Hessler - :taken from Icenowy Zheng's repository, :commit bd656cab0c3e0669e977641c15095f32d7b0731f : :This gives us basic support for the Pine64 Pinebook : :OK? : :$ sysctl hw :hw.ma

Re: include pinebook firmware in the install media

2017-08-31 Thread Peter Hessler
On 2017 Aug 27 (Sun) at 21:54:07 +0200 (+0200), Peter Hessler wrote: :(this depends on the patch to u-boot I just sent to ports@) : :If we should manage to boot on a Pinebook machine, we should install the :correct firmware for it. : :OK? : Updated to a now working copy! This grew bsd.rd a bit

Re: [phess...@openbsd.org: add pinebook support to u-boot]

2017-08-27 Thread Peter Hessler
On 2017 Aug 27 (Sun) at 22:30:37 +0200 (+0200), Mark Kettenis wrote: :> Date: Sun, 27 Aug 2017 22:15:46 +0200 :> From: Peter Hessler :> :> This gives us basic support for the Pine64 Pinebook :> :> OK? :> :> $ sysctl hw :> hw.machine=arm64 :> hw.model=AR

[phess...@openbsd.org: add pinebook support to u-boot]

2017-08-27 Thread Peter Hessler
- Forwarded message from Peter Hessler - taken from Icenowy Zheng's repository, commit bd656cab0c3e0669e977641c15095f32d7b0731f This gives us basic support for the Pine64 Pinebook OK? $ sysctl hw hw.machine=arm64 hw.model=ARM Cortex-A53 r0p4 hw.ncpu=1 hw.byteorder=1234 hw.pagesize

include pinebook firmware in the install media

2017-08-27 Thread Peter Hessler
(this depends on the patch to u-boot I just sent to ports@) If we should manage to boot on a Pinebook machine, we should install the correct firmware for it. OK? Index: distrib/arm64/ramdisk/Makefile === RCS file: /cvs/openbsd/src/d

Re: show ASN details in bgplg(8)

2017-08-09 Thread Peter Hessler
Sorry for the delay. I just committed this, thanks! On 2017 Jul 19 (Wed) at 21:40:09 +0200 (+0200), Denis Fondras wrote: :Hi, : :I can be useful to display details about an ASN from the looking-glass. : :rt-grav-01.liopen.net> show ip bgp detail as 199881 : :BGP routing table entry for 2a00:6060

Re: [PATCH 2/3] openbgpd: Add support for 'unknown' well-known communities

2017-06-25 Thread Peter Hessler
On 2017 Jun 23 (Fri) at 16:01:58 +0200 (+0200), Job Snijders wrote: :Dear team, : :This patch makes 'unknown' well-known communities more of a first-class :citizen. : :A powerful property of well-known communities is that (often) operators :can implement the feature associated with a given well-kno

Re: [PATCH 3/3] openbgpd: Add well-known community GRACEFUL_SHUTDOWN

2017-06-25 Thread Peter Hessler
OK On 2017 Jun 23 (Fri) at 16:02:13 +0200 (+0200), Job Snijders wrote: :Dear team, : :This patch adds support for the "graceful shutdown" well-known :community as described in draft-ietf-grow-bgp-gshut. : :An example implementation would be to add the following to your :bgpd.conf: : :match fro

Re: [PATCH 1/3] openbgpd: Allow localpref of zero

2017-06-25 Thread Peter Hessler
OK On 2017 Jun 23 (Fri) at 16:01:16 +0200 (+0200), Job Snijders wrote: :Dear team, : :The lowest valid BGP LOCAL_PREF is 0, allowing bgpd to set 0 too will :accomodate interopability. : :Kind regards, : :Job : :--- a/usr.sbin/bgpd/parse.y :+++ b/usr.sbin/bgpd/parse.y :@@ -1988,7 +1988,7 @@ filter_

Re: tcpdump: enable some more bgp info

2017-05-30 Thread Peter Hessler
On 2017 May 30 (Tue) at 10:21:17 +0200 (+0200), Michal Mazurek wrote: :On 12:15:06, 29.05.17, Job Snijders wrote: :> perhaps add a comment like /* RFC 6608 */ above the below: : :Right, it will make it more consistent. : :> > +static const char *bgpnotify_minor_fsm[] = { :> > + NULL, "In OpenSent

Re: bgpd on other rdomains

2017-05-28 Thread Peter Hessler
looks fine to me, OK On 2017 May 28 (Sun) at 19:12:34 +0200 (+0200), Sebastian Benoit wrote: :Hi, : :testing hennigs diff i found having to specify the socket on the command :line annoying: : : bgpctl -s /var/run/rdomain123.bgpd.sock sh rib : :srly? : :I figure when you are debuging things in rd

Re: Throttle bgpd's RDE if the client is slow

2017-05-27 Thread Peter Hessler
This improves our AMS-IX border router (200 configured sessions, plus Route Servers) starting performance. >From 45 minutes to bring everyone up, to 3 minutes, and bgpctl stays acceptably responsive during the thundering herd. Memory pressure is also far more relaxed. OK On 2017 May 26 (Fri) a

[bgpd] enforce local-as no

2017-05-27 Thread Peter Hessler
Allow us to receive our own AS paths from a neighbor. Like several of the related diffs, this also invites dragons and grues into your network. Probably needs the most love in the man page, as usual ;). OK? Index: bgpd.conf.5 ===

[bgpd] local-as for use in filters

2017-05-27 Thread Peter Hessler
Right now, we have 'neighbor-as' that can be used as magic syntax sugar for filter rules. I want to have magic syntax sugar for 'local-as', which expands to our ASN. It already plays nicely with the local-as diff I sent, and can be committed in either order. match in from $neighbor set commu

Re: bgpd: local-as

2017-05-27 Thread Peter Hessler
On 2017 May 27 (Sat) at 11:05:30 +0200 (+0200), Peter Hessler wrote: :On 2016 Sep 26 (Mon) at 20:09:13 +0200 (+0200), Peter Hessler wrote: ::We already have a local AS saved per peer. Let's use it. This is very ::useful when one needs to change their local AS. :: ::" ::neighbor

Re: bgpd: local-as

2017-05-27 Thread Peter Hessler
On 2016 Sep 26 (Mon) at 20:09:13 +0200 (+0200), Peter Hessler wrote: :We already have a local AS saved per peer. Let's use it. This is very :useful when one needs to change their local AS. : :" :neighbor 192.0.2.1 { : remote-as 65530 : local-as 131000 :} :" : :OK? : U

Re: [bgpd] RFC 7607 Codification of AS 0 Processing

2017-05-26 Thread Peter Hessler
On 2017 May 26 (Fri) at 22:15:37 +0200 (+0200), Sebastian Benoit wrote: :diff is ok, but please consider this: : :i think we should limit the list to the features we support so :that users can check if a certain something should work or not. : :this is not a feature, this is a protocol clarificatio

Re: [bgpd] RFC 7607 Codification of AS 0 Processing

2017-05-26 Thread Peter Hessler
On 2017 May 26 (Fri) at 20:01:00 +0200 (+0200), Peter Hessler wrote: :Apropos of "I found it", I implemented support for RFC 7607. It's a :super short RFC, but basically it forbids use of AS 0 anywhere. : :OK? : : Fixed some denglish in an error message, mention the RFC in th

[bgpd] RFC 7607 Codification of AS 0 Processing

2017-05-26 Thread Peter Hessler
Apropos of "I found it", I implemented support for RFC 7607. It's a super short RFC, but basically it forbids use of AS 0 anywhere. OK? Index: parse.y === RCS file: /cvs/openbsd/src/usr.sbin/bgpd/parse.y,v retrieving revision 1.300

Re: OpenBGPd: expand rib list (updated for r1.295)

2017-05-26 Thread Peter Hessler
Also looks good to me, OK On 2017 Jan 20 (Fri) at 21:19:22 +0100 (+0100), Denis Fondras wrote: :Hello, : :Here is a patch to expand RIB names in rules. When playing with multi-RIBs, it :allows to simplify ruleset. : : Ex : :# cat /etc/bgpd.conf :[...] :peer_ribs = "{ m1, m2, m3 }" :deny rib m2 f

Re: [patch/openbgpd] make man example works

2017-05-26 Thread Peter Hessler
looks good to me, OK On 2017 May 21 (Sun) at 19:36:36 +0200 (+0200), Denis Fondras wrote: :Hi, : :bgpd.conf manual has an example with : : :good="{ 192.168.0.0/16, 172.16.0.0/12, 10.0.0.0/8 }" :bad="{ 224.0.0.0/4 prefixlen >= 4, 240.0.0.0/4 prefixlen >= 4 }" :ugly="{ 127.0.0.1/8, 169.254.0.0/16 }

Re: inteldrm: setup backlight pwm alternate increment on backlight enable

2017-02-10 Thread Peter Hessler
On 2017 Feb 10 (Fri) at 11:52:20 +1100 (+1100), Jonathan Gray wrote: :On Thu, Feb 09, 2017 at 06:39:13PM -0600, joshua stein wrote: :> I have no idea why there are chickens involved, but this fixes the :> problem on at least the MacBookAir7,1 (Broadwell) where upon S3 :> resume, the backlight value

preliminary diff to add BFD support to OpenBGPD

2017-01-25 Thread Peter Hessler
Here is the inital support for OpenBGPD to understand BFD messages. With this, when BFD detects failure, it sets the nexthop for that neighbor to Invalid. Conversely, when BFD sets the state to up, it removes that flag, setting the nexthop to Valid. # when BFD state to 203.0.113.9 is Up $ bgpct

Re: let bfd survive link-down

2017-01-23 Thread Peter Hessler
On 2017 Jan 24 (Tue) at 02:38:54 +0100 (+0100), Peter Hessler wrote: :When an interface loses link, we delete all directly connected and :cloned routes. However, this means we also lose any BFD configuration :on those routes. : :Surviving link-down is pretty much mandatory for BFD to work. : :So

let bfd survive link-down

2017-01-23 Thread Peter Hessler
When an interface loses link, we delete all directly connected and cloned routes. However, this means we also lose any BFD configuration on those routes. Surviving link-down is pretty much mandatory for BFD to work. So instead, I bypass the route deletion, and clean up the link-local gateway inf

Re: BFD: route get and route monitor

2017-01-19 Thread Peter Hessler
On 2017 Jan 19 (Thu) at 06:26:25 +0100 (+0100), Peter Hessler wrote: :On 2016 Dec 17 (Sat) at 14:05:40 +0100 (+0100), Peter Hessler wrote: ::On 2016 Sep 30 (Fri) at 10:16:19 +0200 (+0200), Peter Hessler wrote: :::This diff makes route get and route monitor work. sockaddr_bfd is so we :::can play

Re: BFD: route get and route monitor

2017-01-18 Thread Peter Hessler
On 2016 Dec 17 (Sat) at 14:05:40 +0100 (+0100), Peter Hessler wrote: :On 2016 Sep 30 (Fri) at 10:16:19 +0200 (+0200), Peter Hessler wrote: ::This diff makes route get and route monitor work. sockaddr_bfd is so we ::can play like the other RTAX_* indexes in rti_info of route messages. :: In route

Re: libressl symbols

2017-01-03 Thread Peter Hessler
this change as well. : :+1 from me for exposing the API - I recently also ran into it but didn't speak up because my use case was probably not important enough. : :Reyk : : :> Am 02.01.2017 um 16:29 schrieb Peter Hessler : :> :> Looks like when libcrypto was convered to use a Symbol map

libressl symbols

2017-01-02 Thread Peter Hessler
Looks like when libcrypto was convered to use a Symbol map, some functions were not included. This change lets py-openssl be loaded by python processes. I did not include the minor version bump, as there might be more issues. Index: lib/libcrypto/Symbols.list ==

Re: BFD: route get and route monitor

2016-12-28 Thread Peter Hessler
On 2016 Dec 23 (Fri) at 16:57:27 +0100 (+0100), Hrvoje Popovski wrote: :On 21.12.2016. 23:15, Sebastian Benoit wrote: :>> Hi, :>> :>> it seems that bfd is working with Force10 S4810 and Extreme Networks :>> x460 switches. I can test it with cisco c6k5 if you want? :> :> Hei, :> :> i'm sure phessl

Re: BFD: route get and route monitor

2016-12-17 Thread Peter Hessler
On 2016 Sep 30 (Fri) at 10:16:19 +0200 (+0200), Peter Hessler wrote: :This diff makes route get and route monitor work. sockaddr_bfd is so we :can play like the other RTAX_* indexes in rti_info of route messages. : :OK? Updated output, requested by Theo. A normal get will show just the bfd

  1   2   3   >