CVS: cvs.openbsd.org: src

2024-04-14 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2024/04/14 11:24:15

Modified files:
share/man/man1 : update-plist.1 

Log message:
stop erroring if .orig exists

OK op@ rsadowski@ kn@



CVS: cvs.openbsd.org: src

2024-02-16 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2024/02/16 15:46:07

Modified files:
sys/dev/ic : qwx.c 

Log message:
implement qwx_init_task(), which will reset the hardware when it gets
confused

OK stsp@



CVS: cvs.openbsd.org: src

2024-02-16 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2024/02/16 02:03:29

Modified files:
sys/dev/ic : qwx.c 
sys/dev/pci: if_qwx_pci.c 

Log message:
start moving some developmental printfs to be DEBUG DPRINTFs

requested and OK by stsp@



CVS: cvs.openbsd.org: src

2024-01-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2024/01/27 08:15:01

Modified files:
usr.sbin/fw_update: patterns.c 

Log message:
firmware for qwx(4) devices



CVS: cvs.openbsd.org: src

2023-09-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/09/27 01:52:48

Modified files:
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2023-09-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/09/27 01:50:46

Modified files:
share/man/man4 : Makefile 
Added files:
share/man/man4 : qcrng.4 

Log message:
add a manpage for the qcrng(4) driver

reminded by pamela@



CVS: cvs.openbsd.org: src

2023-04-30 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/30 07:08:40

Modified files:
sbin/slaacd: engine.c 

Log message:
Remove artifical limit of 2 hours on a PIO lifetime, as recommended by
draft-ietf-6man-slaac-renum-05 and implemented by Linux in 2020.

OK florian@



CVS: cvs.openbsd.org: src

2023-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/28 08:09:06

Modified files:
sys/netinet6   : nd6_nbr.c 

Log message:
Inbound portion of RFC9131.  Routers can create new neighbor cache entries
when receiving a valid Neighbor Advertisement.

OK florian@ kn@



CVS: cvs.openbsd.org: src

2023-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/28 08:08:34

Modified files:
sys/net: pf.c 

Log message:
Relax the "pass all" rule so all forms of neighbor advertisements are allowed
in either direction.

This more closely matches the IPv4 ARP behaviour.

>From sashan@
discussed with kn@ deraadt@



CVS: cvs.openbsd.org: src

2023-04-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/27 23:13:37

Modified files:
sys/dev/fdt: files.fdt 
sys/arch/arm64/conf: GENERIC RAMDISK 
Added files:
sys/dev/fdt: qcrng.c 

Log message:
Add a driver for the Qualcomm rng device found on the Thinkpad X13s, based on
kettenis's amlrng driver.

suggestions and OK patrick@



CVS: cvs.openbsd.org: src

2023-04-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/27 10:56:52

Modified files:
usr.sbin/rad   : rad.conf.5 rad.h 

Log message:
RFC 9096 changes the default timers for prefix preferred and valid lifetimes,
so update rad(8) to the new ones.

OK florian@



CVS: cvs.openbsd.org: src

2023-04-26 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/26 08:28:09

Modified files:
etc: rc 

Log message:
During boot we have a protective and restrictive pf ruleset during the time
we are running netstart, and then load the pf.conf ruleset after all of the
interfaces are loaded.

Allow in and out IPv6 neighbor advertisement traffic without state during
that time.

suggestions/OK from saschan@
OK sthen@ kn@ florian@ deraadt@



CVS: cvs.openbsd.org: src

2023-04-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/04/25 09:41:17

Modified files:
sys/netinet6   : nd6_nbr.c 

Log message:
When configuring a new address on an interface, an upstream router
doesn't know where to send traffic.  This will send an unsolicited
neighbor advertisement, as described in RFC9131, to the all-routers
multicast address so all routers on the same link will learn the path
back to the address.

This is intended to speed up the first return packet on an IPv6 interface.

OK florian@



