MAKEDEV hangs on amd64 sysupgrade in virtualbox

2024-08-24 Thread David Higgs
I've been infrequently following snapshots with a vbox installation and have been experiencing hangs like this for a year or two now. Everything works great on my actual hardware. The VM boots fine after resetting, but the subsequent fsck and performing the skipped upgrade steps is mildly annoyin

Re: Slow relink in 7.4

2023-10-17 Thread David Higgs
On Tue, Oct 17, 2023 at 8:18 AM Nick Holland wrote: > On 10/17/23 05:07, David Higgs wrote: > > I have an underpowered amd64 VPS and attempted to (auto)upgrade it to > 7.4. > > Everything went swimmingly until it attempted to relink the kernel, at > > which p

Slow relink in 7.4

2023-10-17 Thread David Higgs
I have an underpowered amd64 VPS and attempted to (auto)upgrade it to 7.4. Everything went swimmingly until it attempted to relink the kernel, at which point it (seemingly) hung. With previous releases, I would expect the host to become unresponsive for a few minutes, and eventually recover. I cha

Re: Bridging em and vlan

2023-10-05 Thread David Higgs
On Thu, Oct 5, 2023 at 9:04 AM David Gwynne wrote: > > > > On 5 Oct 2023, at 11:17, David Higgs wrote: > > > > On Tue, Oct 3, 2023 at 10:10 AM David Higgs wrote: > > > >> On Mon, Oct 2, 2023 at 9:26 AM David Higgs wrote: > >> >

Re: Bridging em and vlan

2023-10-04 Thread David Higgs
On Tue, Oct 3, 2023 at 10:10 AM David Higgs wrote: > On Mon, Oct 2, 2023 at 9:26 AM David Higgs wrote: > >> On Sun, Oct 1, 2023 at 9:13 AM Zé Loff wrote: >> >>> On Sat, Sep 30, 2023 at 11:39:36AM -0400, David Higgs wrote: >>> > All of my devices until now

Re: Bridging em and vlan

2023-10-03 Thread David Higgs
On Mon, Oct 2, 2023 at 9:26 AM David Higgs wrote: > On Sun, Oct 1, 2023 at 9:13 AM Zé Loff wrote: > >> On Sat, Sep 30, 2023 at 11:39:36AM -0400, David Higgs wrote: >> > All of my devices until now have been behind my OpenBSD NAT router, but >> I >> > recently

Re: Bridging em and vlan

2023-10-02 Thread David Higgs
On Sun, Oct 1, 2023 at 9:13 AM Zé Loff wrote: > On Sat, Sep 30, 2023 at 11:39:36AM -0400, David Higgs wrote: > > All of my devices until now have been behind my OpenBSD NAT router, but I > > recently acquired a Internet of Trash device that I would like to be > > accessible

Bridging em and vlan

