Re: does openbsd support file history?

2025-06-29 Thread David Diggles
On 2025-06-27 07:33, Ethan Azariah wrote: do any openbsd filesystems support any sort of file history, whether through snapshots or as a log structured filesystem or any other way? I just use dump and restore which is part of the base install. I like how it can capture incremental change and r

Re: syspatch: kernel relinking failure

2025-06-19 Thread David Diggles
at is: filename: criteria (shouldbe, reallyis) usr/sbin: gid (0, 7) mtree special: exit code 2 On 2025-06-20 13:13, David Diggles wrote: Thanks. Yeah probably not critical, I'm mainly using it for its serial ports, for console access to other devices. Backing up state tables was just a

Re: syspatch: kernel relinking failure

2025-06-19 Thread David Diggles
ut that CF sometime and test the theory. On 2025-06-20 12:54, obs...@loopw.com wrote: On Fri, 20 Jun 2025 12:42:06 +1000 David Diggles wrote: This is the disk space available on mine. Filesystem SizeUsed Avail Capacity Mounted on /dev/wd0a 1021M144M826M15%/ /dev/wd0e

Re: syspatch: kernel relinking failure

2025-06-19 Thread David Diggles
: On Thu, 19 Jun 2025 04:32:35 + Lloyd wrote: I encountered a relink failure after the last syspatch as well. https://marc.info/?l=openbsd-bugs&m=175023041416172&w=2 David Diggles wrote: > Any ideas? I'm thinking maybe the root disk is on a bad CF card. both David'

syspatch: kernel relinking failure

2025-06-18 Thread David Diggles
Any ideas? I'm thinking maybe the root disk is on a bad CF card. Get/Verify syspatch77-001_nfs.tgz 100% |***| 158 KB 00:00 Installing patch 001_nfs Get/Verify syspatch77-002_zic.tgz 100% |

Re: 7.7 ssh to 7.6/octeon: incorrect signature

2025-05-10 Thread David Diggles
Ahh thanks! Yes, still unpatched. It'll soon be upgrading it to 7.7 anyway. On 2025-05-11 02:48, Theo Buehler wrote: On Sun, May 11, 2025 at 02:23:32AM +1000, David Diggles wrote: I am curious if anyone else can reproduce this or do I have something screwed up on my 7.6/octeon When

7.7 ssh to 7.6/octeon: incorrect signature

2025-05-10 Thread David Diggles
I am curious if anyone else can reproduce this or do I have something screwed up on my 7.6/octeon When I ssh from OpenBSD 7.7 to an OpenBSD 7.6/octeon machine I am getting connection failure with this error: (last 2 lines of ssh -vv output) debug2: ssh_ed25519_verify: crypto_sign_ed25519_ope

Re: Export a mfs filesystem

2025-04-23 Thread David Diggles
128,d24999a5c0ce69f4,980070abbd98,8c38360bccb05d3a ) ra 0x81157a38 sp 0x980070abbf90, sz 64 u_general+0xd8 (980076e73128,d24999a5c0ce69f4,980070abbd98,25b5579648) r a 0x0 sp 0x980070abbfd0, sz 0 User-level: pid 36282 On 2025-04-22 11:53, David Diggles wrote: Is exporting mfs

Export a mfs filesystem

2025-04-21 Thread David Diggles
Is exporting mfs not supported? Substitute for a ffs filesystem and the below works, but not when it's mfs. Am I likely to have the same problem with tmpfs? root@charlie ~:1# showmount -e nfshost Exports list on nfshost: /ramdisk charlie root@charlie ~:0# rpcinfo -p n

pflogd smashing the cpu

2024-12-12 Thread David Diggles
Maybe someone will read this and avoid the problem I had. I just noticed the pflogd process was running at 85%. After a bit stuffing around with tcpdump and wondering why a low logging rate would be doing this, the penny dropped: Yes. /var was full.

Re: dhcpleased losing route

2023-05-11 Thread David Diggles
Yes this is now fixed. Thanks everyone! Stuart's suggestion of "received-on" is indeed excellent and is what I've used. On Thu, May 11, 2023 at 04:13:34PM +0200, Florian Obser wrote: > On 2023-05-11 08:08 +10, David Diggles wrote: > > On Thu, May 11, 2023 at 07:27

Re: dhcpleased losing route

2023-05-11 Thread David Diggles
in why the initial DHCP:OFFER > took so long as well.) > > But you don???t show what happens when the lease is to be renewed in your > dump. That is where you received the NAK on OpenBSD which caused your machine > t

Re: dhcpleased losing route

2023-05-10 Thread David Diggles
Ok here's the Apple pcap for a working implementation. tcpdump -r airport.dhcp.pcap tcpdump: WARNING: snaplen raised from 116 to 1500 12:26:04.010316 0.0.0.0.bootpc > 255.255.255.255.bootps:

Re: dhcpleased losing route

2023-05-10 Thread David Diggles
offset 0, flags [none], length: 328) 202.63.66.1.67 > 202.63.67.36.68: [udp sum ok] UDP, length: 300 On Wed, May 10, 2023 at 04:38:25PM +0200, Florian Obser wrote: > ( this is a good dhcp state diagram to follow along at home: > https://commons.wikimedia.org/wiki/File:DHCP_Client_State_Diagram_

Re: dhcpleased losing route

2023-05-10 Thread David Diggles
On Thu, May 11, 2023 at 07:27:22AM +1000, Jonathan Matthew wrote: > > This looks like the thing I ran into a while ago where I had an overly > broad nat-to rule for outgoing traffic that applied to traffic from the > host as well as the networks behind it. This meant dhcpleased's unicast > packet

Re: dhcpleased losing route

2023-05-10 Thread David Diggles
I probably should have done numeric tcpdump output. Here's both again. tcpdump: WARNING: snaplen raised from 116 to 1500 22:36:40.276682 0.0.0.0.68 > 255.255.255.255.67: xid:0x74253f08 vend-rfc1048 DHCP:REQUEST HN:"sarah" CID:1.220.159.219.40.20.191 PR:SM+DG+NS+HN+DN+BR+119+121 RQ:202.63.67.36

Re: dhcpleased losing route

2023-05-10 Thread David Diggles
On Wed, May 10, 2023 at 05:55:28AM -, Stuart Henderson wrote: > On 2023-05-10, David Diggles wrote: > > My ISP provides connection via DHCP. > > > > Every 5 minutes or so when dhcpleased is renewing the lease, > > my default route disappears for a few seconds.

Re: dhcpleased losing route

2023-05-10 Thread David Diggles
and up for some reason every 5 minutes? That might > cause dhcpleased(8) to renew the lease. > > > HTH > Mike > > > Am 10.05.2023 um 07:28 schrieb Otto Moerbeek : > > > > On Wed, May 10, 2023 at 01:17:05PM +1000, David Diggles wrote: > > > >>

Re: dhcpleased losing route

2023-05-09 Thread David Diggles
Just to update, I've added the following to dhclient.conf but it's still renewing every 5 minutes (approximately) and the default route is disappearing for a couple of seconds. :( send dhcp-lease-time 86400; On Wed, May 10, 2023 at 01:00:00PM +1000, David Diggles wrote: > My

dhcpleased losing route

2023-05-09 Thread David Diggles
My ISP provides connection via DHCP. Every 5 minutes or so when dhcpleased is renewing the lease, my default route disappears for a few seconds. Definitely I'll be looking at requesting a longer lease by putting a setting in /etc/dhclient.conf but is there any way I can stop the default route dis

Re: hardware

2023-04-18 Thread David Diggles
On 2023-04-19 01:40, folly bololey wrote: It doesn't matter whether the cat is black or white, as long as it catches mice. Black cat is more stealthy just a different hunting strategy and depends on the lighting. white cats would be stealthier in snow, or ambushing from above in the day time

Re: IPsec and MTU / fragmentation

2020-10-29 Thread David Diggles
On Mon, Feb 10, 2020 at 05:15:00PM +, Peter M??ller wrote: > Hello Lucas, > > as far as I understood, setting MTU on encN interfaces is not supported > since it is not mentioned by enc(4) and setting it manually fails: > > > machine# ifconfig enc0 mtu 1500 > > ifconfig: SIOCSIFMTU: Inappropri

Re: Cannot start conversation using talk

2020-02-22 Thread David Diggles
On Wed, Feb 19, 2020 at 09:08:07PM +, b...@0x1bi.net wrote: > I've set my hostname to point to 127.0.0.1 and I still receive the > same error. I tried with and without the domain information. > > Is there a log for talkd or inetd? I've attempted to use the -d > flag for inetd however I receive

Re: Automated remote install

2018-12-20 Thread David Diggles
>Note that I'm referring to KVM providers (traditional VPS providers), >not >"public cloud". The big boys - AWS, Azure, Google, etc. are not >interested >in OpenBSD. However it's possible to build for AWS. https://github.com/ajacoutot/aws-openbsd

Re: Can't get FTP through pf

2013-04-03 Thread David Diggles
Looks like these are your conflicting rules. > pass in quick inet proto tcp to port ftp divert-to 127.0.0.1 port 8021 > pass in on $ext_if proto tcp to port 21 The first rule needs to be on $int_if - you didn't specify an interface so it then defaults to all interfaces.

Re: Can't get FTP through pf

2013-04-03 Thread David Diggles
Your pf.conf differs from examples in the faq. I would suggest turn logging on in pf, and do: tcpdump -n -e -ttt -i pflog0 Then you can see why it's failing. On Thu, Apr 04, 2013 at 09:38:57AM +1100, John Tate wrote: > I've got a gateway computer I also I want to be an ftp server. I've put > eve

Re: Squid proxy

2013-03-11 Thread David Diggles
I do transparent on mine, to save effort configuring proxies. There is autoconfig, but some clients don't support it. Some clients don't even support entering a proxy server. ... and I don't proxy https. If I want control over who gets out, I use authpf.

Re: Get total size of all files in directory using unit Bytes?

2013-03-04 Thread David Diggles
Or with subdirectories find . -type f -ls | awk '{sum += $7} END {print sum}'

Re: how to use cpu affinity from user space

2013-01-22 Thread David Diggles
nBSD does for me. On Tue, Jan 22, 2013 at 11:55:51AM +0100, Gregor Best wrote: > On Tue, Jan 22, 2013 at 07:56:22PM +1000, David Diggles wrote: > > Then if the scheduler always knows what's best, the backup process will be > > completely uninhibited, on a system maxed out on

Re: how to use cpu affinity from user space

2013-01-22 Thread David Diggles
Then if the scheduler always knows what's best, the backup process will be completely uninhibited, on a system maxed out on all cores. On Tue, Jan 22, 2013 at 09:29:43AM +0100, Peter Hessler wrote: > On 2013 Jan 22 (Tue) at 09:25:04 +0500 (+0500), ?? wrote: > :Hello! > : > :I'

Re: pf block unwanted traffic

2013-01-15 Thread David Diggles
Hello List, I just got a similar event in my pflog. Jan 16 16:08:02.435283 rule def/(short) pass in on pppoe0: 50.112.59.10.0 > 59.167.212.41.0: SFRWE [bad hdr length] I don't know what this is, or why it is passed. Can someone explain or attempt a guess at what this is? The intention of my p

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread David Diggles
> > Maybe the following will help. > > > > See "Tuning for More" > > http://wiki.squid-cache.org/BestOsForSquid > > > > I use mount options: noatime and async. > > I don't use softdep for squid cache either. > > that is not good policy. you are asking for trouble. Thanks for the opinion. Yeah I

Re: Disk accesses freeze for a lot of seconds

2013-01-06 Thread David Diggles
Maybe the following will help. See "Tuning for More" http://wiki.squid-cache.org/BestOsForSquid I use mount options: noatime and async. I don't use softdep for squid cache either. I found aufs worked best for storage scheme (in squid.conf). I am curious. Anyone out there using diskd? On Sun, J

Re: Best postscript printer with network support?

2012-12-27 Thread David Diggles
>I want to avoid HP. Why? I got a Jaserjet 8150DN second hand for $50. Works perfectly.

Re: openbsd clusters

2012-12-22 Thread David Diggles
On Sat, Dec 22, 2012 at 09:12:27AM -0500, Jiri B wrote: > On Sat, Dec 22, 2012 at 01:23:12PM +, Stuart Henderson wrote: > > > But for other services i don't have now what i could use. A example: i > > > need > > > a file system that must expand by adding more machine in the network in a > > >

Re: how to make power off button work like halt -p

2012-11-22 Thread David Diggles
You could try uncommenting one of these in /etc/sysctl.conf #machdep.apmhalt=1 # 1=powerdown hack, try if halt -p doesn't work #machdep.kbdreset=1 # permit console CTRL-ALT-DEL to do a nice halt Also, check your BIOS settings. On OnThu, Nov 22, 2012 at 11:13:26PM +0800

Re: xfsdump INTERRUPT

2012-11-20 Thread David Diggles
http://lmgtfy.com/?q=xfs+mailing+list On Tue, Nov 20, 2012 at 01:08:03PM -0800, rlinsurf wrote: > Can you tell me which list it belongs in? > > Best, > J. > > On Nov 20, 2012, at 3:59 PM, "Jiri B-2 [via OpenBSD]" > wrote: > > > On Mon, Nov 19, 2012 at 02:10:09PM -0800, rlinsurf wrote: > > >

Re: OpenBSD hangs when i unplug USB disk

2012-11-15 Thread David Diggles
did you unmount it first? Marcos Laufer wrote: >Hello, i'd like to inform a problem when dettaching an external 1TB USB > >disk drive , the system just freezes, i can't type anything. Also It >stops responding to ping. >If i don't unplug it then i can use the disk normally, i can copy and >del

Re: a pf ruleset 5.2

2012-11-09 Thread David Diggles
On Tue, Nov 06, 2012 at 08:04:42PM +0059, Norman Golisz wrote: > match on egress inet proto tcp set prio(1, 7) And on 5.1 it was slightly different syntax; match on egress inet proto tcp prio(1, 7) Don't get caught :-)

Re: spam filtering misc spams

2012-10-09 Thread David Diggles
On Mon, Oct 08, 2012 at 12:11:43PM -0400, Ted Unangst wrote: > On Tue, Oct 09, 2012 at 00:40, David Diggles wrote: > > I'm interested in hearing about peoples experiences with spam filtering > > the spam > > emails that make it through to misc. Mostly non-e

spam filtering misc spams

2012-10-08 Thread David Diggles
I'm interested in hearing about peoples experiences with spam filtering the spam emails that make it through to misc. Mostly non-english. I have been using SpamAssassin and training it, yet the bayes in default weightings are not enough to get the misc spams into my spam box... in fact many still

Re: minipci wifi card for an ap, suggestions?

2012-10-03 Thread David Diggles
On Wed, Oct 03, 2012 at 04:50:57PM +1000, Aaron Mason wrote: > On Wed, Oct 3, 2012 at 4:43 PM, David Diggles wrote: > > On Wed, Oct 03, 2012 at 07:29:42AM +0059, Jason McIntyre wrote: > >> On Wed, Oct 03, 2012 at 04:04:14PM +1000, David Diggles wrote: > >> > I am loo

Re: minipci wifi card for an ap, suggestions?

2012-10-02 Thread David Diggles
On Wed, Oct 03, 2012 at 07:29:42AM +0059, Jason McIntyre wrote: > On Wed, Oct 03, 2012 at 04:04:14PM +1000, David Diggles wrote: > > I am looking for a minipci wifi card I can use to run as > > Host AP. > > > > After reading ath(4) man page I bought a: > >

minipci wifi card for an ap, suggestions?

2012-10-02 Thread David Diggles
I am looking for a minipci wifi card I can use to run as Host AP. After reading ath(4) man page I bought a: Wistron CM9 AR5212 Mini PCI a/b/g Unfortunately the machine will not boot with it plugged in. Can anyone suggest a minipci wifi card that will work as Host AP?

Re: kern.maxclusters vs syn proxy

2012-10-02 Thread David Diggles
I think when a lot of newbies read the pf manual, they think oh... synproxy looks like it does good things, and without really understanding it, enable it by default? On Tue, Oct 02, 2012 at 02:33:11PM +0200, Henning Brauer wrote: > * David Diggles [2012-10-02 13:51]: > > but is this

Re: kern.maxclusters vs syn proxy

2012-10-02 Thread David Diggles
but is this clear for newbies who read all the faqs? On Tue, Oct 02, 2012 at 01:17:03PM +0200, Henning Brauer wrote: > * ?? [2012-08-23 08:44]: > > 2012/8/23 Claudio Jeker > > > On Thu, Aug 23, 2012 at 12:17:04AM +0600, ??? wrote: > > > > why syn proxy is not enable

Re: terminal q

2012-09-20 Thread David Diggles
Mud clients can be good for this, but I don't know of one that supports ssh. I use tintin. There is also tinyfugue in ports. On Thu, Sep 20, 2012 at 02:25:25PM +0300, Gregory Edigarov wrote: > Hi everybody. > > I am not very sure if that was asked before, and may be I was the person > who aske

Re: i want emulate middle button back

2012-08-22 Thread David Diggles
man mouse Option "Emulate3Buttons" "boolean" Enable/disable the emulation of the third (middle) mouse button for mice which only have two physical buttons. The third button is emulated by pressing both buttons simultaneously. Default:

Re: OpenBSD Captive Portal

2012-08-20 Thread David Diggles
On Mon, Aug 20, 2012 at 12:42:16PM -0700, Byron Klippert wrote: > The web interfaces interact with the system through CGI scripts, httpd > is run chroot disabled (httpd_flags="-u"). Just one comment for now. You can run it as chroot if you copy any dependancies into the chroot, including binaries

Re: kill a stale user session?

2012-08-05 Thread David Diggles
) > root 22538 0.0 0.5 3428 2828 ?? Is 8:06PM0:00.06 sshd: > acheng [priv] (sshd) > acheng 18141 0.0 0.6 3880 2920 ?? S 8:06PM0:02.19 sshd: > acheng@ttyp1 (sshd) > > Thanks for the response. > > acheng > > On Mon, Aug 6, 2012 at 11:42 A

Re: kill a stale user session?

2012-08-05 Thread David Diggles
On Mon, Aug 06, 2012 at 01:38:27PM +1000, David Diggles wrote: > Try this? > > ps aux|fgrep acheng@ttyp3 ps aux|fgrep acheng@ttyp4 do you get the sshd process id you can kill? > On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote: > > Hello all, > > > >

Re: kill a stale user session?

2012-08-05 Thread David Diggles
Try this? ps aux|fgrep acheng@ttyp3 On Mon, Aug 06, 2012 at 10:56:00AM +0800, Alan Cheng wrote: > Hello all, > > I'd like to kill an stale user session, but could not find a way to do > that. Seems like there is no process attached to that ttyp4 any more. It's > an OpenBSD 5.1 on i386, by the wa

Re: Shellscript escaping problem

2012-08-04 Thread David Diggles
On Fri, Aug 03, 2012 at 10:41:09PM -0700, Philip Guenther wrote: > On Fri, Aug 3, 2012 at 9:35 PM, David Diggles wrote: > ... > > here's an example of how not to script rsync, when just starting > > to learn how to script > > > > it got over complicated over

Re: Shellscript escaping problem

2012-08-03 Thread David Diggles
On Thu, Aug 02, 2012 at 11:21:01PM +0200, Martijn Rijkeboer wrote: > Hi, here's an example of how not to script rsync, when just starting to learn how to script it got over complicated over time. i should rewrite it sometime :) #!/bin/bash SCRIPT=${0##*/} BASE=/archive0/_backup SSHOPTS="-q -o

Re: Calomel.org

2012-07-26 Thread David Diggles
In some ways, it is almost fortunate the calomel meme exists to keep reminding newcomers, as annoying as repetition is. It's the nature of things. I fell for it in the past. Others will in the future. On Thu, Jul 26, 2012 at 11:01:41AM +0200, Wojciech Puchar wrote: > I first read the documentat

Re: Calomel.org

2012-07-26 Thread David Diggles
The calomel phenomenon is fascinating! I was calomeled. Those who have been calomeled have done the following: 1. lazily google: "openbsd tuning" (or similar) 2. click on: "Network Tuning and Performance Guide (OpenBSD) - Calomel" (currently ranked 2 on google) 3. lazy and in a hurry to get "

Re: Calomel.org

2012-07-25 Thread David Diggles
Apparently calomel is full of bad and/or outdated advice for openbsd, especially the sysctl tuning stuff. Your best advice is to follow the official FAQ's on openbsd.org, and read openbsd man pages to learn your techniques. Maybe there needs to be a calomel faq on openbsd.org. On Thu, Jul 26, 20

Re: sshguard

2012-07-25 Thread David Diggles
How secure is the principle of log sucking for anything more than stats? The inherent assumptions are risky I would think. I mean, if someone could deliberately craft certain strings with spaces or tabs that get passed, then they could subvert the sucking script. There is an absolute reliance on

Re: Any recommendation for WAN optimization?

2012-07-25 Thread David Diggles
You need to ask a better quality question? It is not clear what you mean, or what you are trying to do. On Thu, Jul 26, 2012 at 08:48:42AM +0530, Girish Venkatachalam wrote: > > > On Tue, Jul 24, 2012 at 10:10 PM, Girish Venkatachalam > wrote: > > Particularly for MS SQL kind of stuff? > > > >

Re: switching between ethernet and wifi

2012-07-23 Thread David Diggles
I have the same interfaces on my netbook. I use trunk in the following way. root@varis:etc:0# cat hostname.re0 up root@varis:etc:0# cat hostname.urtwn0 nwid "De Gaulles" \ wpakey hackme up root@varis:etc:0# cat hostname.trunk0 trunkproto failover trunkport re0 trunkport urtwn0 dhcp !/sbin/pfctl -

Re: Re : Apache won't start after pecl-imagick installation

2012-07-20 Thread David Diggles
Maybe a stupid question, but did you create the certificate the steps in the FAQ? http://www.openbsd.org/faq/faq10.html#HTTPS On Fri, Jul 20, 2012 at 09:23:53AM +0100, Mik J wrote: > Hello, > > I'm coming back with this Apache startup that works fine but yesterday > I added the -DSSL option in

Re: Speeding up scp over 10GigE, suggestions?

2012-07-20 Thread David Diggles
Ciphers=arcfour128 -o MACs=umac...@openssh.com] 73.03851640513552068473 MB/s 72.72727272727272727272 MB/s 68.63270777479892761394 MB/s 68.35781041388518024032 MB/s I have compiled hpn-ssh but not yet tested it locally or over the wan. On Fri, Jul 20, 2012 at 05:33:33PM +1000, David Diggles wrote

