Re: [PATCH] parse ! on hostname.if for autoinstall

2018-11-09 Thread Todd T. Fries
    # Skip bridge in the installer. | >     return | >     ;; | >     *)  _cmds[${#_cmds[*]}]="ifconfig $_if ${_c[@]}" | > | > | > Cheers | > -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: spf walk: lookup aaaa records with "a" mechanism

2018-10-15 Thread Todd T. Fries
0) { | lookup_record(T_A, *(ap) + 2, dispatch_a); | + lookup_record(T_, *(ap) + 2, dispatch_); | continue; | } | if (strncasecmp("exists:", *ap, 7) == 0) { -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Todd T. Fries
Penned by Theo de Raadt on 20180823 14:22.46, we have: | Mike Larkin wrote: | | > On Thu, Aug 23, 2018 at 11:05:40AM -0500, Todd T. Fries wrote: | > > This makes me wonder. Does it make sense to support booting a kernel without | > > disks? Some people have heard of the p

Re: vmd/vmctl: allow to boot cdrom-only VMs

2018-08-23 Thread Todd T. Fries
(kernel == NULL && ndisks == 0) | - errx(1, "no kernel or disk specified"); | + if (kernel == NULL && ndisks == 0 && !iso) | + errx(1, "no kernel or disk/cdrom specified"); | if (nnics == -1) |

Re: ifconfig join: show list of configured ess ids

2018-08-06 Thread Todd T. Fries
INACT_MAX (300/IEEE80211_INACT_WAIT) | -#define IEEE80211_CACHE_SIZE 100 | + | #define IEEE80211_CACHE_WAIT30 | | struct ieee80211_rateset { -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: cwm: remove ssh auto-completion

2017-07-10 Thread Todd T. Fries
les. | | YIKES, what a horrible idea. | | I think the support for complete_* arrays ought to be summarily | deleted from emacs.c. It is excessive complexity and creeping | featurism and has no place in a program as sensitve as the shell. | | Yours, | Ingo -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: cwm: remove ssh auto-completion

2017-07-09 Thread Todd T. Fries
id)strlcpy(hostbuf, buf, p - buf + 1); | > - menuq_add(, NULL, "%s", hostbuf); | > - } | > - free(lbuf); | > - (void)fclose(fp); | > -menu: | > if ((mi = menu_filter(sc, , "ssh", NULL, (CWM_MENU_DUMMY), | > search_match_text, search_print_text)) != NULL) { | > if (mi->text[0] == '\0') | > -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

does openssl get to use dns?

2015-11-19 Thread Todd T. Fries
To demonstrate: openssl s_client -connect www.google.com:443 A fix, probably not the full or correct one: Index: openssl.c === RCS file: /cvs/src/usr.bin/openssl/openssl.c,v retrieving revision 1.19 diff -u -p -u -r1.19 openssl.c

Re: boot/zboot: cmd.c merge

2014-07-26 Thread Todd T. Fries
, | - strerror(errno)); | + strerror(errno)); | else | ls(p, sb); | } -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: X dist set needs an update........

2014-07-22 Thread Todd T. Fries
. | 958a959 | ./usr/X11R6/include/intel_aub.h | 5877c5878 | ./usr/X11R6/lib/libpixman-1.so.32.4 | --- | ./usr/X11R6/lib/libpixman-1.so.32.6 | cd /usr/release;  cksum -a sha256 x*tgz SHA256 | | | | Ian McWilliam -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: [PATCH] rdomain support on rc.d

2014-07-11 Thread Todd T. Fries
this direction. Thanks, -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: Re : Re: [PATCH] rdomain support on rc.d

2014-07-11 Thread Todd T. Fries
it, but | that's splitting hairs. | | I've been wondering about how to implement what you've done, and | have ended up with 'route -T 3 exec /etc/rc.d/... -f' in /etc/rc.local. | | I like this direction. | | For crazy stuff, use /etc/rc.local -- Todd T. Fries . http://todd.fries.net/pgp.txt

Re: NOINET6 by default

2014-06-10 Thread Todd T. Fries
| TAILQ_INSERT_TAIL(ifnet, ifp, if_list); | #endif | +#ifdef INET6 | + ifp-if_xflags |= IFXF_NOINET6; | +#endif | | m_clinitifp(ifp); | | wether we need a less obscure ifconfig command than eui64 can be | discussed after. | | oks? ok todd@ -- Todd T. Fries . http://todd.fries.net/pgp.txt

Re: NOINET6 by default