CVS: cvs.openbsd.org: src

2023-01-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/01/28 11:44:31

Modified files:
distrib/miniroot: install.sub 

Log message:
create enough wskbd* device nodes at runtime in the ramdisk so we can set
the keyboard layout on all of them during install.

tested with a Thinkpad X13s with a silly amount of kezboards connected.

OK miod@ kn@



CVS: cvs.openbsd.org: src

2023-01-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/01/28 11:40:53

Modified files:
distrib/arm64/ramdisk: list 

Log message:
install sbin/kbd on arm64's ramdisk, so a user can set a keyboard layout if
they are using a glass console and kezboard.

tested with a Thinkpad X13s with a DE kezboard.

OK deraadt@ miod@ kn@



CVS: cvs.openbsd.org: src

2023-01-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2023/01/28 04:04:47

Modified files:
etc: MAKEDEV.common 

Log message:
Update the number of default wskbd entries

OK deraadt@



CVS: cvs.openbsd.org: src

2022-02-17 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2022/02/17 09:28:37

Modified files:
gnu/usr.bin/binutils-2.17: Makefile.bsd-wrapper 

Log message:
binutils-2.17 does not have ld or gas available for the aarch64, powerpc64, or
riscv64 family of platforms, so we don't try to build there.

However we mis-nested the arch check, causing some unintended side effects,
most notably installing binutils-2.17's ar(1) which overwrote the
intended llvm-ar(1).

Fix the if nesting so it only applies where intended.

tested on aarch64 by me, powerpc64 by gkoehler@, and riscv64 by jca@

OK miod@ robert@ gkoehler@ jca@



CVS: cvs.openbsd.org: src

2021-05-24 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2021/05/24 15:06:52

Modified files:
etc/etc.armv7  : MAKEDEV.md 

Log message:
create audio devices for armv7
tested with an mp3 on a Tinkerboard

OK sthen@ kettenis@



Re: CVS: cvs.openbsd.org: src

2021-03-02 Thread Peter Hessler
On 2021 Mar 02 (Tue) at 05:15:46 -0700 (-0700), Edd Barrett wrote:
:Modified files:
:   usr.bin/sndiod : dev.c siofile.c 
...
:We can only assume that if you deviate from defaults, then you know what
:you are doing.

I notice that you didn't include any documentation on this.  Can you
update the man page for how to use this, as I currently do not know what
I am doing.

-- 
After an instrument has been assembled, extra components will be found
on the bench.



CVS: cvs.openbsd.org: src

2020-11-05 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/11/05 12:28:28

Modified files:
sbin/iked  : pfkey.c 
sbin/ipsecctl  : pfkdump.c 
sys/net: pfkeyv2.h pfkeyv2_convert.c 
sys/netinet: ip_ipsp.h 

Log message:
Enable support for ASN1_DN ipsec identifiers.

Tested with multiple Window 10 Pro (ver 2004) clients, and OpenBSD+iked
as the server.

OK tobhe@ sthen@ kn@



CVS: cvs.openbsd.org: src

2020-10-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/10/25 03:03:45

Modified files:
sys/dev/usb: usbdevs.h usbdevs_data.h 

Log message:
sync



CVS: cvs.openbsd.org: src

2020-10-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/10/25 03:03:02

Modified files:
sys/dev/usb: usbdevs 

Log message:
add my new graphics tablet, not yet working



CVS: cvs.openbsd.org: src

2020-09-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/09/25 08:31:48

Modified files:
sys/arch/arm/arm: fault.c 

Log message:
Add missing calls to uvm_grow(9).

OK deraadt@ kettenis@



CVS: cvs.openbsd.org: src

2020-01-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/01/15 07:08:26

Modified files:
usr.sbin/vmd   : vm.conf.5 

Log message:
Guest VMs require some resources that are managed outside of vmm(4), so
try to document and enumerate them.