2023-09-30 Thread David Higgs
All of my devices until now have been behind my OpenBSD NAT router, but I recently acquired a Internet of Trash device that I would like to be accessible to the internet (yes, I know). My home configuration uses a Unifi AP to translate my various SSIDs into VLANs which plug into one of my APU em(4

Re: PC Engines APU platform EOL

2023-05-04 Thread David Higgs
On Thu, Apr 20, 2023 at 1:30 AM fRANz wrote: > On Wed, Apr 19, 2023 at 11:30 AM Martin Schröder > wrote: > > > https://www.pcengines.ch/eol.htm > > The end is near for APUs :-( > > :( > Happy apu2 & apu4 user here. > Are there other OpenBSD friendly options? > Regards, > -f > Someday I'll need

Re: Remove outdated /etc/examples/unwind.conf?

2021-07-24 Thread David Higgs
On Fri, Jul 23, 2021 at 5:33 AM Stuart Henderson wrote: > On 2021-07-21, David Higgs wrote: > > I was looking into how to configure unwind for my needs, and found > > significant discrepancies between /etc/examples/unwind.conf and the > > unwind.conf(5) manual. Namely,

Remove outdated /etc/examples/unwind.conf?

2021-07-21 Thread David Higgs
I was looking into how to configure unwind for my needs, and found significant discrepancies between /etc/examples/unwind.conf and the unwind.conf(5) manual. Namely, the example file had lots of captive portal info, while the manual made no mention of it. After browsing source history, I learned

Re: Bufferbloat, FQ-CoDel, and performance

2021-02-26 Thread David Higgs
On Fri, Feb 26, 2021 at 3:58 AM Stuart Henderson wrote: > On 2021-02-26, Sven F. wrote: > > On Thu, Feb 25, 2021 at 8:38 PM Steven Shockley > > wrote: > >> > >> I can try it, but I don't think it'll help in my case: > > It's worth trying anyway I think. > > > Can the patch sys/net/pf.c r1.1096

Re: acme-client error: unknown SAN entry

2021-02-10 Thread David Higgs
On Sun, Feb 7, 2021 at 4:49 PM Stuart Henderson wrote: > On 2021-02-07, David Higgs wrote: > > acme-client: /etc/ssl/primary.example.com.crt: unknown SAN entry: > > alternate.example.com > > acme-client: bad exit: revokeproc(55821): 1 > > > > (My real domain i

acme-client error: unknown SAN entry

2021-02-07 Thread David Higgs
acme-client: /etc/ssl/primary.example.com.crt: unknown SAN entry: alternate.example.com acme-client: bad exit: revokeproc(55821): 1 (My real domain is legitimate, and not example.com.) I recently decommissioned one of the aliases for my servers, but my nightly acme-client run threw an error. Al

Re: Kibana/Elasticsearch fail

2020-02-12 Thread David Higgs
On Mon, Feb 10, 2020 at 11:20 PM Aaron Bieber wrote: > On Thu, 06 Feb 2020 at 23:31:01 -0600, Eric Zylstra wrote: > > I’ve installed the ELK packages (Elasticsearch, Logstash, Kibana) using > pkg_add. Installs went fine. I checked out the pkg documentation > (pkg_reames) and followed the steps

Re: SIGBUS on octeon for my program

2019-11-29 Thread David Higgs
Be warned that __packed doesn't do quite what you think it does. void func(int *p) { *p = 0; } If you pass an unaligned pointer into this function on a strict-alignment platform, your program will likely crash. I am unaware of any attribute that can inform the compiler that 'p' may be misali

Re: SIGBUS on octeon for my program

2019-11-27 Thread David Higgs
I don't speak ktrace but looks like alignment problems with a stack variable. What does gdb report? --david On Wed, Nov 27, 2019 at 8:48 AM Peter J. Philipp wrote: > Hi, > > My DNS program gets a SIGBUS when I execute it. I have ktraced it, upped > limits and searched in the mips64 source for

More fun with IPv6 route(8) output

2019-11-08 Thread David Higgs
Last year, I reported some confusing behavior with route(8), which was kindly resolved with both an immediate workaround and code improvements. https://marc.info/?l=openbsd-misc&m=152712936731762&w=2 I now realize that I am experiencing the reverse problem in 6.6, in that I cannot resolve any IPv6

Re: Is a commercial wireless router a security risk if it is behind an OpenBSD router with pf?

2019-01-25 Thread David Higgs
On Fri, Jan 25, 2019 at 7:59 AM Peter N. M. Hansteen wrote: > On 1/24/19 11:55 PM, John Page wrote: > > I decided on installing OpenBSD 6.4 on a PC Engines apu4. I > > had previously been using an Asus RT-86U as both my router and wireless > > access point. > > OpenBSD's newer-wifi protocol supp

Re: growfs(8) to lower offset

2018-11-06 Thread David Higgs
On Tue, Nov 6, 2018 at 8:58 AM Bruno Flueckiger wrote: > > On 05.11.18 19:47, David Higgs wrote: > > I read both the FAQ section and the growfs(8) man page but I am not > > yet confident that what I want to do is supported / safe. > > > > http://www.openbsd.or

growfs(8) to lower offset

2018-11-05 Thread David Higgs
I read both the FAQ section and the growfs(8) man page but I am not yet confident that what I want to do is supported / safe. http://www.openbsd.org/faq/faq14.html#GrowPartition I started with a number of partitions and a bunch of free space. I later needed the free space and allocated a /projec

Fwd: pf(4) queuing and interfaces

2018-07-27 Thread David Higgs
Resending now that the hackathon has died down. —david -- Forwarded message - From: David Higgs Date: Sun, Jul 15, 2018 at 2:12 PM Subject: pf(4) queuing and interfaces To: misc@openbsd.org My wireless AP puts traffic from each WiFi network (trusted, guests, etc.) into a

Re: pf: matching untagged traffic

2018-07-24 Thread David Higgs
On Tue, Jul 24, 2018 at 6:15 AM Damien Miller wrote: > Hi, > > Is it possible for pf to match traffic that has not been tagged? > It seems possible to match a tag, or traffic that lacks a particular tag > but I can't see any way to match traffic that has no tag at all? > > Any clues? > > Context:

pf(4) queuing and interfaces

2018-07-15 Thread David Higgs
My wireless AP puts traffic from each WiFi network (trusted, guests, etc.) into a separate VLAN, which are then picked up by my OpenBSD router and filtered appropriately via pf rules. In other words: em1 is for untagged traffic to the AP itself vlan100 has parent em1 and is for my "trusted" WL

Re: iked.conf basics

2018-06-01 Thread David Higgs
On Fri, Jun 1, 2018 at 2:52 PM, David Higgs wrote: > On Fri, Jun 1, 2018 at 4:09 AM, Stuart Henderson wrote: >> On 2018-05-31, David Higgs wrote: >>> I am looking to configure iked(8) on my OpenBSD router to provide >>> IPsec services to remote clients. I would

Re: iked.conf basics

2018-06-01 Thread David Higgs
On Fri, Jun 1, 2018 at 4:09 AM, Stuart Henderson wrote: > On 2018-05-31, David Higgs wrote: >> I am looking to configure iked(8) on my OpenBSD router to provide >> IPsec services to remote clients. I would like to tunnel (nearly) all >> my traffic from my phone or lap

iked.conf basics

2018-05-30 Thread David Higgs
I am looking to configure iked(8) on my OpenBSD router to provide IPsec services to remote clients. I would like to tunnel (nearly) all my traffic from my phone or laptop back into my home router, and leverage the services there (DNS, firewall, etc.), then either access my local network or the res

Re: relayd for TLS termination

2018-05-30 Thread David Higgs
On Sat, Apr 28, 2018 at 2:12 PM, David Higgs wrote: > On Sat, Apr 28, 2018 at 11:33 AM, David Higgs wrote: >> On Sat, Apr 28, 2018 at 9:58 AM, Claudio Jeker >> wrote: >>> On Sat, Apr 28, 2018 at 09:39:56AM -0400, David Higgs wrote: >>>> I run several service

Re: Confusing IPv6 route(8) results

2018-05-24 Thread David Higgs
On Thu, May 24, 2018 at 5:35 AM Denis Fondras wrote: > Hi, > > On Wed, May 23, 2018 at 10:34:19PM -0400, David Higgs wrote: > > 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 >

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: relayd for TLS termination

2018-04-28 Thread David Higgs
On Sat, Apr 28, 2018 at 11:33 AM, David Higgs wrote: > On Sat, Apr 28, 2018 at 9:58 AM, Claudio Jeker > wrote: >> On Sat, Apr 28, 2018 at 09:39:56AM -0400, David Higgs wrote: >>> I run several services on the same host and would like to consolidate >>> certifica

Re: relayd for TLS termination

2018-04-28 Thread David Higgs
On Sat, Apr 28, 2018 at 9:58 AM, Claudio Jeker wrote: > On Sat, Apr 28, 2018 at 09:39:56AM -0400, David Higgs wrote: >> I run several services on the same host and would like to consolidate >> certificate management with the help of relayd. >> >> Before: >> - a

relayd for TLS termination

2018-04-28 Thread David Higgs
I run several services on the same host and would like to consolidate certificate management with the help of relayd. Before: - acme-client generates certificates via LE - kibana running https on port 5601 - unifi running https on port 8443 - httpd running http+https on port 80 - daily.local scrip

Re: Virtualbox vs latest snapshot

2018-04-18 Thread David Higgs
On Tue, Apr 10, 2018 at 6:50 PM, Stuart Henderson wrote: > On 2018-04-10, csszep wrote: > > Hi! > > > > I installed the latest 04.10 snapshot, the install procedure went fine, > but > > after reboot the VM stucks at endless boot loop . > > > > It prints only the "booting hda0:/bsd" line.. before

Re: Virtualbox vs latest snapshot

2018-04-10 Thread David Higgs
On Tue, Apr 10, 2018 at 5:21 PM, David Higgs wrote: > On Tue, Apr 10, 2018 at 9:27 AM, Juan Francisco Cantero Hurtado < > i...@juanfra.info> wrote: > >> On Tue, Apr 10, 2018 at 11:26:44AM +0200, Janne Johansson wrote: >> > Yes, same here. First boot after upd

Re: Virtualbox vs latest snapshot

2018-04-10 Thread David Higgs
On Tue, Apr 10, 2018 at 9:27 AM, Juan Francisco Cantero Hurtado < i...@juanfra.info> wrote: > On Tue, Apr 10, 2018 at 11:26:44AM +0200, Janne Johansson wrote: > > Yes, same here. First boot after update to Apr10 snap worked, then > > fw_update and pkg_add -u and so on, and now it immediately reboo

Re: IPv6 with wide-dhcpv6

2017-07-17 Thread David Higgs
On Sat, Jul 15, 2017 at 2:17 AM, Stuart Henderson wrote: > On 2017-07-14, David Higgs wrote: > > Comcast provides me with IPv6 via DHCPv6, which I've finally tried to > > configure on my OpenBSD 6.1 router. I am having difficulty maintaining > my > > IPv6 public I

IPv6 with wide-dhcpv6

2017-07-14 Thread David Higgs
Comcast provides me with IPv6 via DHCPv6, which I've finally tried to configure on my OpenBSD 6.1 router. I am having difficulty maintaining my IPv6 public IP address when using the wide-dhcpv6 package when in client mode. Specifically, when the pltime/vltime goes to zero, the address is removed

Re: sensorsd, upd, and state changes

2015-10-19 Thread David Higgs
On Mon, Oct 19, 2015 at 11:11 AM, Maxim Khitrov wrote: > On Mon, Dec 8, 2014 at 3:45 PM, David Higgs wrote: > > On Mon, Dec 8, 2014 at 3:37 PM, trondd wrote: > >> On Mon, Dec 8, 2014 at 3:23 PM, trondd wrote: > >>> On Mon, Dec 8, 2014 a

Re: adsuck: script missing?

2015-07-16 Thread David Higgs
On Thu, Jul 16, 2015 at 2:44 AM, Stefan Wollny wrote: > Am 07/16/15 um 02:29 schrieb David Higgs: > > On Wed, Jul 15, 2015 at 5:09 PM, Erling Westenvik < > > erling.westen...@gmail.com> wrote: > > > >> On Wed, Jul 15, 2015 at 08:25:03PM +0200

Re: adsuck: script missing?

2015-07-15 Thread David Higgs
On Wed, Jul 15, 2015 at 5:09 PM, Erling Westenvik < erling.westen...@gmail.com> wrote: > On Wed, Jul 15, 2015 at 08:25:03PM +0200, Stefan Wollny wrote: > > Hi misc@! > > > > [Running i386/current: OpenBSD 5.8-beta (GENERIC.MP) #1026] > > > > I have been using adsuck for some time now - at least I

Re: Maintaining your system with snapshots

2015-02-20 Thread David Higgs
On Fri, Feb 20, 2015 at 10:21 AM, Steve Williams < st...@williamsitconsulting.com> wrote: > Hi, > > I have been using snapshots for my system, but don't update too often. > Sometimes there's a package I want to install, but because my snapshot > is old (stale when compared to the current repositor

Re: CPU criteria for OpenBSD firewall

2015-02-19 Thread David Higgs
On Thu, Feb 19, 2015 at 10:33 AM, Dmitrij D. Czarkoff wrote: > Stuart Henderson said: >> Half of that page is obsolete. > [...] >> Various things are recommended without explaining that they are a >> trade-off or can cause problems. There are >> It includes "tweaks" which may improve performance o

Xmas

2014-12-23 Thread David Higgs
slippers Saffron Ornament Beer things?

Re: sensorsd, upd, and state changes

2014-12-08 Thread David Higgs
On Mon, Dec 8, 2014 at 3:37 PM, trondd wrote: > On Mon, Dec 8, 2014 at 3:23 PM, trondd wrote: >> On Mon, Dec 8, 2014 at 11:47 AM, David Higgs wrote: >>> >>> >>> sysctl(8) will display Off if the value is zero, and On for nonzero. >>> So, using the

Re: sensorsd, upd, and state changes

2014-12-08 Thread David Higgs
On Sun, Nov 30, 2014 at 10:54 AM, Marcus MERIGHI wrote: > for the impatient, here are my questions: > > - Although I use the same (undocumented, undeadly.org) trick of > "low=1:high=2" for indicators everywhere, this can result in > "On is below On", and "Off is below On" > - Although I use "l

Re: sensorsd, upd, and state changes

2014-11-28 Thread David Higgs
On Fri, Nov 28, 2014 at 2:45 AM, Marcus MERIGHI wrote: > What I have now: > > $ getcap -a -f /etc/sensorsd.conf > hw.sensors.upd0.indicator0:low=1:high=2:command=/etc/sensorsd/upd.sh \ > %l %n %s %x %t %2 %3 %4 > hw.sensors.upd0.indicator1:low=1:high=2:command=/etc/sensorsd/upd.sh \ > %l %n %s %x

Fixes for newsyslog(8) time parsing

2014-11-20 Thread David Higgs
The tm_mon already adjusts by 1, so the allowed range should be 0 - 11. Since mktime(3) is permissive in what it accepts, I think this check is correct. The second part handles the (theoretically valid but essentially useless) parsing of a configuration file with an ISO 8601 date with leap second

Re: apcupsd via USB on 5.6

2014-11-20 Thread David Higgs
On Thu, Nov 20, 2014 at 11:03 AM, Steven Surdock wrote: > I just upgrade from 5.5 to 5.6 on i386 and apcupsd won't recognize my UPS > plugged into a USB port. On 5.5 the UPS was attached to ugen0 but on 5.6 it > say uhidev0. Apcupsd mentions that the uhidev0 device type won't work. I > see t

Re: Postfix compilation error.

2014-11-12 Thread David Higgs
On Wed, Nov 12, 2014 at 11:28 AM, giacomo wrote: > On 12.11.14, 09:01, Jiri B wrote: >> >> Shot in the dark... but isn't the problem you have sasl, mysql built with >> kerberos from the past? Try to rebuild sasl, mysql. >> >> j. > > Hi, > No postfix is the only port installated on the system. I us

Local changes to /etc/services?

2014-11-06 Thread David Higgs
I defined the 'svn' port in /etc/services but as of 5.6 this file now appears to be unconditionally overwritten during upgrades (previously it was handled via sysmerge). Is there a better mechanism to keep these, or should I just update pf.conf to use the numeric port number? The services(5) man

Re: More missing file removals from upgrade*.html?

2014-11-04 Thread David Higgs
On Tuesday, November 4, 2014, Nick Holland wrote: > On 11/04/14 16:18, David Higgs wrote: > > While the upgrade process is so painless that I often forgot the > > #RmFiles steps, I may have found some omissions in past releases... > > > > The 5.2 => 5.3 upgrade is

More missing file removals from upgrade*.html?

2014-11-04 Thread David Higgs
While the upgrade process is so painless that I often forgot the #RmFiles steps, I may have found some omissions in past releases... The 5.2 => 5.3 upgrade is the last one that removed this directory: /usr/lib/gcc-lib/*-unknown-openbsd5.x I haven't seen any upgrades that removed these directories

Re: Bad system calls in snapshot bsd.rd

2014-06-18 Thread David Higgs
On Wed, Jun 18, 2014 at 11:47 AM, Matthew Dempsky wrote: > On Wed, Jun 18, 2014 at 5:32 AM, David Higgs wrote: >> While upgrading my snapshot VMs this morning, bsd.rd on both the i386 >> and amd64 produced 'Bad System Call' somewhere between making device >> n

Bad system calls in snapshot bsd.rd

2014-06-18 Thread David Higgs
While upgrading my snapshot VMs this morning, bsd.rd on both the i386 and amd64 produced 'Bad System Call' somewhere between making device nodes and reboot. If you're already aware of this, sorry for the noise. --david ### i386 bsd.rd OpenBSD 5.5-current (RAMDISK_CD) #161: Wed Jun 11 13:21:05 M

pkg_add loop/merge problems (postgresql upgrade)

2013-05-04 Thread David Higgs
Had some minor problems this morning upgrading my new 5.3 install with the -stable pg package that I built elsewhere. Not sure if this is because I hadn't cleaned up the partial 9.1.9 from 5.2 before upgrading or the package order problem that would have happened anyways. As usual, apologies for

Re: dhclient drops address on re-exec in 5.3 bsd.rd

2013-04-28 Thread David Higgs
On Sun, Apr 28, 2013 at 6:39 PM, Kenneth R Westerback wrote: > On Sun, Apr 28, 2013 at 05:29:05PM -0400, David Higgs wrote: >> On Sun, Apr 28, 2013 at 4:00 PM, Kenneth R Westerback >> wrote: >> > On Sun, Apr 28, 2013 at 02:41:36PM -0400, David Higgs wrote: >&g

Re: dhclient drops address on re-exec in 5.3 bsd.rd

2013-04-28 Thread David Higgs
On Sun, Apr 28, 2013 at 4:00 PM, Kenneth R Westerback wrote: > On Sun, Apr 28, 2013 at 02:41:36PM -0400, David Higgs wrote: >> Confirmed in 5.3-current downloaded several minutes ago. >> >> Steps to reproduce: >> - Boot bsd.rd >> - Select upgrade, hit enter u

dhclient drops address on re-exec in 5.3 bsd.rd

2013-04-28 Thread David Higgs
Confirmed in 5.3-current downloaded several minutes ago. Steps to reproduce: - Boot bsd.rd - Select upgrade, hit enter until dhclient gets and assigns an address - Complete upgrade or control-C, then restart the upgrade process - dhclient on 2nd run REMOVES the assigned address Probably affects t

Re: NFS cluestick needed

2013-04-02 Thread David Higgs
On Tue, Apr 2, 2013 at 7:05 AM, Stuart Henderson wrote: > On 2013-04-01, David Higgs wrote: >> On Mon, Apr 1, 2013 at 7:33 AM, Stuart Henderson >> wrote: >>> On 2013-03-31, David Higgs wrote: >>>> In trying to avoid multiple copies of OpenBSD source on

Re: NFS cluestick needed

2013-04-01 Thread David Higgs
On Mon, Apr 1, 2013 at 7:33 AM, Stuart Henderson wrote: > On 2013-03-31, David Higgs wrote: >> In trying to avoid multiple copies of OpenBSD source on my VMs, I am >> trying to use NFS; however, permissions don't seem to be working >> right. I would very much appre

NFS cluestick needed

2013-03-31 Thread David Higgs
In trying to avoid multiple copies of OpenBSD source on my VMs, I am trying to use NFS; however, permissions don't seem to be working right. I would very much appreciate help in figuring out what I'm doing wrong, and am also interested in tips on how to compile from read-only source trees. Thanks

Panic during halt (5.2)

2012-11-05 Thread David Higgs
Got this panic while running "halt -p" to shut down my VMware system this evening. First time I've seen it and haven't been able to reproduce in several reboot since. I can't see this being related to my mistakes this morning with bsd.rd, but don't feel entirely confident it wasn't somehow my fau

Re: 5.2 bsd.rd -- panic: cannot open disk, error EINVAL

2012-11-05 Thread David Higgs
You guessed right. Apparently I don't understand the build process as well as I thought. I skipped the userland + release steps, since there hadn't been any -stable patches against those with 5.2. Sorry for the noise. --david On Mon, Nov 5, 2012 at 8:51 AM, Miod Vallat wrote: >> I seem to be

5.2 bsd.rd -- panic: cannot open disk, error EINVAL

2012-11-05 Thread David Higgs
I seem to be unable to boot from locally-compiled bsd.rd (i386). I have triple-checked everything I'm doing against release(8) instructions and tried both 5.2 -stable and release CVS tags; the result is the same: "panic: cannot open disk, 0x1100/0x2f02, error 22" It may be of note that the bsd.rd

Re: Signal handling questions

2012-10-14 Thread David Higgs
On Sun, Oct 14, 2012 at 1:07 AM, Philip Guenther wrote: > On Sat, Oct 13, 2012 at 9:38 PM, David Higgs wrote: >> Signal delivery can be nested/reentrant. Calling raise(3) in a signal >> handler -- even with the same signal number -- will work as expected >> (until you blo

Signal handling questions

2012-10-13 Thread David Higgs
I am continuing my wanderings through the guts of signal handling, and wonder if can anyone can help me confirm (or better understand) the end result from userland's point of view. Signal delivery can be nested/reentrant. Calling raise(3) in a signal handler -- even with the same signal number --

Re: man 2 sigprocmask

2012-10-06 Thread David Higgs
On Sat, Oct 6, 2012 at 7:48 PM, Philip Guenther wrote: > On Sat, Oct 6, 2012 at 4:06 PM, David Higgs wrote: >> It seems the sigprocmask syscall takes different arguments than the >> libc stub for sigprocmask(2). Though the differences are easily >> understood by browsin

man 2 sigprocmask

2012-10-06 Thread David Higgs
It seems the sigprocmask syscall takes different arguments than the libc stub for sigprocmask(2). Though the differences are easily understood by browsing source, there don't appear to be any man pages describing the syscall interface, and wonder if this is an intentional or accidental oversight.

vesafb and vesabios

2012-07-21 Thread David Higgs
Enabling either option VESAFB or the vesabios device without the other results in i386 kernel build failure. This patch works around the problem by removing #ifdef VESAFB in favor of NVESABIOS > 0. Feedback welcome, especially if consensus is that I'm wasting my time on this class of error becaus

Fix piixpcib compile w/o KVM86

2012-07-15 Thread David Higgs
Is it better to catch these "problems" at compile-time or link-time? (Apologies if this is a duplicate message, I'm trying to correctly configure my email client.) --david Index: pci/piixpcib.c === RCS file: /cvs/src/sys/arch/i386/p

Fix piixpcib compile w/o KVM86

2012-07-15 Thread David Higgs
Is it better to catch these "problems" at compile-time or link-time? --david Index: pci/piixpcib.c === RCS file: /cvs/src/sys/arch/i386/pci/piixpcib.c,v retrieving revision 1.7 diff -u pci/piixpcib.c --- pci/piixpcib.c 8 Jul 201

Re: smtpd - strange names in maillog

2012-06-13 Thread David Higgs
On Wed, Jun 13, 2012 at 3:06 PM, Jan Stary wrote: > On Jun 13 19:39:46, Jan Stary wrote: >> Through my smtpd, I am sending an email to an address >> in the fjfi.cvut.cz domain. The email get delivered alright, >> but the maillog message is strange: >> >> Jun 13 19:32:08 mini smtpd[7138]: 93fe4a4f:

Re: spamd greylisting: false positives

2012-05-27 Thread David Higgs
On Sun, May 27, 2012 at 7:19 PM, Peter N. M. Hansteen wrote: > David Diggles writes: > >> Or did you mean, this breaks spamlogd, rather? >> >> pass in on egress proto tcp from any to egress \ >> port smtp rdr-to 127.0.0.1 port spamd synproxy state >> >> This is what it was. The logging is on

Re: Watchdog timeout reset in 5.1 on intel nic:s

2012-05-10 Thread David Higgs
On Thu, May 10, 2012 at 1:18 PM, mxb wrote: > On 05/10/2012 09:14 AM, Garry Dolley wrote: > >> On Tue, May 08, 2012 at 07:58:30PM -0400, Simon Perreault wrote: >>> On 2012-05-08 19:08, Per-Olov Sjvholm wrote: It says "em1: watchdog timeout -- resetting" >>> >>> >>> I saw the same on an amd64

Re: 5.0 kernel won't compile on 4.9 i386 system

2012-01-28 Thread David Higgs
On Sat, Jan 28, 2012 at 12:42 PM, Stefan Midjich wrote: > Thanks everyone for the info, I clearly didn't read the whole FAQ but only > the parts I needed. > > The reason I was using 4.9 was because 5.0 i386 didn't boot in vmware > fusion 3, it hangs at mtrr. And since I was formatting a CF card fr

Unversioned files in 5.0 xenocara.tar.gz

2011-11-08 Thread David Higgs
FYI, I noticed that the 5.0 xenocara source tarball (md5 6a93f3cdcda1c22e6f65f8b978b14227) contains a number of items not found in CVS. Cursory inspection of a few files indicates they were attic'd between 4.9 and 5.0. Thanks for another great release! --david ? app/cwm/input.c ? app/iceauth/

altq / pf question

2011-10-06 Thread David Higgs
I enabled altq briefly on my OpenBSD router to throttle upstream traffic due to a buggy cable modem. It worked great, but I've since replaced the modem and removed the bandwidth constraints. Since I'm nowhere near saturating the link and haven't dropped any packets since then, is there any remain

Re: OpenBSD Access Point?

2010-12-07 Thread David Higgs
I just assembled my ALIX 2d13, and had a similar discussion (check the archives). But I had to make some compromises. 802.11n isn't supported by OpenBSD yet. Period. Simple consultation of the driver man pages would have noted that. I also believe that all drivers that support hostap also have

Re: Router components

2010-10-04 Thread David Higgs
On Mon, Oct 4, 2010 at 3:51 PM, russell wrote: > Stuart Henderson wrote: >> >> On 2010-10-04, David Higgs wrote: >>> >>> I am building a replacement router/firewall for home use and am >>> soliciting suggestions/commentary/alternatives on the compone

Re: Router components

2010-10-04 Thread David Higgs
On Sun, Oct 3, 2010 at 11:02 PM, Nick Holland wrote: > On 10/03/10 22:11, David Higgs wrote: >> I am building a replacement router/firewall for home use > > stop there. > > You aren't General Motors, Yahoo, or Google. > You are looking to spend a lot of time

Router components

2010-10-03 Thread David Higgs
I am building a replacement router/firewall for home use and am soliciting suggestions/commentary/alternatives on the components below. I've heard good things on the list about Supermicro boards; any surprises with their Atom D510 embedded boxes? Looks like em(4) support, which I believe is is an

Re: ral(4) driver and RT2860 + RT2850 chips

2009-04-09 Thread David Higgs
On Thu, Apr 9, 2009 at 1:40 AM, Chris Jones wrote: > Good evening, > > I just picked up a SparkLan WMIR-200N which I've put in my Soekris > net4501. The ral(4) driver says it supports the Ralink RT2860 and RT2850 > chips on this card. OpenBSD detects the card however when I configure it > in hosta

ral0 hangs during sftp

2009-01-24 Thread David Higgs
I recently installed 4.4-stable and started using wireless with WPA2. Basic web browsing had been working fine all week, but today I started moving some files around via sftp and suddenly the link stalled. Log messages indicate resource problems with named but not a total link failure, since dhcpd

Re: Packet Filter: how to keep device names on hardware failure?

2008-11-10 Thread David Higgs
On Mon, Nov 10, 2008 at 4:13 AM, Harald Dunkel <[EMAIL PROTECTED]> wrote: > Hi Theo, > > Theo de Raadt wrote: >>> This appears to be a fairly simple change. Does it sound reasonable to >>> people with more knowledge of OpenBSD networking? >> >> No, it is not reasonble. You are inventing problems

Re: problem to compile with -fno-stack-protector

2008-09-24 Thread David Higgs
On Wed, Sep 24, 2008 at 8:59 AM, alemus <[EMAIL PROTECTED]> wrote: > Hi, > > I tried to compile a simple program written in C with -fno-stack-protector > option and i have some troubles... > > this is my simple file main.c: > > int main() > { > int i; > short int *screen = (short int *) 0xB8000;

Re: Patching a SSH 'Weakness'

2008-09-12 Thread David Higgs
On Fri, Sep 12, 2008 at 5:41 PM, Toni Spets <[EMAIL PROTECTED]> wrote: > Stuart Henderson wrote: >> >> On 2008-09-12, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> > To all who opposed the suggestion to send one block of data >> > when the key is pressed: my suggestion strictly referred >> > to

Re: ntpd can hang on boot

2008-09-06 Thread David Higgs
On Sat, Sep 6, 2008 at 3:48 PM, Peter Fraser <[EMAIL PROTECTED]> wrote: > The time out for ntpd is definitely more that 10 minutes. I didn't wait any > longer. > > > The text of the startup pf.conf in /etc/rc is > > >RULES="block all" >RULES="$RULES\npass on lo0" >RULES="$RU

Re: 4.3 Bootloader waiting for keypress before loading kernel

2008-08-14 Thread David Higgs
On Thu, Aug 14, 2008 at 7:57 PM, Ryan Smith <[EMAIL PROTECTED]> wrote: > You have assumed that because I have used some resource for new users that I > have not read any of the official documentation. This would be untrue. In > fact, INSTALL.i386 was the first thing I read while grabbing the ISO,

relayd doc fix + bug?

2008-07-25 Thread David Higgs
relayd.conf.5: The first .Bq Ar action should probably read .Bq Ar type I was trying to set up some semblance of "virtual host" proxying with relayd (4.3-stable) and hit a stumbling block when my first attempt was something along the following: http protocol "my_http" { request url expect "m

Re: Does CUPS depend on X?! [oB newbie]

2008-07-13 Thread David Higgs
On Sun, Jul 13, 2008 at 10:03 AM, Nuno Magalhces <[EMAIL PROTECTED]> wrote: > Greetings, > > while trying to install CUPS i got this message: > > bash-3.2# pkg_add cups-1.2.7p9 > Can't install ghostscript-8.60: lib not found X11.11.1 > Dependencies for ghostscript-8.60 resolve to: libiconv-1.9.2p5,

Re: 4.3: netstat question

2008-06-14 Thread David Higgs
On Sat, Jun 14, 2008 at 9:16 PM, Henning Brauer <[EMAIL PROTECTED]> wrote: > * David Higgs <[EMAIL PROTECTED]> [2008-06-15 01:59]: >> On Sat, Jun 14, 2008 at 1:11 PM, Henning Brauer <[EMAIL PROTECTED]> wrote: >> > * Toni Mueller <[EMAIL PROTECTED]> [2008-0

Re: 4.3: netstat question

2008-06-14 Thread David Higgs
On Sat, Jun 14, 2008 at 1:11 PM, Henning Brauer <[EMAIL PROTECTED]> wrote: > * Toni Mueller <[EMAIL PROTECTED]> [2008-06-14 11:29]: >> Would it be possible to walk along the live table, without copying the >> table, or would the continuous stream of route inserts and deletes lead >> to a corrupted

Re: dvorak key layout

2008-03-15 Thread David Higgs
man kbd On Sat, Mar 15, 2008 at 10:17 PM, Timothy Wilson <[EMAIL PROTECTED]> wrote: > Hello misc@, > > I was wondering how I can use a dvorak keyboard on the console? I've > googled, but I can only find how to's for X11, or for 2.x OpenBSD. I'm > sure its something simple in rc.conf (.local!),

Re: OBSD hacks at ruxcon

2008-03-04 Thread David Higgs
On Tue, Mar 4, 2008 at 9:57 PM, steve szmidt <[EMAIL PROTECTED]> wrote: > Hi, > > I'm curious what the developers think about the attack angles Ben Hawkes put > forth at Ruxcon in 2006. I did manage to find a note in an archive suggesting > that these doors were closed, but I could not tell if t

Re: DHCP client failure with cable modem

2008-02-22 Thread David Higgs
On Fri, Feb 22, 2008 at 6:11 PM, David Murphy <[EMAIL PROTECTED]> wrote: > Greetings folks. This week I undertook a project to replace my cheapo home > broadband router with an old laptop running OpenBSD. Success appeared to > have been achieved, but I've run into a snag in the final implementati

Re: Multi-Threaded SSH/SCP made by university of Puttsburgh

2008-02-19 Thread David Higgs
On Feb 19, 2008 9:55 AM, chris rapier <[EMAIL PROTECTED]> wrote: > dhiggs wrote: > > If someone can split SSH into multiple threads, it should be just as > > possible to split it into multiple processes. However, I expect that > > most high-speed SSH traffic is SCP-/SFTP-based and therefore largel

Re: OT: supposed advantages of "threads"

2008-02-18 Thread David Higgs
On Feb 18, 2008 1:26 PM, Geoff Steckel <[EMAIL PROTECTED]> wrote: > This is my last posting on this, take heart. > > The "threads" advocates have never specified any > advantages of a program written using that model > (multiple execution points in a single image) > over a multiple process model, a

Re: take threads off the table

2008-02-17 Thread David Higgs
On Feb 17, 2008 11:16 PM, Geoff Steckel <[EMAIL PROTECTED]> wrote: > David Higgs wrote: > > Assuming that a software program is not system-critical or requires > > high security, and it benefits greatly from a shared memory/resource > > model, I fail to see why threadin

Re: take threads off the table

2008-02-17 Thread David Higgs
On Feb 17, 2008 8:01 PM, Geoff Steckel <[EMAIL PROTECTED]> wrote: > Gregg Reynolds wrote: > > On 2/17/08, Marc Balmer <[EMAIL PROTECTED]> wrote: > >> Geoff Steckel wrote: > >> > >>> Threads or any other form of uncontrolled resource sharing > >>> are very bad ideas. > >> that might be true for thos

  1   2   >