Re: sshd(8) logging of client disconnect from ClientAliveInterval

2017-12-09 Thread Lars Nooden
On Wed, 18 Oct 2017, Darren Tucker wrote: > I meant reusing the existing function rather than cloning it. It's > currently static so it needs to be exported but IMO that's better than > duplicating the code. > > Index: packet.c >

Re: restoring keyboard layout after suspend or hibernate

2014-01-24 Thread Lars Nooden
On Thu, 23 Jan 2014, Miod Vallat wrote: [cc: tech@, reply-to set to tech@] [snip] Fear not, for I have a diff for you (which I have been sitting on for about two years, and only completed and debugged thanks to this discussion)! [snip] Very cool. I've given it a try now on some limited

perlre(1) and substitution evaluations

2013-11-30 Thread Lars Nooden
perlre(1) seems to be missing information about substitution evaluations with the /e option. The functionality is present in perl: perl -e '$_=2; s/2/1+3/e; print' But it is not listed in the base documentation. The modifier /e is described in Programming Perl, 4th ed, pp 186,

undefined values in pkg_add

2010-03-28 Thread Lars Nooden
Undefined values crash pkg_add. e.g. pkg_add -z tidy Index: usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm === RCS file: /cvs/src/usr.sbin/pkg_add/OpenBSD/PackageRepositoryList.pm,v retrieving revision 1.21 diff -u -p -r1.21

Re: suggested patch to httpd.conf in base

2010-03-13 Thread Lars Nooden
Brad and Ozgur, If your file is in the server's document root, then it is published [1]. For whatever reason, a lot of C-Levels act as if they are unclear on that. There is also often the false belief among them that security and usability are mutually exclusive. I don't understand the rules

Re: su.1

2010-03-09 Thread Lars Nooden
On 2010/03/08 22:05, Lars Nooden wrote: That the option '-' is depreciated in favor of '-l' could be emphasized more. On 2010-3-8 11:44 PM, Stuart Henderson wrote: it's 'deprecate', not 'depreciate', they have different meanings. Ok. I withdraw the suggestion due to the typo and other

su.1

2010-03-08 Thread Lars Nooden
That the option '-' is depreciated in favor of '-l' could be emphasized more. Index: su.1 === RCS file: /cvs/src/usr.bin/su/su.1,v retrieving revision 1.24 diff -u -p -r1.24 su.1 --- su.131 May 2007 19:20:17 - 1.24

Add rEFIt bootloader to FAQ4

2010-03-05 Thread Lars Nooden
rEFIt can be used with OpenBSD, especially when dual booting OS X, or when triple booting OS X and Linux. Index: faq4.html === RCS file: /cvs/www/faq/faq4.html,v retrieving revision 1.294 diff -u -p -r1.294 faq4.html --- faq4.html

httpd mime.types OpenDocument Format

2010-02-23 Thread Lars Nooden
Adding the IANA mime types for the OpenDocument Format, with file name extensions. The previous diff was missing the extensiosn. For references regarding this open standard, see a) ISO/IEC 26300, The OpenDocument Format b) 'Appendix C: MIME Types and File Names (Non-normative)' from the OASIS

games/fortune/strfile/strfile.8

2010-01-17 Thread Lars Nooden
The output made by strfile currently gets the suffix '.dat' by default. /Lars Index: strfile.8 === RCS file: /cvs/src/games/fortune/strfile/strfile.8,v retrieving revision 1.13 diff -u -p -u -p -r1.13 strfile.8 --- strfile.8 31

Re: games/fortune/strfile/strfile.8

2010-01-17 Thread Lars Nooden
Ingo Schwarze wrote: Note that strfile(8) is not installed by default, neither the utility nor the manual. It's only used by the build process. Noted. Thanks. I missed a second change. /Lars Index: strfile.8 === RCS file:

ddb.log in sysctl.conf

2010-01-14 Thread Lars Nooden
ddb.log was missing from sysctl.conf Here is a guess at a description and a value. /Lars Index: sysctl.conf === RCS file: /cvs/src/etc/sysctl.conf,v retrieving revision 1.47 diff -u -p -r1.47 sysctl.conf --- sysctl.conf 9 Jun 2009

Re: ddb.log in sysctl.conf

2010-01-14 Thread Lars Nooden
Federico G. Schwindt wrote: On Thu, Jan 14, 2010 at 06:43:58PM +0200, Lars Nooden wrote: ddb.log was missing from sysctl.conf Here is a guess at a description and a value. not all the options are in sysctl.conf, i would say only the most popular ones (i.e. people are likely to want

Re: ddb.log in sysctl.conf

2010-01-14 Thread Lars Nooden
Ted Unangst wrote: This is incorrect. This file is not for documentation, it is for configuration. If the user adds a new option to the file, it does not suddenly become commonly used. Ok. What is intended in the proposed changes is that the list be identified as intentionally a subset of

maximum segment size in pf.conf.5

2010-01-12 Thread Lars Nooden
The acronym MSS can be expanded in the manual page for pf.conf for improved clarity. /Lars Index: pf.conf.5 === RCS file: /cvs/src/share/man/man5/pf.conf.5,v retrieving revision 1.443 diff -u -p -r1.443 pf.conf.5 --- pf.conf.5

Random Early Detection vs Random Early Drop

2009-12-13 Thread Lars Nooden
pf.conf(5) refers to 'Random Early Detection' sshd_config(5) refers to 'Random Early Drop' Should the same wording be used in both man pages? /Lars cvs diff -Nup sshd_config.5 Index: sshd_config.5 === RCS file:

s{cp|sh|ftp} -l -u

2009-11-30 Thread Lars Nooden
Damien wrote that bandwidth limiting was in the works for scp and that -l would be reserved for that function: http://marc.info/?l=openbsd-techm=125885310629877 Are plans, nebulous or otherwise, also in the works for bandwidth limiting in ssh and sftp? Both are used for transfers. sftp is

Re: s{cp|sh|ftp} -l -u

2009-11-30 Thread Lars Nooden
Stuart Henderson wrote: On 2009/11/30 12:35, Lars Nooden wrote: ssh has used -l for a long time to desginate username. oh, there's a lot more history than that. it's a mostly drop-in replacement for rsh, which also uses -l. Yes, so changing that would be a big deal. During the transition

Re: phrase 'log rotation' in newsyslog.8

2009-11-23 Thread Lars Nooden
Jason McIntyre wrote: hmm. it can compress logs too - should we stick that in? (i'm joking) the point is to make it sane. so the question is still is there a difference between trimming logs and rotating them? and, if there is, is it a distinction that a manual page description needs to make?

Re: sftp -l user host

2009-11-22 Thread Lars Nooden
Damien Miller wrote: On Tue, 17 Nov 2009, lars wrote: Adding the -l argument to assign user name on sftp is done on ssh and makes the two more similar to use. The diff below is an illustraion of what might be done. No, -l is reserved for bandwidth limiting like scp's -l option. This