Re: ksh diff, escape !

2015-03-09 Thread Alexander Hall
On March 9, 2015 3:28:02 PM GMT+01:00, Stuart Henderson wrote: >On 2015/03/09 11:19, Alexander Hall wrote: >> >> >> On March 9, 2015 12:49:07 AM GMT+01:00, Stuart Henderson >> wrote: >> >On 2015/03/08 15:06, Philip Guenther wrote: >> >> On S

Re: ksh diff, escape !

2015-03-09 Thread Alexander Hall
On March 9, 2015 12:49:07 AM GMT+01:00, Stuart Henderson wrote: >On 2015/03/08 15:06, Philip Guenther wrote: >> On Sun, Mar 8, 2015 at 2:52 PM, Christian Weisgerber > wrote: >> > On 2015-03-08, Stuart Henderson wrote: >> > >> >> ! needs to be escaped in tab-completion otherwise this happens. >

Re: ftp less progress

2015-02-17 Thread Alexander Hall
On 02/17/15 09:07, Ted Unangst wrote: It's sometimes helpful to run ftp -o - http://somwhat/ for debugging purposes, but the progress bar gets in the way and makes it ugly. Even with -V to disable verbose, it still prints progress. Add -M (complement of -m) to always turn off progress. I'm alwa

Re: make release fails if SUDO is set in mk.conf

2014-10-24 Thread Alexander Hall
Maybe $ make SUDO= release works? That enforces the value of SUDO, but I've never tried it for an empty value. Or try $ make SUDO=' ' release /Alexander On October 24, 2014 8:34:54 AM CEST, thev...@openmailbox.org wrote: >with SUDO set in /etc/mk.conf: > if make release is run as root it w

Re: Fix slow DHCP requests in /etc/netstart

2014-09-26 Thread Alexander Hall
On 09/26/14 14:36, Stuart Henderson wrote: On 2014/09/26 07:42, Alexander Hall wrote: Before performing a dhcp request, /etc/netstart explicitly takes the interface down. As noted (by me) at g2k14, and also at work, this results in a significant delay in getting the address. I'm not all

Fix slow DHCP requests in /etc/netstart

2014-09-25 Thread Alexander Hall
Before performing a dhcp request, /etc/netstart explicitly takes the interface down. As noted (by me) at g2k14, and also at work, this results in a significant delay in getting the address. I'm not all into enterprise switch magic, but someone hinted that this could come from the switch reinitiali

Re: [PATCH] Option for mount_tmpfs to populate the volume after creation.

2014-09-18 Thread Alexander Hall
On September 18, 2014 9:40:44 AM CEST, bytevolc...@safe-mail.net wrote: >This patch adds an option "-t template" to mount_tmpfs, which >populates the new tmpfs volume with a directory >immediately after creation. > >Man page update included for explanation. > >Much of the code was grafted from ne

Re: make top combine cpu lines by default if you have a lot of cpus

2014-09-16 Thread Alexander Hall
On 09/17/14 07:44, Alexander Hall wrote: On September 17, 2014 3:54:34 AM CEST, David Gwynne wrote: not yet. we could make -1 toggle combine_cpu, or have something like -1 and -N for combined and "N" cpus displayed? If we want it, I'm in strong favor for the latter. Toggl

Re: make top combine cpu lines by default if you have a lot of cpus

2014-09-16 Thread Alexander Hall
;t consider needing it, it might make sense not to compress the CPU list for non-interactive use. /Alexander > >On 16 Sep 2014, at 11:08 pm, Alexander Hall wrote: > >> >> >> On September 16, 2014 2:11:28 PM CEST, Mark Kettenis > wrote: >>>> Date: Tue, 1

Re: make top combine cpu lines by default if you have a lot of cpus

2014-09-16 Thread Alexander Hall
On September 16, 2014 2:11:28 PM CEST, Mark Kettenis wrote: >> Date: Tue, 16 Sep 2014 21:51:00 +1000 >> From: David Gwynne >> >> if you have more than 8 cpus, combine the cpu lines by default. Just curious, is there a command line argument to expand the list? /Alexander >> >> ok? > >8 see

Re: audioctl: drop useless fields

2014-09-11 Thread Alexander Hall
On 09/11/14 09:58, Alexandre Ratchov wrote: On Wed, Sep 10, 2014 at 07:31:17PM +0200, Alexandre Ratchov wrote: audioctl output is full of useless, misleading and/or unreliable fields. Let's keep the usable ones only. The plan is to remove them from the kernel as well. OK? I've been asked in p

Re: changing ffs mount between rw and ro while preserving softdep

2014-08-28 Thread Alexander Hall
On 08/28/14 23:06, Paul de Weerd wrote: On Thu, Aug 28, 2014 at 06:27:48PM +, Miod Vallat wrote: | > >Which is why the current way to remove softdep from a filesystem is a | > >rw+softdep -> ro -> rw transition, which would no longer work with your | > >diff. | > | > It would work, but you'd