2014-05-15 Thread Todd T. Fries
-inet6' until configured doesn't mean there isn't a use for clearing it later on as well. I wish there were an equivalent for IPv4, but at least dhclient clears the old address on 'ifconfig wpi0 down' ... Thanks, -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: NOINET6 by default

2014-05-14 Thread Todd T. Fries
up the rest of the functionality just because we can't agree if we need a further diff to make 'inet6 eui64' better/faster/easier/another way to skin the cat... IMHO, its time to polish in the tree. This is, afterall, a _security_ related diff, no? Thanks, -- Todd T. Fries . http://todd.fries.net

Re: IPv6 by default

2014-04-29 Thread Todd T. Fries
it makes sense to change it. Doing so prematurely does not help. Thanks, -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: IPv6 by default

2014-04-29 Thread Todd T. Fries
been reported to not respond when someone queries . There may be some benifit, but for what percent of users? Added complexity seems not the direction we want to go in, indeed. Thanks, -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: IPv6 by default

2014-04-28 Thread Todd T. Fries
family Op Ar family -- Todd T. Fries . http://todd.fries.net/pgp.txt . @unix2mars . github:toddfries

Re: rc default PF ruleset too restrictive for DHCPv6

2014-01-18 Thread Todd T. Fries
This seems to make sense. ok todd@. Please get at least one other ok though. Penned by Brad Smith on 20140118 20:57.26, we have: | On Thu, Jan 09, 2014 at 03:55:44PM -0500, Brad Smith wrote: | The default PF ruleset as setup by rc is too restrictive. Have the default | ruleset allow for

Re: ftpd log address format

2013-05-10 Thread Todd T. Fries
Penned by Ted Unangst on 20130504 0:57.40, we have: | On Sat, May 04, 2013 at 07:26, Martijn van Duren wrote: | For a lot of cases this isn't a problem. But there are a couple of | instances where the domain name resolves to something a little to | generic to be useful to determine it's origin

Re: Show only usable commands in rc.subr usage

2013-04-03 Thread Todd T. Fries
Penned by Antoine Jacoutot on 20130403 10:24.19, we have: | On Wed, Apr 03, 2013 at 05:14:10PM +0200, Alexander Hall wrote: | On 04/03/13 13:42, Vadim Zhukov wrote: | This patch makes rc.subr show only supported operations in usage. | This avoids some sort of confusion when, e.g.,

Re: goodbye to some isa devices

2013-03-26 Thread Todd T. Fries
Penned by Ted Unangst on 20130326 8:09.14, we have: | On Tue, Mar 26, 2013 at 11:13, Mark Kettenis wrote: | Date: Tue, 26 Mar 2013 05:20:27 -0400 | From: Ted Unangst t...@tedunangst.com | | These isa devs are already disabled and not particularly popular among | our users. affected: tcic,

Re: cwm duplicate path names

2013-02-26 Thread Todd T. Fries
Given that cwm has origins in 9wm, wouldn't it be appropriate to have firefox and firefox:0 and firefox:1 ? Otherwise, your diff makes much sense as if you typed 'firefox' from the command line, the shell would do what your diff does. Thanks, Penned by andre...@zoho.com on 20130226 7:07.23, we

Re: sasync phase 1 issue

2013-02-22 Thread Todd T. Fries
Penned by sven falempin on 20130222 17:05.33, we have: | On Fri, Feb 22, 2013 at 2:29 PM, sangdrax8 sangdr...@gmail.com wrote: | | I am new to OpenBSD, but would like to take advantage of a redundant | setup with ipsec/carp/sasyncd. I have run into a situation which seems | to be a bug, and

Re: ip6 source address selection and down interfaces

2013-02-19 Thread Todd T. Fries
The source address selection mechanism in IPv4 is to my understanding: the first address on the interface associated with the route to the remote host The source address selection mechanism in IPv6 is to my understanding: for each of the global addresses on a system, turn it into an integer

Re: cloneable tun

2012-11-29 Thread Todd T. Fries
Penned by Reyk Floeter on 20121129 6:33.47, we have: | On Thu, Nov 29, 2012 at 10:59 AM, Mike Belopuhov m...@belopuhov.com wrote: | But currently /dev/tunN is usable from any programming language that | that can do reads and writes. With Reyk's changes you need to do an | ioctl even for basic

Re: hostname.if(5) clarification