Re: Speeding up scp over 10GigE, suggestions?

2012-07-20 Thread David Diggles
=arcfour128] 63.50306913748638001067 MB/s 63.09124016939771183475 MB/s 61.51859822693993063534 MB/s 52.67600175573777350882 MB/s On Thu, Jul 19, 2012 at 11:51:50AM +, Christian Weisgerber wrote: > David Diggles wrote: > > > I am looking for ways to speed up scp over 10GigE. >

Re: Speeding up scp over 10GigE, suggestions?

2012-07-19 Thread David Diggles
On Thu, Jul 19, 2012 at 08:08:26AM +0200, Jan Stary wrote: > > have you also tried -o 'Compression no'? > I have now. No real difference; SSH Options: [-o Ciphers=arcfour -o Compression=no] 64.68132476895114469583 MB/s 63.56096147431307883010 MB/s 61.69097005503488103824 MB/s 61.414735072038688

Re: Speeding up scp over 10GigE, suggestions?

2012-07-18 Thread David Diggles
Hmmm, ok... hpn-ssh looks like the go. http://www.psc.edu/index.php/hpn-ssh http://www.nren.nasa.gov/hpn_ssh.html http://www.hpsc.csiro.au/userguides/faq/ssh.php#hpn-ssh

Speeding up scp over 10GigE, suggestions?