Re: ksh history bug

2014-08-15 Thread Alexander Hall
> On Thu, Aug 14, 2014 at 12:10:58PM -0400, Jared Yanovich wrote: > + If first and last are both omitted, the previous 16 commands shall > be listed or the previous single command shall be edited (based on the > -l option). > > that kind of suggests that the "fc -l" producing those "previous

Re: Does athn - Atheros IEEE 802.11a/g/n wireless supports 802.11n mode?

2014-08-14 Thread Alexander Hall
On August 14, 2014 2:08:04 PM CEST, Denis Lapshin wrote: >Does athn driver support 802.11n mode for all Atheros devices which has > >N mode implemented? Apart from the useful information you've already received, I'd like to add that the list archives would certainly, well, most likely anyway,

Re: Print strings with double quotes safely in ifconfig(8)

2014-08-10 Thread Alexander Hall
On August 10, 2014 11:17:59 PM CEST, Vadim Zhukov wrote: >This changes the way ifconfig(8) to print lines like 'crazy "nwid', >i.e., containing double quotes inside the data being output. >At the present, such lines will be printed in the following way: > >"crazy "nwid" > >And this makes everyth

Re: ftp(1) User-Agent

2014-07-11 Thread Alexander Hall
On 07/11/14 20:06, Lawrence Teo wrote: On Fri, Jul 11, 2014 at 05:46:02PM +0200, Alexander Hall wrote: On 07/11/14 17:35, Lawrence Teo wrote: On Fri, Jul 11, 2014 at 12:20:00PM +0200, Alexander Hall wrote: On 07/10/14 06:30, Lawrence Teo wrote: About a month ago, I sent a diff that allows

Re: ftp(1) User-Agent

2014-07-11 Thread Alexander Hall
On 07/11/14 17:35, Lawrence Teo wrote: On Fri, Jul 11, 2014 at 12:20:00PM +0200, Alexander Hall wrote: On 07/10/14 06:30, Lawrence Teo wrote: About a month ago, I sent a diff that allows ftp(1) to set its User-Agent. Based on feedback from halex@ and deraadt@, I have changed it so that the

Re: diff: Option to use duids in /etc/dumpdates