This is most helpful when you try to assign the 5th interface to a guest,
and are confused why vmd(8) won't start the guest when only 4 tap devices
exist.

OK jmc@, kn@, pamela@



CVS: cvs.openbsd.org: src

2020-01-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/01/15 02:34:27

Modified files:
sys/net80211   : ieee80211_ioctl.c ieee80211_node.c 
 ieee80211_node.h 

Log message:
If join is connected to an AP, remove the node from the cache so we properly
reconnect to the AP

OK stsp@



CVS: cvs.openbsd.org: src

2020-01-13 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2020/01/13 02:57:25

Modified files:
sys/net80211   : ieee80211_ioctl.c 

Log message:
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 stsp@



CVS: cvs.openbsd.org: www

2019-05-14 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2019/05/14 12:03:51

Modified files:
.  : events.html 
Added files:
papers : bhyvecon-ottawa-2019.pdf 

Log message:
add my slides for my talk at bhyvecon ottawa



CVS: cvs.openbsd.org: src

2019-05-09 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/05/09 08:29:30

Modified files:
sys/net: bfd.c 

Log message:
we don't need to check rtisvalid() in these places, the functions we are
protecing will do the right thing

OK claudio@



CVS: cvs.openbsd.org: www

2019-04-29 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2019/04/29 02:45:30

Modified files:
.  : 65.html 

Log message:
arm (armv7) package count



CVS: cvs.openbsd.org: src

2019-04-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/04/10 07:56:10

Modified files:
sys/dev/pci: if_ixl.c 

Log message:
Add support for X722 to ixl(4)

full list of pci ids from sthen@

OK sthen@, jmatthew@, deraadt@



CVS: cvs.openbsd.org: src

2019-04-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/04/10 07:54:57

Modified files:
sys/dev/pci: pcidevs.h pcidevs_data.h 

Log message:
sync



CVS: cvs.openbsd.org: src

2019-04-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/04/10 07:54:06

Modified files:
sys/dev/pci: pcidevs 

Log message:
Add support for X722 to ixl(4)

full list of pci ids from sthen@

OK sthen@, jmatthew@, deraadt@



CVS: cvs.openbsd.org: src

2019-03-31 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/03/31 12:30:49

Modified files:
sbin/disklabel : disklabel.8 

Log message:
update the default partition sizes in the man page as well

pointed out by otto@



CVS: cvs.openbsd.org: src

2019-03-31 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/03/31 08:06:47

Modified files:
sbin/disklabel : editor.c 

Log message:
when using the auto partitioner, grow minimum size for /usr to 1300M.
bare minimum /usr for all sets on amd64 is 920M used space, and we need
some more for upgrades, as well as relinking libs and kernels.

OK deraadt@



CVS: cvs.openbsd.org: src

2019-03-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/03/15 05:05:29

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
fix autojoin for WEP network by actually saving the WEP auth key

discovered while attempting to autojoin WEP networks



Re: CVS: cvs.openbsd.org: src

2019-02-10 Thread Peter Hessler
On 2019 Feb 10 (Sun) at 09:42:35 -0700 (-0700), Peter Hessler wrote:
:CVSROOT:   /cvs
:Module name:   src
:Changes by:phess...@cvs.openbsd.org2019/02/10 09:42:35
:
:Modified files:
:   lib/libssl : d1_both.c 
:   regress/sys/kern/unveil: syscalls.c 
:   sys/net: if_pfsync.c 
:   sys/scsi   : mpath.c 
:   sys/uvm: uvm_map.c 
:   usr.sbin/pkg_add/OpenBSD: PkgDelete.pm 
:   usr.sbin/rmt   : rmt.c 
:
:Log message:
:"non-existant" is one of those words that don't exist, so use "non-existent"
:instead
:
:From Pamela Mosiejczuk, many thanks!
:OK phessler@ deraadt@
:

also OK jmc@



CVS: cvs.openbsd.org: src