2012-07-18 Thread David Diggles
I am looking for ways to speed up scp over 10GigE. With parallel transfer of 4x 8GB files, I get the following test results with various ciphers. These tests maxed out 4 cores with encryption overhead. SSH Options: [] 42.19127261151704773780 MB/s 41.32435720074992870891 MB/s 41.222553009774490374

Re: bsd.rd anonymous ftp login broken?

2012-07-11 Thread David Diggles
Use http then? To get you out of trouble. Since other people dont have the problem, something fishy going on at your ISP? I was once with an ISP that had a transparent proxy for http. I noticed because it was serving dated content, and the IP address on my remote server logs were not my own. M

Re: dmesg reporting different clock speeds on different cores

2012-07-09 Thread David Diggles
On Mon, Jul 09, 2012 at 10:22:34AM +0200, Peter Hessler wrote: > On 2012 Jul 09 (Mon) at 15:20:19 +1000 (+1000), David Diggles wrote: > :dmesg|grep ^cpu[0-9]*: > > Every time I see this, I stop reading the mail. Please, for the love of > everything (un)holy, stop doing this

Re: dmesg reporting different clock speeds on different cores

2012-07-08 Thread David Diggles
Sorry, OpenBSD generic , 5.1 release. On Mon, Jul 09, 2012 at 03:20:19PM +1000, David Diggles wrote: > I am just curious. > > Would someone mind explaining why the clock speed reports > as different for cpu1? Both cores are on the same cpu. > > dmesg|grep ^cpu[0-9]*: > c