2012-11-26 Thread Todd T. Fries
Penned by Kenneth R. Westerback on 20121126 12:58.45, we have: | On Mon, Nov 26, 2012 at 05:40:06PM +, Jason McIntyre wrote: | On Mon, Nov 26, 2012 at 07:19:23PM +0200, Paul Irofti wrote: | On Mon, Nov 26, 2012 at 04:26:12PM +, Jason McIntyre wrote: |On Mon, Nov 26, 2012 at

Re: smtpd require auth

2012-10-09 Thread Todd T. Fries
Penned by Bob Beck on 20121009 10:05.42, we have: | Gilles, I'm actually wondering - should there even be a difference? | | Every practical implementation of 587 I've ever seen requires auth. Is there | any sane reason to have enable auth not actually require it? I.E. what | I'm asking is is

Re: a question concerning make and the shell

2012-09-12 Thread Todd T. Fries
todd@leveno/q2 ~?3$ # $(echo hi /dev/tty) todd@leveno/q2 ~?4$ I can't say as though I am aware of anything that can be done after a # that starts the line on the shell. As a corilary, ':' is different: todd@leveno/q2 ~?4$ : $(echo hi /dev/tty) hi todd@leveno/q2 ~?5$ Penned by Marc Espie

Re: usermod: lock/unlock local password

2012-09-11 Thread Todd T. Fries
I like the direction this is going. I've implemented a shell equivalent in the past for one scenario, but having it in the tools directly definitely makes life easier. 1000 admins can implement it differently, but this at least provides consistent behavior and provides a mechanism for automation

Re: dhclient ignore

2012-07-27 Thread Todd T. Fries
One can set a dhclient-script to ignore things and then call the real dhclient-script, but I like this diff better. Penned by Kenneth R Westerback on 20120726 21:43.39, we have: | I like this on first read. In fact I thought this already existed. | I'll actually look more closely at the code

Re: cwm tiling

2012-06-11 Thread Todd T. Fries
Penned by Thomas Pfaff on 20120610 4:35.00, we have: | On Sun, 10 Jun 2012 00:23:42 -0500 | Todd T. Fries t...@fries.net wrote: | Penned by Mike Belopuhov on 20120609 6:17.29, we have: | | On Sat, Jun 9, 2012 at 12:41 PM, Stuart Henderson s...@spacehopper.org | | wrote: | | personally, I do

Re: cwm tiling

2012-06-09 Thread Todd T. Fries
Penned by Mike Belopuhov on 20120609 6:17.29, we have: | On Sat, Jun 9, 2012 at 12:41 PM, Stuart Henderson s...@spacehopper.org | wrote: | On 2012/06/09 14:09, Alexander Polakov wrote: | I appreciate that the defaults would stay the same, but really, | what is the point in doing this? ?cwm

Re: Unbound in base

2012-02-17 Thread Todd T. Fries
Penned by Jan Klemkow on 20120217 3:38.24, we have: | There is an other problem with replacing bind with unbound and nsd. | If you have a setup where you need to do authoritative and recursive | resolving of domains with the same socket and you have to synchronise | with an extern dns server over

Re: Unbound in base

2012-02-17 Thread Todd T. Fries
use the stub syntax in unbound. Penned by Jan Klemkow on 20120217 6:18.33, we have: | I was working on replacing bind with unbound and nsd a half year ago. | I run into this problem. I think in local networks you get such setups | where you have to serve clients with global request like

Re: carp ipv6 ndp issue

2011-08-05 Thread Todd T. Fries
Are you using global IPv6 addresses for your test or link-local addresses for your test? I have found that you sometimes need to ping6 the link-local address on a carp interface from a workstation before it will respond to ndp. For reference, this scenario happens if you run rtadvd against a

Re: softraid crypto: preallocate crypops and dma buffers.

2011-06-20 Thread Todd T. Fries
Penned by roberth on 20110620 21:05.14, we have: | On Mon, 20 Jun 2011 20:12:28 -0500 | Marco Peereboom sl...@peereboom.us wrote: | | I am liking this diff quite a bit but it needs more testers. So if | you are using softraid crypto please try this diff. | | Still working for me. And me.

Re: ifconfig(8) tunnel and address families

2011-05-18 Thread Todd T. Fries
Penned by Stuart Henderson on 20110516 5:59.19, we have: | Re http://permalink.gmane.org/gmane.os.openbsd.misc/185629 | To set IPv6 tunnel endpoints for gif/gre, you have to use | syntax like ifconfig gif0 inet6 tunnel 1::1 2::2 rather | than just ifconfig gif0 tunnel 1::1 2::2. | | This is

Re: Optionally ignore host/network is down errors for ping(8)