2019-02-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/02/10 09:42:35

Modified files:
lib/libssl : d1_both.c 
regress/sys/kern/unveil: syscalls.c 
sys/net: if_pfsync.c 
sys/scsi   : mpath.c 
sys/uvm: uvm_map.c 
usr.sbin/pkg_add/OpenBSD: PkgDelete.pm 
usr.sbin/rmt   : rmt.c 

Log message:
"non-existant" is one of those words that don't exist, so use "non-existent"
instead

>From Pamela Mosiejczuk, many thanks!
OK phessler@ deraadt@



CVS: cvs.openbsd.org: src

2019-01-23 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/23 03:00:33

Modified files:
distrib/sets/lists/base: md.arm64 
distrib/sets/lists/comp: md.arm64 
distrib/sets/lists/man: mi 

Log message:
sets for apm(4) on arm64

OK jsg@



CVS: cvs.openbsd.org: src

2019-01-23 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/23 02:59:54

Modified files:
share/man/man4/man4.arm64: Makefile 
Added files:
share/man/man4/man4.arm64: apm.4 

Log message:
add a man page for apm(4) on arm64

OK jsg@



CVS: cvs.openbsd.org: src

2019-01-23 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/23 02:59:15

Modified files:
usr.sbin/apm   : Makefile 
usr.sbin/apmd  : Makefile 

Log message:
enable the apm(4) programs on arm64

previous version OK deraadt@ patrick@
OK jsg@



CVS: cvs.openbsd.org: src

2019-01-23 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/23 02:58:08

Modified files:
sys/arch/arm64/conf: GENERIC 

Log message:
enable the apm(4) subsystem on arm64

previous version OK deraadt@ patrick@
OK jsg@



CVS: cvs.openbsd.org: src

2019-01-23 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/23 02:57:36

Modified files:
sys/arch/arm64/conf: files.arm64 
sys/arch/arm64/arm64: conf.c 
sys/arch/arm64/dev: mainbus.c 
sys/arch/arm64/include: apmvar.h conf.h 
Added files:
sys/arch/arm64/arm64: acpiapm.c 
sys/arch/arm64/dev: apm.c 
sys/arch/arm64/include: acpiapm.h 

Log message:
Add the apm(4) subsystem to arm64.

NB: acpi(4) is not hooked up to this yet.

previous version OK deraadt@ patrick@
OK jsg@



CVS: cvs.openbsd.org: src

2019-01-21 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/21 19:36:30

Modified files:
sys/arch/amd64/include: apmvar.h 
sys/arch/arm/include: apmvar.h 
sys/arch/i386/include: apmvar.h 
sys/arch/loongson/include: apmvar.h 
sys/arch/macppc/include: apmvar.h 
sys/arch/sparc64/include: apmvar.h 

Log message:
flense more trailing whitespace



CVS: cvs.openbsd.org: src

2019-01-21 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/21 18:48:55

Modified files:
sys/arch/amd64/include: apmvar.h 
sys/arch/arm/include: apmvar.h 
sys/arch/i386/include: apmvar.h 
sys/arch/loongson/include: apmvar.h 
sys/arch/macppc/include: apmvar.h 
sys/arch/sparc64/include: apmvar.h 

Log message:
remove trailing whitespace in the Laptop Package part of the license text.

no words or punctation were modified.



CVS: cvs.openbsd.org: src

2019-01-20 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/20 19:53:51

Modified files:
distrib/miniroot: install.sub 

Log message:
when installing over wifi, move nwid and wpakey/nwkey to be on the same line

(a later step will move to using join in config files, but since not all
adapters support join (due to them not using the net80211 framework), that
requires more work and testing.)

OK krw@ halex@



CVS: cvs.openbsd.org: src

2019-01-20 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/20 19:50:00

Modified files:
share/man/man4 : acx.4 an.4 atu.4 atw.4 pgt.4 rtw.4 uath.4 
 wi.4tbl 