dmesg reporting different clock speeds on different cores

2012-07-08 Thread David Diggles
I am just curious. Would someone mind explaining why the clock speed reports as different for cpu1? Both cores are on the same cpu. dmesg|grep ^cpu[0-9]*: cpu0: Intel(R) Atom(TM) CPU D525 @ 1.80GHz ("GenuineIntel" 686-class) 1.81 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MC

Re: OpenBSD - UEFI Secure Boot

2012-07-07 Thread David Diggles
With all the investment in non MS, mission critical / non portable apps, in the proprietry world alone, do you really think Microsoft can ever take over all of i386? Surely they can only try, and keep on trying, but it is an unwinnable arms race, and someone is going to be willing to pay for a bac

Re: masive problems with bind, need secondaty advice...

2012-06-28 Thread David Diggles
Put these in your options. forward first; forwarders { Your-ISP-DNS-server0; Your-ISP-DNS-server1; } On Fri, Jun 29, 2012 at 07:30:31AM +0200, Ton Muller wrote: > ok, this is the situation. > i have setup named for caching entries ,and local DNS serving. > normaly i have nameserver 192.168.1.254

Re: how to configure DHCP on trunk interfaces ?

2012-06-27 Thread David Diggles
Here is an example from my netbook. # cat hostname.re0 up # cat hostname.urtwn0 nwid myAP \ wpakey myPassword up # cat hostname.trunk0 trunkproto failover trunkport re0 trunkport urtwn0 dhcp On Wed, Jun 27, 2012 at 05:04:26PM +0600, ??? wrote: > Hello! > > it works for em0, if I put "DH