2011-05-13 Thread Todd T. Fries
Penned by Alexander Hall on 20110513 2:22.36, we have: | On 05/13/11 04:54, Todd T. Fries wrote: | | ping host 21 | awk '/is down/{next}{print}' | | grep -v was too trivial, was it? ;-D sed -n '/is down/{p;}' Just depends on how granular and what makes most sense to you. Multiple ways

Re: Optionally ignore host/network is down errors for ping(8)

2011-05-12 Thread Todd T. Fries
Utilities which go into the install media should not be grown without cause, or at the very least, growth wrapped with #ifndef SMALL. I think if you want some messages quieted, maybe you should look up some standard unix utilities. ping host 21 | awk '/is down/{next}{print}' Penned by Vadim

Re: cksum(1), print MISSING rather than FAILED for nonexistent files

2011-04-08 Thread Todd T. Fries
I would find it more accurate to report 'fopen FAILED' rather than expect that all failures to open a file are a result of a missing file. Penned by Stuart Henderson on 20110408 4:23.44, we have: | would anyone else find this (or a variation thereof) useful? | | example use: if you download a

qemu-old .. relevent or not?

2011-03-21 Thread Todd T. Fries
I've gotten one request to decommission qemu-old. It surprised me, as I thought there were still issues with qemu/ even with the semi recent thread fix as well as performance differences. Does anybody have objection to retiring qemu-old to the attic or ? I'd rather not do this prematurely but

Re: qemu-old .. relevent or not?

2011-03-21 Thread Todd T. Fries
I withdraw any thoughts of removing qemu-old anytime soon based on feedback. Henning confirms performance gains for keeping it. And we have a reminder that while kqemu is not recommended, it is only usable on qemu-old. Penned by Todd T. Fries on 20110321 15:58.35, we have: | I've gotten one

Re: usb: don't wait if dying

2010-12-14 Thread Todd T. Fries
This makes a lot of sense. Penned by Jacob Meuser on 20101214 10:41.43, we have: | ok? | | -- | jake...@sdf.lonestar.org | SDF Public Access UNIX System - http://sdf.lonestar.org | | Index: usb_subr.c | === | RCS file:

Re: hotplug(4) r1.10 ignoring hotplug_put_event() prior to hotplugopen() [Was: hotplugd(8) ignoring devices attached before boot]

2010-12-13 Thread Todd T. Fries
I echo Mark's sentiments, though for a different reason. Softraid crypto volumes take time to fsck, yet are useful to use. In my case I can wait 20+min for my personal laptop to be useful, or I can wait 5min and let the rest fsck while I get to be productive. The laptop has /usr, /var, /tmp,

Re: hotplug(4) r1.10 ignoring hotplug_put_event() prior to hotplugopen() [Was: hotplugd(8) ignoring devices attached before boot]

2010-12-13 Thread Todd T. Fries
Depends, create an OpenBSD partition between mbr and 1st sector of the msdos fs, lie and say there lies a 4.2BSD filessytem just enough to permit writing a disklabel, and wallah: t...@blue/pF ~9$ sudo fdisk sd1 Disk: sd1 geometry: 248/255/63 [3987456 Sectors] Offset: 0 Signature:

Re: How to find a uhid device from Vendor and Product ID?

2010-01-22 Thread Todd T. Fries
| |return open(dev_name, O_RDWR); | } | | I've tried opening the /dev/usb devices and calling the | USB_DEVICEINFO ioctl (originally suggested to me by Todd T Fries). | This gets very close, but the best I've been able to do is learn | which uhidev driver (but not uhid) is connected to my device

Re: How to find a uhid device from Vendor and Product ID?

2010-01-22 Thread Todd T. Fries
You're right, it was added in November of 2009 .. current snaps required for this to work. Penned by Paul Stoffregen on 20100122 7:19.59, we have: | Todd T. Fries wrote: | For the archive, this is what he is wanting to do, or something very similar.. | | Yes, thank you! That is exactly what

Re: ppp(8) cleanup/fix

2009-07-01 Thread Todd T. Fries
Guys, I tested this and it seems ppp in the tree is busted to the point of not working without this diff. If you use ppp please test current snaps to confirm it is busted then apply claudio's diff below and test again. If you use ppp and do not test, do not be surprised if it does not work in

Re: 4.5 snapshot installer

2009-05-16 Thread Todd T. Fries
Glad you noticed. It is a chicken and egg to include a hash on install media that then itself gets hashed. Don't expect bsd.rd to happen. X is another matter. It's not realistic to build X everytime base is built; for that and for other reasons, the X hashes cannot (yet) be included in the