Log message:
move example configurations to include nwid and nwkey on the same line



CVS: cvs.openbsd.org: src

2019-01-20 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/20 15:52:23

Modified files:
sys/net: bfd.c 

Log message:
use the faster interface, since the precision is not necessary



CVS: cvs.openbsd.org: src

2019-01-19 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/19 14:06:02

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
properly error out instead of only printing a warning when some join commands
failed

OK deraadt@



CVS: cvs.openbsd.org: www

2019-01-19 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2019/01/19 01:39:27

Modified files:
faq: faq6.html 

Log message:
wpakey should be on the same line as nwid



CVS: cvs.openbsd.org: src

2019-01-18 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/18 21:10:30

Modified files:
sys/arch/amd64/conf: RAMDISK_CD 

Log message:
enable myx(4) on the large ramdisk.  has been enabled in GENERIC for a while.



CVS: cvs.openbsd.org: src

2019-01-18 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/18 13:40:00

Modified files:
sys/net80211   : ieee80211_ioctl.c 

Log message:
when removing the currently active network from the join list, disconnect
from it as well

OK stsp@



CVS: cvs.openbsd.org: src

2019-01-18 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/18 13:28:40

Modified files:
sys/net80211   : ieee80211_ioctl.c ieee80211_node.c 
 ieee80211_var.h 

Log message:
add a len field when we delete an essid from the joinlist.  this will have
us properly match, instead of hoping we got lucky when selecting it.

OK stsp@



CVS: cvs.openbsd.org: src

2019-01-18 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/18 13:25:35

Modified files:
sbin/ifconfig  : ifconfig.8 ifconfig.c 

Log message:
let users automatically use join to connect to any open wifi network.
if a known network is visible, always prefer that instead.

requested by many, OK stsp@



CVS: cvs.openbsd.org: src

2019-01-18 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/18 13:24:59

Modified files:
sys/net80211   : ieee80211_ioctl.c ieee80211_ioctl.h 
 ieee80211_node.c 

Log message:
let users automatically use join to connect to any open wifi network.
if a known network is visible, always prefer that instead.

requested by many, OK stsp@



CVS: cvs.openbsd.org: src

2019-01-18 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/18 01:32:59

Modified files:
sys/net: bfd.c 

Log message:
chase sounlock() api change, make bfd(4) build again

"go ahead" deraadt@



CVS: cvs.openbsd.org: src

2019-01-16 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2019/01/16 21:28:21

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
do not allow users to specify "join" or "nwid" twice on the same ifconfig call



CVS: cvs.openbsd.org: src

2018-12-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/12/26 00:01:22

Modified files:
usr.bin/mg : mg.1 util.c 

Log message:
revert "kill a region if 'delete' or 'backspace' is pressed"
This caused a change of behaviour in the search case, and isn't yet ready.

Committing on the behalf of lum@

OK lum@



CVS: cvs.openbsd.org: src

2018-11-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/11/25 05:14:01

Modified files:
sbin/ifconfig  : ifconfig.c 
sys/net80211   : ieee80211_ioctl.c ieee80211_ioctl.h 
 ieee80211_node.c 

Log message:
print more details about the join'd networks we have saved when a user runs
ifconfig if joinlist

OK stsp@



CVS: cvs.openbsd.org: src

2018-11-25 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/11/25 05:10:39

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
merge the wpa related settings, instead of overriding them
this fixes setting wpaprotos (e.g. enabling wpa1)

OK stsp@



CVS: cvs.openbsd.org: src

2018-11-24 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/11/24 06:12:29

Modified files:
sys/dev/pv : pvclock.c 

Log message:
only attach pvclock(4) inside a KVM guest

tested by brynet@
OK reyk@



CVS: cvs.openbsd.org: src

2018-11-20 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/11/20 13:49:26

Modified files:
sbin/ifconfig  : ifconfig.c 