Re: Something other than getty/login on console?

2012-06-24 Thread David Diggles
: > da...@elven.com.au (David Diggles), 2012.06.15 (Fri) 00:20 (CEST): > > I want the default login console to run something like > > /usr/games/worms -n100 > > or > > rsh host /opt/local/bin/xaos -driver aa -autopilot > > the way I do it... > > $ grep ttyC0

Re: "Seagate Expansion" 3T disk works via USB but not via SATA

2012-06-21 Thread David Diggles
I would be happy to test it out. On Thu, Jun 21, 2012 at 04:40:20PM -0700, Matthew Dempsky wrote: > On Thu, Jun 21, 2012 at 9:38 AM, David Diggles wrote: > > That is my plan b for down the track. ?I will live with it on USB for now. > > > > Pretty happy with this new Atom

Re: "Seagate Expansion" 3T disk works via USB but not via SATA

2012-06-21 Thread David Diggles
-21, David Diggles wrote: > > Oh ok, then I am out of luck on this. > > This BIOS does not have an ahci mode for sata. > > plug-in sili(4)?

Re: "Seagate Expansion" 3T disk works via USB but not via SATA

2012-06-21 Thread David Diggles
Oh ok, then I am out of luck on this. This BIOS does not have an ahci mode for sata. Thanks for the info. On Fri, Jun 22, 2012 at 12:26:23AM +1000, Jonathan Gray wrote: > On Thu, Jun 21, 2012 at 11:54:55PM +1000, Jonathan Gray wrote: > > It seems the lba48 capacity values being pulled out aren't