2014-07-11 Thread Alexander Hall
On 07/11/14 14:33, Maximilian Fillinger wrote: > On Fri, 2014-07-11 at 14:22 +0200, Alexander Hall wrote: >> If there are no other objections, I'd like to commit this today. > > Just don't forget to get rid of this >> + } else { fprintf(stderr, "duid:

Re: sshd add back hmac-sha1

2014-07-11 Thread Alexander Hall
On 07/11/14 11:32, Ted Unangst wrote: I think the proposal rampaging went one algorithm too far. sha1 is the best algorithm supported by many clients and it's still pretty secure. without it, a lot of clients have stopped working. temporarily alieve the pain? Naaa.. You did this just for me

Re: diff: Option to use duids in /etc/dumpdates

2014-07-11 Thread Alexander Hall
On 07/11/14 01:15, Maximilian Fillinger wrote: On 07/10/14 16:28, Alexander Hall wrote: Anyway, I worked on your diff a bit more: - keep having -U and -u separate (as discussed) - use Uflag instead of duidflag - bail out if the duid is all 0. - allow specifying the drive to dump by . on the

Re: ftp(1) User-Agent

2014-07-11 Thread Alexander Hall
On 07/10/14 06:30, Lawrence Teo wrote: > About a month ago, I sent a diff that allows ftp(1) to set its > User-Agent. > > Based on feedback from halex@ and deraadt@, I have changed it so that > the User-Agent can be set via a -U command-line option instead of an > environment variable. > > I have

Re: diff: Option to use duids in /etc/dumpdates

2014-07-10 Thread Alexander Hall
On 07/09/14 23:44, Alexander Hall wrote: > While looking at this, I noticed we don't support specifying the duid > for the device to dump. Thinking a bit more, I'm forming a different > approach for this. Hold on. Hm, the "different approach" was left out because

Re: diff: Option to use duids in /etc/dumpdates

2014-07-09 Thread Alexander Hall
On 07/09/14 21:13, Maximilian Fillinger wrote: Thanks for your feedback! I like the idea. I would have liked to read an explanation for the selected solution though, or a brief description of it. I'll add a description below for the benefit of other readers. I think adding a check to make s

Re: diff: Option to use duids in /etc/dumpdates

2014-07-09 Thread Alexander Hall
On 07/09/14 21:13, Maximilian Fillinger wrote: Thanks for your feedback! I like the idea. I would have liked to read an explanation for the selected solution though, or a brief description of it. I'll add a description below for the benefit of other readers. I think adding a check to make s

Re: diff: Option to use duids in /etc/dumpdates

2014-07-09 Thread Alexander Hall
On 07/08/14 19:36, Maximilian Fillinger wrote: Hi! This diff adds a "-U" flag to dump that allows using disklabel UIDs in /etc/dumpdates. That makes incremental dumps possible when a disk is roaming between device files. I like the idea. I would have liked to read an explanation for the selec

Re: ANONCVS MIRROR MAINTAINERS.. YOU NEED TO READ THIS!

2014-06-25 Thread Alexander Hall
On 06/25/14 20:52, Bob Beck wrote: If you or someone you love runs an anoncvs server, they need to see this. As you know we recently added commitid support to cvs, and we had you update your cvsync binary. Unfortunately, the fix wasn't quite right. We ran into problems with the synching of com

Re: nsd rc script check returns strange exit code when nsd not running.

2014-06-25 Thread Alexander Hall
On 06/26/14 06:29, Alexander Hall wrote: On 06/25/14 14:06, Stuart Henderson wrote: On 2014/06/25 13:04, Stuart Henderson wrote: On 2014/06/24 20:56, b...@tilderoot.com wrote: The nsd rc script returns an exit code other than 1 when nsd is not running. A problem arises when using a

Re: nsd rc script check returns strange exit code when nsd not running.

2014-06-25 Thread Alexander Hall
On 06/25/14 14:06, Stuart Henderson wrote: On 2014/06/25 13:04, Stuart Henderson wrote: On 2014/06/24 20:56, b...@tilderoot.com wrote: The nsd rc script returns an exit code other than 1 when nsd is not running. A problem arises when using a configuration management (CM) system such as ansible

Re: howmany macro: integer overflow

2014-06-17 Thread Alexander Hall
On June 14, 2014 1:13:56 PM CEST, Tobias Stoeckmann wrote: >Hi, > >the howmany macro as used in param.h and select.h is prone to an >integer >overflow. It adds divisor-1 to the base value, which means that it >COULD overflow. > >Most of the times, the howmany macro is used with file descriptor

Re: ftp(1) User-Agent

2014-06-12 Thread Alexander Hall
On June 11, 2014 6:18:19 AM CEST, Lawrence Teo wrote: >This diff allows ftp(1) to change the User-Agent for HTTP(S) URL >requests via the FTPUSERAGENT environment variable (personally I prefer >HTTPUSERAGENT but FTPUSERAGENT is what's used by ftp(1) on other BSDs). > >This is useful when fetchin

Re: ANONCVS MIRROR MAINTAINERS PLEASE READ!

2014-06-06 Thread Alexander Hall
On 06/06/14 19:29, Stuart Henderson wrote: On 2014/06/06 11:17, Bob Beck wrote: If you or someone you love runs an anoncvs server, they need to see this. We recently added commitid support to our cvs repo. all works fine with cvs and this. However, we ran into a problem with cvsync in ports. M

Re: ANONCVS MIRROR MAINTAINERS PLEASE READ!

2014-06-06 Thread Alexander Hall
On 06/06/14 19:29, Stuart Henderson wrote: On 2014/06/06 11:17, Bob Beck wrote: If you or someone you love runs an anoncvs server, they need to see this. We recently added commitid support to our cvs repo. all works fine with cvs and this. However, we ran into a problem with cvsync in ports. M

Re: ld.so take 2

2014-06-05 Thread Alexander Hall
On June 5, 2014 2:34:00 PM CEST, Otto Moerbeek wrote: >OK, > >Grrr... messed this up, sent thw wrong version. Both the To: header >and the text contain errors, but the intend should be clear. Diff is >the right version. > >Take care when replying. > > -Otto > >On Thu, Jun 05, 2014 at 02:2

Make rmt(8) more usable for remote dumps

2014-05-18 Thread Alexander Hall
Hi, Here's a diff that's been in my tree for quite some time, getting polished back and forth. I think I'm quite satisfied as is now, and would like to get opinions and/or OK's to commit it. This diff gives rmt the following abilities: - limit the (remote) file operations to a specific directory

Re: NOINET6 by default

2014-05-14 Thread Alexander Hall
On 05/15/14 00:48, Henning Brauer wrote: * Alexander Bluhm [2014-05-15 00:15]: On Wed, May 14, 2014 at 11:29:20PM +0200, Henning Brauer wrote: so as discussed recently having the inet6 link-local addrs on every interface by default is stupid and a security risk. Connecting a computer to the i

Re: malloc in libssl/src/apps

2014-05-05 Thread Alexander Hall
On May 6, 2014 1:34:01 AM CEST, Matthew Dempsky wrote: >On Mon, May 5, 2014 at 3:56 PM, Alexander Hall >wrote: >> I believe a similar situation could appear with not explicitly >initialized >> global or static declarations, e.g. in >> sbin/fsirand/fsirand.c:

Re: malloc in libssl/src/apps

2014-05-05 Thread Alexander Hall
On 05/06/14 00:10, Matthew Dempsky wrote: On Sun, May 4, 2014 at 8:26 PM, Jean-Philippe Ouellet wrote: On Sun, May 04, 2014 at 11:30:40PM +0200, Alexander Hall wrote: NULL theoretically could be != 0 Umm... short of something like: #undef NULL #define NULL "I'm silly a

Re: malloc in libssl/src/apps

2014-05-04 Thread Alexander Hall
On 05/04/14 21:50, Jean-Philippe Ouellet wrote: On Sun, May 04, 2014 at 12:17:16PM -0600, Theo de Raadt wrote: We are going to completely ignore diffs which change multiple idioms at once. Okay. That is how mistakes get made. Yep, more true than I realized. Here's a simpler one: Index:

Re: IPv6 by default

2014-04-29 Thread Alexander Hall
On 04/30/14 01:45, Alexander Hall wrote: However, doing the requests in parallel, each geting the same treatment as if done in sequence (timing out if need be, etc), and then sort them by the family directive as per resolv.conf could in theory cut the lookup time in half... Not that this has

Re: IPv6 by default

2014-04-29 Thread Alexander Hall
On 04/30/14 00:12, Ted Unangst wrote: On Tue, Apr 29, 2014 at 10:18, Simon Perreault wrote: Le 2014-04-29 10:12, Ted Unangst a écrit : - Run both requests in parallel. - When one response is received, start a short timer (e.g. 200ms or so). - If the second response is received before the timer

Re: [patch l2tp_ctrl.c] malloc & memset => calloc

2014-04-24 Thread Alexander Hall
On April 25, 2014 2:14:29 AM CEST, Peter Malone wrote: >Hi, > >Here's another. > >Index: l2tp_ctrl.c >=== >RCS file: /cvs/src/usr.sbin/npppd/l2tp/l2tp_ctrl.c,v >retrieving revision 1.16 >diff -u -p -u -r1.16 l2tp_ctrl.c >--- l2tp_ct

Re: iked + isakmpd on the same machine

2014-04-24 Thread Alexander Hall
On 04/24/14 22:28, Mike Belopuhov wrote: On 24 April 2014 22:25, Alexander Hall wrote: On 04/24/14 21:53, Stuart Henderson wrote: On 2014/04/24 20:30, Mike Belopuhov wrote: On 24 April 2014 20:25, Chris Cappuccio wrote: Mike Belopuhov [m...@belopuhov.com] wrote: more like it'

Re: iked + isakmpd on the same machine

2014-04-24 Thread Alexander Hall
On 04/24/14 21:53, Stuart Henderson wrote: On 2014/04/24 20:30, Mike Belopuhov wrote: On 24 April 2014 20:25, Chris Cappuccio wrote: Mike Belopuhov [m...@belopuhov.com] wrote: more like it's not supported and is not supposed to work. it's like running nginx and apache at the same time hey,

Re: nfs rename is not atomic

2014-03-29 Thread Alexander Hall
On 03/29/14 08:06, Philip Guenther wrote: On Wed, Mar 26, 2014 at 7:50 AM, Mike Belopuhov wrote: After a bunch of failures (ld.so can't find libc.so for the install(1)) with parallel make build (-j 4) on an NFS setup I came up with this simple testcase that shows that rename(2) on NFS is not at

Re: USB install image for OpenBSD 5.5 - TESTING REQUIRED

2014-03-01 Thread Alexander Hall
On 02/28/14 23:51, Chris Cappuccio wrote: Here are some potential USB installer images for OpenBSD/amd64 5.5 http://www.nmedia.net/chris/install55.fs http://www.nmedia.net/chris/miniroot55.fs The install55.fs contains full installation packages. The miniroot55.fs is a ramdisk-kernel only (for n

Re: dd status output

2014-02-09 Thread Alexander Hall
On February 9, 2014 1:51:30 PM CET, Mark Kettenis wrote: >> Date: Sun, 9 Feb 2014 12:57:40 +0100 >> From: Alexander Bluhm >> >> On Sun, Feb 09, 2014 at 12:21:35PM +0100, Mark Kettenis wrote: >> > > Date: Sun, 9 Feb 2014 12:08:04 +0100 >> > > From: Alexander Bluhm >> > > >> > > I would like

Re: Randomization from the bootblocks

2014-01-02 Thread Alexander Hall
On 01/02/14 11:50, Alexey Suslikov wrote: Theo de Raadt cvs.openbsd.org> writes: This requires an upgrade of the bootblocks and at least /etc/rc (which saves an entropy file for future use). Some bootblocks will be able to use machine-dependent features to improve the entropy even further (fo

Re: column memory leak fix

2013-12-30 Thread Alexander Hall
Loganaden Velvindron wrote: >I'm mostly interested in finding the small security issues and fixing >them, rather than fixing style issues :-) Keeping good style helps avoiding bugs, though.

Re: Alter daemon scheduling priority with renice for rc.d

2013-12-21 Thread Alexander Hall
skin...@britvault.co.uk wrote: >On 2013-12-21 Sat 17:13 PM |, Alexander Hall wrote: >> > >> >Comments/testing observations/? >> >> This is not the purpose nor responsibility off the rc.d scripts. >> >> > >What alternatives have you in mind?

Re: Alter daemon scheduling priority with renice for rc.d

2013-12-21 Thread Alexander Hall
skin...@britvault.co.uk wrote: >On 2013-12-19 Thu 13:43 PM |, Craig R. Skinner wrote: >> Enhance rc.d/rc.subr with lowered/raised daemon running priority. >> > >Comments/testing observations/? This is not the purpose nor responsibility off the rc.d scripts. /Alexander > >ksh syntax used (whic

Re: diff for passing -b to spamd-setup when running spamd in blacklist only mode

2013-12-19 Thread Alexander Hall
On 12/14/13 13:15, Maurice Janssen wrote: On Fri, Dec 13, 2013 at 11:53:06PM +0100, Alexander Hall wrote: On 12/13/13 22:32, Maurice Janssen wrote: Hi, After some discussion on misc@ (see http://comments.gmane.org/gmane.os.openbsd.misc/209233 ) I came up with the patch below. Right now, spamd

Re: security(8) check maildir as well as mailbox permissions

2013-12-19 Thread Alexander Hall
Henning Brauer wrote: >* Craig R. Skinner [2013-12-19 10:18]: >> On 2013-12-18 Wed 20:48 PM |, J??r??mie Courr??ges-Anglas wrote: >> > skin...@britvault.co.uk (Craig R. Skinner) writes: >> > > On 2013-12-18 Wed 15:54 PM |, Stuart Henderson wrote: >> > >> > > > > Check the security of /var/mail/

Re: diff for passing -b to spamd-setup when running spamd in blacklist only mode

2013-12-13 Thread Alexander Hall
On 12/13/13 22:32, Maurice Janssen wrote: Hi, After some discussion on misc@ (see http://comments.gmane.org/gmane.os.openbsd.misc/209233 ) I came up with the patch below. Right now, spamd-setup is started with -D in /etc/rc. However, when running spamd in blacklist only mode, I think it's bette

Re: Weird loop in ftp client

2013-11-23 Thread Alexander Hall
On 11/23/13 20:39, sven falempin wrote: Hello, Another point of vue : Because curl is in base, what does ftp client add to the system ? 1. It's not. 2. Interactivity. /Alexander

Re: Weard security report

2013-11-06 Thread Alexander Hall
Joerg Sonnenberger wrote: >On Wed, Nov 06, 2013 at 10:24:53AM -0500, sven falempin wrote: >> == >> /var/db/cloud.json diffs (-OLD +NEW) >> == >> --- /dev/null Fri Oct 25 01:30:33 2013 >> +++ /var/db/cloud.json Thu Oct 17 17:21:15 2013 > >This just means that the file was created

Re: make ftp(1) ignore leading whitespace in URLs

2013-11-05 Thread Alexander Hall
On 11/05/13 14:44, Stefan Sperling wrote: On Tue, Nov 05, 2013 at 02:08:21PM +0100, Alexander Hall wrote: On 11/05/13 13:56, Stefan Sperling wrote: Before: $ ftp ' http://localhost/snap/INSTALL.amd64' ftp: http: no address associated with name ftp: Can't connect or login

Re: make ftp(1) ignore leading whitespace in URLs

2013-11-05 Thread Alexander Hall
On 11/05/13 13:56, Stefan Sperling wrote: Before: $ ftp ' http://localhost/snap/INSTALL.amd64' ftp: http: no address associated with name ftp: Can't connect or login to host ` http' After: $ ftp ' http://localhost/snap/INSTALL.amd64' Trying ::1... Trying 127.0.0.1... Requesting http://loc

Re: pkill -l

2013-10-21 Thread Alexander Hall
On 10/22/13 02:09, Ted Unangst wrote: I don't think the -l flag to pkill is useful. It's behavior is oddly different from pgrep -l (and more different with pgrep/pkill -f). Or rather, it's not just long output, but also turns on verbose mode when otherwise nothing would be printed. The only use c

Re: /etc/rc.d/rc.subr; prefix ${pexp} with script interpretor path

2013-09-17 Thread Alexander Hall
On 09/17/13 13:49, Craig R. Skinner wrote: On 2013-09-16 Mon 23:28 PM |, Alexander Hall wrote: sed can do it all. Really. This is getting beyond me Alexander. Is sed a mechanism to step away from using file(1) ? Heh, sorry about that. :) Nah, it's merely a way to combine `head |

Re: /etc/rc.d/rc.subr; prefix ${pexp} with script interpretor path

2013-09-16 Thread Alexander Hall
On 09/16/13 23:32, Marc Espie wrote: On Mon, Sep 16, 2013 at 11:28:06PM +0200, Alexander Hall wrote: sed can do it all. Really. Notes: - I separate re_quote() cause I think it can be useful in other places. - I think re_quote() is (basic) regex complete. - I don't care if the interpret

Re: Iso image integrity verification

2013-09-16 Thread Alexander Hall
Yes, the MITM was DPD. Great currier. I recommand it to everyone. NOT! ^courier ^ recommend :-p

Re: /etc/rc.d/rc.subr; prefix ${pexp} with script interpretor path

2013-09-16 Thread Alexander Hall
On 09/16/13 20:48, Craig R. Skinner wrote: On 2013-09-16 Mon 15:12 PM |, Paul de Weerd wrote: Hi Craig, --- cat bad_script.sh # This is a VERY BAD example of a script! This will break your # shebang thingambob echo Now what... -

Re: useradd with empty -k doesn't chown/chmod new home directory

2013-09-05 Thread Alexander Hall
"Todd C. Miller" wrote: >I changed my mind and decided it is better to just move the chown >and chmod out of copydotfiles() and add an explicit check for skeldir >set to the empty string. Much as I would like to prettify the >user.c code it is a losing battle so here is a minimal diff. > > - to

Re: ksh global PWD env variable

2013-07-21 Thread Alexander Hall
On 07/21/13 23:43, Matthias Kilian wrote: On Sun, Jul 21, 2013 at 10:51:17PM +0200, Joerg Sonnenberger wrote: On Sun, Jul 21, 2013 at 10:01:33PM +0200, Alexander Hall wrote: I for one don't see a general interest in knowing ones parents potentially faked wd. You can find out your wd by

Re: ksh global PWD env variable

2013-07-21 Thread Alexander Hall
I for one don't see a general interest in knowing ones parents potentially faked wd. You can find out your wd by saner means. /Alexander Bertrand Janin wrote: >PWD is considered local in /bin/ksh while it is global in most other >shells >(ksh93, csh, bash, zsh). > >In practice, it means calling

Re: SSH_ASKPASS manpage clarification

2013-07-21 Thread Alexander Hall
On 07/21/13 11:31, Jason McIntyre wrote: On Sun, Jul 21, 2013 at 11:19:49AM +0200, Alexander Hall wrote: regarding your diff... i don't know this stuff well enough to be able to say whether your moving stuff around makes sense, and whether you're moving it to the right place. note, f

Re: SSH_ASKPASS manpage clarification

2013-07-21 Thread Alexander Hall
On 07/21/13 11:05, Jason McIntyre wrote: On Sun, Jul 21, 2013 at 09:15:00AM +0200, Alexander Hall wrote: On 07/21/13 08:11, patrick keshishian wrote: If so, maybe a better wording would be: Successful confirmation is signaled by a zero exit status, and the first line of the

Re: SSH_ASKPASS manpage clarification

2013-07-21 Thread Alexander Hall
On 07/21/13 10:07, patrick keshishian wrote: On Sun, Jul 21, 2013 at 09:15:00AM +0200, Alexander Hall wrote: On 07/21/13 08:11, patrick keshishian wrote: However, the sentence still reads awkwardly. Are you trying to say the requirement is: if (an_exit_status == 0

Re: SSH_ASKPASS manpage clarification

2013-07-21 Thread Alexander Hall
On 07/21/13 08:11, patrick keshishian wrote: > Hi, > > Couple of comments inline. > > On Sun, Jul 21, 2013 at 03:16:28AM +0200, Alexander Hall wrote: >> This is an attempt to make the ssh-* man pages more exact regarding >> SSH_ASKPASS, when used for ssh-agent key co

SSH_ASKPASS manpage clarification

2013-07-20 Thread Alexander Hall
This is an attempt to make the ssh-* man pages more exact regarding SSH_ASKPASS, when used for ssh-agent key confirmation. The point I'm making is that the relevant SSH_ASKPASS environment variable is not that of ssh-add(1) (apart from when ssh-add is actually asking for a passphrase). On a siden

Re: SOFTRAID PROBLEM

2013-06-16 Thread Alexander Hall
On 06/16/13 07:57, laborat...@cpnetserver.net wrote: Hi, after using some hard-drive with softraid in raid5, I can no longer reset them. All disks the same problem... When I try to delete raid partition disklabel reports: With the command: disklabel -E wd1, after any changes [ after q option ], r

Re: Another manpage grammar tweak (ath.4)

2013-04-12 Thread Alexander Hall
On 04/12/13 08:40, Jason McIntyre wrote: On Fri, Apr 12, 2013 at 08:30:16AM +0200, Alexander Hall wrote: .It AR5212 These devices support 802.11a, 802.11b, and 802.11g operation with transmit speeds as above for 802.11a, 802.11b, and 802.11g operation -(802.11g speeds are the same as for

Re: Another manpage grammar tweak (ath.4)

2013-04-11 Thread Alexander Hall
On 04/12/13 08:07, Jason McIntyre wrote: On Thu, Apr 11, 2013 at 10:58:00PM -0400, Brian Callahan wrote: Hi tech -- Here's another small fix to correct a grammatically incorrect sentence in ath.4 OK? ~Brian Index: ath.4 === RCS

Re: Show only usable commands in rc.subr usage

2013-04-03 Thread Alexander Hall
Vadim Zhukov wrote: >Third iteration, after input from ajacoutot@, todd@ and marc@. > >Now rc_restart becomes unavailable if either start or stop is disabled. > > >Index: rc.subr >=== >RCS file: /cvs/src/etc/rc.d/rc.subr,v >retriev

Re: Show only usable commands in rc.subr usage

2013-04-03 Thread Alexander Hall
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., /etc/rc.d/smtpd > shows that "reload" command is allowed, but when you try it, > you get "reload not supported" error. > > okay? I approve of

Re: add .cvsrc to skel

2013-03-31 Thread Alexander Hall
On 03/31/13 16:17, Marc Espie wrote: +diff -uNp yes +update -P I think "auto-prune" (-P) without "auto-add" (-d) could be surprising. Personally I'd rather go without this. +checkout -P I'm indifferent here. Being a non-frequent user of "cvs checkout" on an already checked out tree,

Re: goodbye to some isa devices

2013-03-28 Thread Alexander Hall
On 03/27/13 21:14, Creamy wrote: On Wed, Mar 27, 2013 at 08:05:47PM +, Miod Vallat wrote: Or are you just trolling for the sake of it? I didn't expect that from you, frankly. Other people have been rude to me off-list, but I thought you were above that. You make some valid points, but

Re: find(1) manpage bug

2013-03-13 Thread Alexander Hall
On 03/13/13 19:17, Jérémie Courrèges-Anglas wrote: Alexander Hall writes: find(1) claims -follow is the same as -H, which is wrong. Indeed, but this confusion is present twice in the manpage. I don't know the history myself, but I can only assume the switch went wrong in r1.14, whe

find(1) manpage bug

2013-03-12 Thread Alexander Hall
find(1) claims -follow is the same as -H, which is wrong. OK? /Alexander Index: find.1 === RCS file: /data/openbsd/cvs/src/usr.bin/find/find.1,v retrieving revision 1.85 diff -u -p -r1.85 find.1 --- find.1 5 Jan 2012 13:16:10 -

Re: whois: add -P for peeringdb

2013-03-05 Thread Alexander Hall
On 03/05/13 18:58, Stuart Henderson wrote: On 2013/03/05 18:31, Alexander Hall wrote: Not that I mind either way, but did we want to add more "hardcoded" flags to whois? Did you any some others in mind? Most of the domain-lookup ones are handled by XX.whois-servers.net, of the oth

Re: whois: add -P for peeringdb

2013-03-05 Thread Alexander Hall
Not that I mind either way, but did we want to add more "hardcoded" flags to whois? On 03/05/13 14:58, Stuart Henderson wrote: OK? Index: whois.1 === RCS file: /cvs/src/usr.bin/whois/whois.1,v retrieving revision 1.31 diff -u -p

Re: Fixing a phrase in /stable.html

2013-02-18 Thread Alexander Hall
On 02/18/13 21:43, patrick keshishian wrote: [5] http://www.learnersdictionary.com/search/awhile awhile /əˈwajəl/ adverb : for a while : for a short time ▪ I'm going to sit and rest awhile. ▪ The rumor had been around awhile. While definition and practice may very well differ and change over

Re: Fixing a phrase in /stable.html

2013-02-18 Thread Alexander Hall
On 02/18/13 19:48, Nick Holland wrote: On 02/17/13 04:54, Jason McIntyre wrote: On Sun, Feb 17, 2013 at 01:29:00PM +0400, Nick Permyakov wrote: Hi, I might be nitpicking, but the sentence "This will take awhile..." at the bottom of http://www.openbsd.org/stable.html doesn't seem very grammatic

repeatable trunk broadcast panic

2012-12-20 Thread Alexander Hall
I was just playing around with trunk when I noticed this repeatable behaviour. No idea when the broadcast mode would be usable. # ifconfig em0 em0: flags=8b43 mtu 1500 lladdr 00:16:d3:ca:1a:1f priority: 0 trunk: trunkdev trunk0 media: Ethernet autoselect (1000baseT

Re: pkill long format failure

2012-12-11 Thread Alexander Hall
On 12/10/12 14:09, Todd C. Miller wrote: > On Sun, 09 Dec 2012 00:04:57 +0100, Alexander Hall wrote: > >> This diff follows your line, but allows *action to return match, error >> or nomatch, handled appropriately by the main loop. Also make the same >> changes to killac

Re: pkill long format failure

2012-12-08 Thread Alexander Hall
On 12/08/12 19:38, Todd C. Miller wrote: > On Thu, 06 Dec 2012 10:55:50 +0100, Alexander Hall wrote: > >> If, between the internal grep'ing and the printout, a process has >> disappeared, we currently get an empty line and pgrep will return >> nonzero. > > Woul

pkill long format failure

2012-12-06 Thread Alexander Hall
If, between the internal grep'ing and the printout, a process has disappeared, we currently get an empty line and pgrep will return nonzero. This makes it, IMHO, behave somewhat better. OK? Better wording? Could there be other reasons kvm_getargv fails? /Alexander Index: pkill.c ==

Re: cloneable tun

2012-12-01 Thread Alexander Hall
Reyk Floeter wrote: >On Wed, Nov 28, 2012 at 10:42 PM, Mark Kettenis > 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 usage, which is at best quirky in languages >other

Re: rc.d/dhcpd

2012-11-28 Thread Alexander Hall
mxb wrote: >Then running dhcpd with pf-support (-A -C ). >dhcpd spawns child process which is not handled by rc-script then >stop/restart. > >Here is a diff to fix it. > >Yes, I know, normally one might want to flush PF-tables as well and >this is not handled by the diff. >But at least I don't h

Re: rc.d/sshd reload test

2012-11-28 Thread Alexander Hall
On 11/28/12 08:34, Antoine Jacoutot wrote: > On Wed, Nov 28, 2012 at 08:28:10AM +0100, Alexander Hall wrote: >> Make sure new config is valid before SIGHUP'ing sshd, which would >> otherwise just kill it. Invalid configuration now gives: >> >> # pgrep sshd >

rc.d/sshd reload test

2012-11-27 Thread Alexander Hall
Make sure new config is valid before SIGHUP'ing sshd, which would otherwise just kill it. Invalid configuration now gives: # pgrep sshd 18998 # /etc/rc.d/sshd reload sshd(failed) # pgrep sshd 18998 Pros: Less risk of accidentally killing sshd and locking yourself out. Cons: You may think that y

Re: hostname.if(5) clarification

2012-11-27 Thread Alexander Hall
On 11/27/12 16:20, Christian Weisgerber wrote: Stuart Henderson wrote: On 2012/11/26 22:24, Christian Weisgerber wrote: [...] After some further reflection, I think I agree with sthen. I am "mostly" happy with hostname.if, but I would find it useful to have a nicer syntax that allows ignor

Re: hostname.if(5) clarification

2012-11-26 Thread Alexander Hall
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 04:30:47PM +0200, Paul Irofti wrote: >> > > Be more specific about the order of interpretation. Okay? >> > > >> > >

Re: login_yubikey case-insensitive hex decoding

2012-11-23 Thread Alexander Hall
On 11/23/12 02:17, Philip Guenther wrote: > On Thu, Nov 22, 2012 at 5:28 PM, Alexander Hall wrote: >> The corresponding part in yubikey_hex_decode is for consistency and, >> IMO, sanity, allowing mixed case hex strings, e.g. /var/db/yubikey/*. >> >> Comments? OK

login_yubikey case-insensitive hex decoding

2012-11-22 Thread Alexander Hall
Cheers, SHIFT or CAPS LOCK (on any keyboard) screws up the parsing of the yubikey OTP. So make that parsing case-insensitive. The corresponding part in yubikey_hex_decode is for consistency and, IMO, sanity, allowing mixed case hex strings, e.g. /var/db/yubikey/*. Comments? OK? (Don't mess with

Re: Make cron supply valid RFC822 From: and To: headers

2012-11-13 Thread Alexander Hall
On 11/13/12 13:49, Christian Weisgerber wrote: Alexander Hall wrote: Since I switched to SMTPD I noticed a few cron emails being marked as spam by spamassassin, largely caused by the From: and To: headers not containing a domain part. If I read RFC822 correctly, the domain part is not

Make cron supply valid RFC822 From: and To: headers

2012-11-13 Thread Alexander Hall
Since I switched to SMTPD I noticed a few cron emails being marked as spam by spamassassin, largely caused by the From: and To: headers not containing a domain part. If I read RFC822 correctly, the domain part is not optional, and thus we should append one, unless MAILTO already specifies one. Hi

Re: fix disable lidsuspend on shutdown by init(8)

2012-10-11 Thread Alexander Hall
On 10/12/12 00:08, Alexander Hall wrote: On 09/23/12 22:24, Ted Unangst wrote: On Sat, Sep 22, 2012 at 14:01, Theo de Raadt wrote: Only concern I have is whether #include could have side-effects on architectures I don't know of (which, admittedly, is quite a few). it is a bad idea to

Re: fix disable lidsuspend on shutdown by init(8)

2012-10-11 Thread Alexander Hall
On 09/23/12 22:24, Ted Unangst wrote: > On Sat, Sep 22, 2012 at 14:01, Theo de Raadt wrote: >>> Only concern I have is whether #include could have >>> side-effects on architectures I don't know of (which, admittedly, is >>> quite a few). >> >> it is a bad idea to pull machine/ header files. > > I

Re: smtpd "require auth"

2012-10-09 Thread Alexander Hall
On 10/09/12 15:24, Alexander Hall wrote: Hi, I suddenly got a flood of incoming spam, and when I could not find any trace of them in the spamdb output, I suspected it was coming in on port 587, which I had configured with tls and "enable auth" For shitz and giggles, I don'

<    1   2   3   >