Log message:
when printing essids return the number of chars we printed, like printf

OK stsp@



CVS: cvs.openbsd.org: src

2018-11-20 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/11/20 13:26:01

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
fix whitespace in debugging function



CVS: cvs.openbsd.org: www

2018-10-29 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2018/10/29 01:12:50

Modified files:
.  : 64.html 

Log message:
8324 packages for arm



CVS: cvs.openbsd.org: src

2018-10-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/10/27 04:02:47

Modified files:
sys/net80211   : ieee80211_node.c ieee80211_var.h 

Log message:
pass around the ess and ni structures we plan to use directly, instead
of rediscovering them (possibly badly).

OK stsp@



CVS: cvs.openbsd.org: src

2018-10-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/10/27 03:55:26

Modified files:
sys/net80211   : ieee80211_ioctl.c ieee80211_node.c 

Log message:
clean up accounting of the AUTO_JOIN flag by making sure it is set or cleared
based on the state of the joinlist

OK stsp@



CVS: cvs.openbsd.org: src

2018-10-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/10/27 03:47:36

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
don't join to a network where we expect cleartext, and the AP is using crypto

OK stsp@



CVS: cvs.openbsd.org: src

2018-09-11 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/11 13:25:54

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
ues the format string for signed ints, for signed ints

reminded by stsp@



CVS: cvs.openbsd.org: src

2018-09-11 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/11 04:21:29

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
With the interface debug flag enabled, print a "score" for each AP we
consider during auto-join.  This can help users determine why a specific
network was chosen.

OK stsp@



CVS: cvs.openbsd.org: src

2018-09-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/10 05:07:43

Modified files:
sys/net80211   : ieee80211_ioctl.c 

Log message:
do not immediately set the join'd network, the join command only updates
the list.

makes /etc/netstart very fast when ran while the interface is up

OK stsp@



CVS: cvs.openbsd.org: src

2018-09-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/10 04:11:18

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
fix typo in the length of the essid we want to switch to

found with and OK stsp@



CVS: cvs.openbsd.org: src

2018-09-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/10 03:13:53

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
extract clearing WEP/WPA in ess into helper functions



CVS: cvs.openbsd.org: src

2018-09-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/10 02:27:13

Modified files:
sys/net80211   : ieee80211_ioctl.c 

Log message:
use the correct essid when switching during the ioctl path

pointed out by stsp@



CVS: cvs.openbsd.org: src

2018-09-10 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/10 02:26:39

Modified files:
sys/net80211   : ieee80211_node.c ieee80211_var.h 

Log message:
give set_ess a len variable, so we can correctly match the essid we want
to switch to.

pointed out by stsp@



CVS: cvs.openbsd.org: src

2018-09-09 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/09 14:32:55

Modified files:
sys/net80211   : ieee80211_ioctl.c ieee80211_ioctl.h 
 ieee80211_node.c ieee80211_var.h 
sbin/ifconfig  : ifconfig.c 

Log message:
convert the things we save in 'join' into a single ioctl.  mixing related
settings over multiple calls was risky and racy.  Pass essid, wpa, and wep
paramaters in a single ioctl and process it atomically.

no change for 'nwid' users

OK stsp@ benno@



CVS: cvs.openbsd.org: src

2018-09-08 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/09/08 09:21:03

Modified files:
sbin/ifconfig  : ifconfig.8 ifconfig.c 

Log message:
Enforce that "join" and "nwid" may not be used at the same time.

OK stsp@



CVS: cvs.openbsd.org: src

2018-08-03 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/08/03 04:52:46

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
revert 1.133 and part of 1.131
the stack doesn't always fill in the paramaters correctly

reported by many



CVS: cvs.openbsd.org: src

2018-07-16 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/07/16 06:42:22

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
the AP sends their crypto parameters as a mask, so let us still select it
in case we want WPA2 and they have WPA1 still enabled