Re: "Seagate Expansion" 3T disk works via USB but not via SATA

2012-06-21 Thread David Diggles
I have not tried this with the a latest snapshot, or with i386 yet. Should I? On Thu, Jun 21, 2012 at 09:52:41PM +1000, David Diggles wrote: [SNIP] > As a USB device ... Oops, this is the SATA. > root@tara:log:0# disklabel wd0 > # /dev/rwd0c: > type: SCSI > disk: SC

"Seagate Expansion" 3T disk works via USB but not via SATA

2012-06-21 Thread David Diggles
Could this USB disk have been crippled by Seagate to not work as a SATA device? The disk I am trying to mount is pulled out of an external "Seagate Expansion" USB drive, PN 9SE2N9-500, and plugged directly into the SATA on an motherboard. I have a single ffs2 2.8T partition. It works and mounts

Re: acpitz critical temperature is too high

2012-06-19 Thread David Diggles
I think one problem with using syslog triggers is opening op the risk for DOS attack if someuser or some internet connection into a service finds a way to trick syslog to print strings, to.. shutdown a server. On Mon, Jun 18, 2012 at 11:36:46PM -0700, Robert Connolly wrote: > Another idea I forgo

Re: Can someone describe these possible long term effects and provide an explicit description of these kernel parameters?

2012-06-14 Thread David Diggles
On Fri, Jun 15, 2012 at 07:02:07AM +0200, Otto Moerbeek wrote: > On Thu, Jun 14, 2012 at 01:54:33PM -0500, Tristin Davis wrote: > > > Upgrading is simply not an option. It all comes down to having the > > engineering staff, money, and downtime available. Unfortunatly, we have > > none of the above

Something other than getty/login on console?

2012-06-14 Thread David Diggles
I want the default login console to run something like /usr/games/worms -n100 or rsh host /opt/local/bin/xaos -driver aa -autopilot Instead of /usr/libexec/getty std.9600 I have tried changing it in /etc/ttys but this is not working. How can I go about doing this? It's for a mac68k ascii art

Re: let user can only run one command (passwd)?

2012-06-14 Thread David Diggles
One easy way is to do this. Make their login shell /bin/rksh Make their login PATH /somepath and cp /usr/bin/passwd /somepath You can take it a lot further, but this is an easy start. On Thu, Jun 14, 2012 at 06:01:14PM +0800, f5b wrote: > I have setup OpenSMTPD + dovecot + roundcube simple mail

Re: Large (3TB) HDD support

2012-06-05 Thread David Diggles
On Tue, Jun 05, 2012 at 09:40:15AM -0400, Nick Holland wrote: > On 06/05/2012 07:40 AM, David Diggles wrote: > ... > >What a bummer, the Dell Precision 690 I am currently trying does not > >support> 2TB > >on its SAS or SATA controller. > > > >Oddly, the S

Re: Large (3TB) HDD support

2012-06-05 Thread David Diggles
On Sat, Jun 02, 2012 at 09:44:35AM +1000, David Diggles wrote: > On Fri, Jun 01, 2012 at 04:32:19PM -0700, Chris Cappuccio wrote: > > Nick Holland [n...@holland-consulting.net] wrote: > > > * you don't want to fsck a 3TB file system, 'specially if it is > > > r

Re: SMTP server pools at odds with the RFC?

2012-06-04 Thread David Diggles
On Mon, Jun 04, 2012 at 12:34:04PM +, Stuart Henderson wrote: > On 2012-06-04, David Diggles wrote: > > I was just thinking surely resending from a different IP breaks the RFC for > > SMTP? > > > > Then I did some googling, and found this. > > http://bsdly.bl

SMTP server pools at odds with the RFC?

2012-06-04 Thread David Diggles
I was just thinking surely resending from a different IP breaks the RFC for SMTP? Then I did some googling, and found this. http://bsdly.blogspot.com.au/2008/10/ietf-failed-to-account-for-greylisting.html Thanks, Peter. So now it is 4 years later, has anything happened?

Re: spamd-setup fails from cron

2012-06-04 Thread David Diggles
ng it to the list, because archiving a possibly buggy script that someone may copy someday is not a great idea. However I think the methodology is now sound, so write your own or mail me directly if you want a copy of it to adopt. On Fri, Jun 01, 2012 at 04:45:24PM +1000, David Diggles

Re: Large (3TB) HDD support