CVS: cvs.openbsd.org: src

2018-07-16 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/07/16 06:34:14

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
don't save or use auto-join when the card is not in station (aka client) mode

OK stsp@



CVS: cvs.openbsd.org: www

2018-07-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2018/07/15 09:49:56

Modified files:
faq: current.html 

Log message:
Explain the warning that wifi users might see when using wpakey on a line
by itself

OK tb@



CVS: cvs.openbsd.org: src

2018-07-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/07/15 04:46:48

Modified files:
share/man/man5 : hostname.if.5 

Log message:
adjust the example hostname.if to show "wpakey" on the same line as "nwid",
and provide an IPv6 autoconf example.

while here, split interface settings from IP assignment.

OK jmc@



CVS: cvs.openbsd.org: src

2018-07-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/07/15 04:44:49

Modified files:
share/man/man4 : ath.4 athn.4 bwfm.4 bwi.4 ipw.4 iwi.4 iwm.4 
 iwn.4 malo.4 otus.4 ral.4 rsu.4 rtwn.4 rum.4 
 run.4 upgt.4 ural.4 urtw.4 urtwn.4 wpi.4 zyd.4 

Log message:
adjust hostname.if examples to show "wpakey" on the same line as "nwid"

OK jmc@



CVS: cvs.openbsd.org: src

2018-07-13 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/07/13 01:22:55

Modified files:
sys/net80211   : ieee80211_node.c 

Log message:
Some more checks before auto-join switches networks.

Make sure all of the crypto options the AP announces matches what we
would configure.  While here, don't switch if the user has specified
a specific BSSID, and the new AP does not match.

OK stsp@



CVS: cvs.openbsd.org: src

2018-07-11 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/07/11 14:18:09

Modified files:
sbin/ifconfig  : ifconfig.8 ifconfig.c 
sys/net80211   : ieee80211_ioctl.c ieee80211_ioctl.h 
 ieee80211_node.c ieee80211_node.h 
 ieee80211_var.h 

Log message:
Introduce 'auto-join' to the wifi 802.11 stack.

This allows a system to remember which ESSIDs it wants to connect to, any
relevant security configuration, and switch to it when the network we are
currently connected to is no longer available.

Works when connecting and switching between WPA2/WPA1/WEP/clear encryptions.

example hostname.if:
join home wpakey password
join work wpakey mekmitasdigoat
join open-lounge
join cafe wpakey cafe2018
join "wepnetwork" nwkey "12345"
dhcp
inet6 autoconf
up

OK stsp@ reyk@
and enthusiasm from every hackroom I've been in for the last 3 years



CVS: cvs.openbsd.org: www

2018-06-15 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2018/06/15 07:53:59

Modified files:
.  : ftp.html 
build  : mirrors.dat 
openbgpd   : ftp.html 
openntpd   : portable.html 
openssh: ftp.html portable.html 

Log message:
ftp.hostserver.de will be removing ftp access in the near future.
http(s), rsync, and cvsync are staying.

OK benno@



CVS: cvs.openbsd.org: src

2018-05-23 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/05/23 13:52:03

Modified files:
sys/net80211   : ieee80211_proto.c 

Log message:
add missing newlines for debug printfs

OK stsp@



CVS: cvs.openbsd.org: src

2018-05-02 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/05/02 13:11:01

Modified files:
sys/dev/pci: puc.c pucdata.c pucvar.h 

Log message:
Continue kettenis@'s revert:

Revert previous commit; the XR17V35X probe that was added accesses registers
that aren't guaranteed to be there and may even belong to a different device.
This triggers a fault on hppa machines like the C3000 for example.



CVS: cvs.openbsd.org: src

2018-05-01 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/05/01 08:12:11

Modified files:
sys/arch/i386/conf: RAMDISK_CD 

Log message:
vmmci(4) depends on pvbus(4) being available, unbreak

from mlarkin@



CVS: cvs.openbsd.org: src

2018-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/28 10:05:56

Modified files:
sys/dev/ic : bwfm.c pgt.c 
sys/dev/pci: if_iwm.c if_iwn.c if_wpi.c 
sys/dev/usb: if_atu.c 

Log message:
Some drivers handle settting a new wifi link state manually, so make sure
they flush old nodes and set the interface link state to down, like the
framework does.

OK stsp@ pirofti@



CVS: cvs.openbsd.org: src

2018-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/28 02:13:42

Modified files:
sys/net: bfd.c 

Log message:
don't check if we still have the BFD flag set when sending a packet, as we
might be shutting the session down



CVS: cvs.openbsd.org: src

2018-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/28 02:14:09

Modified files:
sys/net: bfd.c 

Log message:
bump my copyright



CVS: cvs.openbsd.org: src

2018-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/28 01:46:56

Modified files:
sys/net: bfd.c 

Log message:
properly delete the bfd configuration when it is disabled



CVS: cvs.openbsd.org: src

2018-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/28 01:45:47

Modified files:
sys/net: bfd.c bfd.h 

Log message:
use unsigned variables for things that we use as unsigned

noticed by clang



CVS: cvs.openbsd.org: src

2018-04-28 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/28 01:44:44

Modified files:
sys/net: bfd.c 

Log message:
add the socket lock around our use of sockets



CVS: cvs.openbsd.org: src

2018-04-26 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/26 10:13:13

Modified files:
sys/arch/i386/conf: RAMDISK_CD 
sys/arch/amd64/conf: RAMDISK_CD 

Log message:
Oups, we only need vmmci(4) for the ramdisk, not the whole vmm(4).

noticed by deraadt@ and mlarkin@



CVS: cvs.openbsd.org: src

2018-04-26 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/04/26 09:05:31

Modified files:
sys/arch/amd64/conf: RAMDISK_CD 
sys/arch/i386/conf: RAMDISK_CD 

Log message:
enable vmmci(4) on the ramdisks, so bsd.rd plays nicer when it powers off

OK mlarkin@



CVS: cvs.openbsd.org: www

2018-04-06 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2018/04/06 03:24:33

Modified files:
.  : 63.html 

Log message:
package counts for 32bit arm



CVS: cvs.openbsd.org: www

2018-03-30 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2018/03/30 03:52:46

Modified files:
.  : 63.html 

Log message:
aarch64/arm64 has built 7990 packages this release



CVS: cvs.openbsd.org: www

2018-03-27 Thread Peter Hessler
CVSROOT:/cvs
Module name:www
Changes by: phess...@cvs.openbsd.org2018/03/27 03:21:06

Modified files:
.  : 63.html 

Log message:
mention the RFC

OK florian@



CVS: cvs.openbsd.org: src

2018-03-08 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/03/08 10:41:15

Modified files:
sbin/slaacd: engine.c 

Log message:
Back in the history of time, IPv4 had classes of addresses.  This was widely
acknowledged as a failure.  At the same time IPv4 classes were declared a
failure, IPv6 decided to add them back because using a mac address for
IP address configuration was easy.

Now that we have RFC7217 support we can remove this artificial limitation:
allow non-/64 prefixes to be configured by SLAAC.

Of course, if you have fewer bits for the hosts part of the address you
have fewer bits for privacy and fewer bits to avoid collisions.

OK florian@



CVS: cvs.openbsd.org: src

2018-03-07 Thread Peter Hessler
CVSROOT:/cvs
Module name:src
Changes by: phess...@cvs.openbsd.org2018/03/07 13:07:52

Modified files:
regress/usr.sbin/bgpd: bgpd.conf.1.ok bgpd.conf.2.ok 
   bgpd.conf.example.ok 

Log message:
claudio@ added an Adj-RIB-Out, so add it to the regression tests

reminded by bluhm@



  1   2   3   4   >