2012-06-01 Thread David Diggles
On Fri, Jun 01, 2012 at 04:32:19PM -0700, Chris Cappuccio wrote: > Nick Holland [n...@holland-consulting.net] wrote: > > * you don't want to fsck a 3TB file system, 'specially if it is > > rebuilding the mirror at the same time, though with 12G RAM, you > > might be able to do it. > > > > Isn't t

Re: spamd-setup fails from cron

2012-05-31 Thread David Diggles
> #!/bin/sh > remaining=$1;shift > cmd=$@ > lock=/var/run/$(basename $1).lock > [ -f $lock ] || { > touch $lock > while [ $remaining -gt 0 ]; do > seconds=$(($RANDOM % $remaining)) > echo $(date) $seconds >> $lock > sleep $seconds > $cmd && return || remaining=$(($remaining - $s

Re: spamd-setup fails from cron

2012-05-31 Thread David Diggles
On Fri, Jun 01, 2012 at 03:47:21PM +1000, David Diggles wrote: [ snip ] > sleep $s [ snip ] Arghh.. ;-) sleep $seconds here Anyway, you get the idea. #!/bin/sh remaining=$1;shift cmd=$@ lock=/var/run/$(basename $1).lock [ -f $lock ] || { touch $lock while [ $remaining -gt 0 ];

Re: spamd-setup fails from cron

2012-05-31 Thread David Diggles
On Tue, May 29, 2012 at 09:51:54AM +0200, Bret Lambert wrote: > > Please avoid 15 minutes past the hour ;-) > > sleep $(($RANDOM % 2048)) && /usr/libexec/spamd-setup -d Tried something like the above, and found it still fails at peak times, so I am trying something else: I made a wrapper called

Re: Tuning for pppoe over fibre 30M/1M link

2012-05-31 Thread David Diggles
wrote: > Am 28.05.2012 15:26, schrieb David Diggles: > > Maybe I should try some of the kernel tuning suggested on calomel. > > I would not even visit that site... It's mostly a waste of time as most > of the tunings are not up-to-date or just plain wrong. OpenBSD ships >

Re: Large scale DNS anycast setup: OpenBSD performance issues

2012-05-30 Thread David Diggles
On Tue, May 29, 2012 at 01:44:51PM +0300, Kostas Zorbadelos wrote: > Henning Brauer writes: > > > if it is really thread related and not sth small & stupid - try it. For testing purposes, do you have pf turned off, or a 1 line pf.conf, like: pass ?

Re: Tuning for pppoe over fibre 30M/1M link

2012-05-30 Thread David Diggles
On Tue, May 29, 2012 at 07:23:32PM +1000, David Diggles wrote: [ snip ] > http://bincrow.net/test.log [ snip ] Interesting, this single post got http://bincrow.net added to the Websense blocklist. Category: "This Websense category is filtered: Potentially Damaging Content. Sites

Re: OpenBSD in April's issue of the CACM

2012-05-30 Thread David Diggles
On Wed, May 30, 2012 at 12:10:34PM +0200, Nomen Nescio wrote: > Unfortunately the "A" in ACM should really mean "Academic" instead of > "Association." Heh, I was going to say it reminds me of the efforts of the Unseen University, to eradicate Sourcery from the Discworld.

Re: Tuning for pppoe over fibre 30M/1M link

2012-05-29 Thread David Diggles
do pppoe on the Mac gets 3 MB/s. Outputs of various stat commands while this was happening: http://bincrow.net/test.log Note: net.inet.ip.ifq.drops=193 does not change. I think this was from when I unplugged the cable earlier. .d.d. On Tue, May 29, 2012 at 03:12:03PM +1000, David Diggles

Re: spamd-setup fails from cron

2012-05-29 Thread David Diggles
A random sleep between 0 and 3599 prior to running spamd-setup in cron would not go astray. On Tue, May 29, 2012 at 09:23:43AM +0200, Gilles Chehade wrote: > On Tue, May 29, 2012 at 09:14:29AM +0200, Peter N. M. Hansteen wrote: > > On Tue, May 29, 2012 at 08:24:07AM +0200, Jan Stary wrote: > > >

Re: spamd-setup fails from cron

2012-05-28 Thread David Diggles
Change it to this: * * * * /usr/libexec/spamd-setup -d It will probably fix the problem. On Tue, May 29, 2012 at 08:24:07AM +0200, Jan Stary wrote: > Pretty current 5.1-current/amd64. > This is what happens with the following line in root's crontab > > 0 * * * * /usr/libexec/spamd-setup

Re: Tuning for pppoe over fibre 30M/1M link

2012-05-28 Thread David Diggles
> Could you please be a bit more specific about your setup? Sure. > Are you using pppoe(4) or pppoe(8)? pppoe(4) > Do you see maxed out mbufs (netstat -m), a very high interrupt load (top > / vmstat -i), ifq drops (sysctl net.inet.ip.ifq.drops), interface errors > (netstat -i)? None of the abo

  1   2   >