Re: unreliable connections

2014-03-31 Thread Henning Brauer
* Chris Smith [2014-03-17 23:41]: > I think the source of this reported problem has been found, and > happily fixed (the preliminary results are promising). > > Basically I needed to find some way to get the backups to complete > reliably so I started a 20 count ping job a minute before the rsync

Re: unreliable connections

2014-03-31 Thread Henning Brauer
* Stuart Henderson [2014-01-27 13:18]: > On 2014/01/26 14:53, Chris Smith wrote: > > On Thu, Jan 16, 2014 at 8:26 PM, Stuart Henderson > > wrote: > > > This could be an MTU or RWIN-related issue. > > > > Could my issue have anything to with the "miscounting bug for inbound > > with pf on" menti

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 3:37 AM, Philip Guenther wrote: > you stated that my description was wrong and not what you were > looking for on at least one point of behavior. If by that, you mean this: >>If no data is received, it should still return after 0.1s. > No, read() should not return 10

Re: system resets with openbsd flash drive

2014-03-31 Thread Shawn K. Quinn
On Mon, Mar 31, 2014, at 10:35 PM, Jim Rowan wrote: > Hi, > > I'm trying to resurrect some neoware ca22 thinclient boxes, and seeing > strange behavior I don't know how to interpret. [...] > Suspicious that it was the usb drive itself, I tried three separate > brands. Same thing. > I put grml

Re: termios VMIN VTIME

2014-03-31 Thread Philip Guenther
On Mon, Mar 31, 2014 at 8:14 PM, trifle menot wrote: > On Tue, Apr 1, 2014 at 3:00 AM, Philip Guenther wrote: > >>> Show me where POSIX says VTIME must be an interbyte timer. >> >> http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap11.html#tag_11_01_07 > > I missed that during my sea

system resets with openbsd flash drive

2014-03-31 Thread Jim Rowan
Hi, I'm trying to resurrect some neoware ca22 thinclient boxes, and seeing strange behavior I don't know how to interpret. I have a bootable 5.4 usb stick. If I put that in the box, right after the initial bios boot screen (after it says "via c7 1.0Ghz"), the system resets. This is bef

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 3:00 AM, Philip Guenther wrote: >> Show me where POSIX says VTIME must be an interbyte timer. > > http://pubs.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap11.html#tag_11_01_07 I missed that during my search. POSIX says so. OK. > And you *still* haven't provided a

Re: termios VMIN VTIME

2014-03-31 Thread Philip Guenther
On Mon, Mar 31, 2014 at 7:52 PM, trifle menot wrote: > On Tue, Apr 1, 2014 at 2:39 AM, Philip Guenther wrote: > >> Your question is "why haven't OS developers done what I think is >> right?" >> The answer to that question is "because the POSIX standard says we >> shouldn't, and is quite clear abo

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 2:12 AM, Theo de Raadt wrote: > your cute little nickname should have hinted that you don't have a > mature understanding of the world. Thanks for the psychoanalysis, doctor. Is your advice free, or do you charge for it?

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 2:39 AM, Philip Guenther wrote: > Your question is "why haven't OS developers done what I think is > right?" > The answer to that question is "because the POSIX standard says we > shouldn't, and is quite clear about this." Show me where POSIX says VTIME must be an interbyt

Re: termios VMIN VTIME

2014-03-31 Thread Philip Guenther
On Mon, Mar 31, 2014 at 6:13 PM, trifle menot wrote: > On Tue, Apr 1, 2014 at 12:23 AM, Philip Guenther wrote: >> I *sounds* like the problem you're trying to solve** is some thing like >> I want to efficiently read data from a serial line, returning >> whenever at least >> 250 bytes ar

Re: Encrypting httpd/nginx and friends

2014-03-31 Thread Erling Westenvik
On Fri, Mar 28, 2014 at 10:58:15AM +0100, Manuel Giraud wrote: > I can then connect as root (with the correct authorized_keys) and bioctl > the crypto softraid and finally kill this sshd. > > Drawbacks: > - compile a self-content sshd (see crunchgen(8) for this) (if > possible do

Re: termios VMIN VTIME

2014-03-31 Thread Theo de Raadt
> > I suspect they all follow an official specification. Careful test code > > compared to the specification would decide. > > > It might show them all to be right, leaving the obvious conclusion about > > who is wrong. > > To test it, I used two Perl scripts, sender and receiver, a two port > s

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 1:39 AM, Theo de Raadt wrote: > I suspect they all follow an official specification. Careful test code > compared to the specification would decide. > It might show them all to be right, leaving the obvious conclusion about > who is wrong. To test it, I used two Perl scr

Re: termios VMIN VTIME

2014-03-31 Thread Theo de Raadt
>On Tue, Apr 1, 2014 at 1:18 AM, Theo de Raadt wrote: > >> Are you saying OpenBSD does it wrong, or that all the operating systems >> do it wrong? > >I tested Linux and OpenBSD. Both wrong. > >The termios man pages from NetBSD and FreeBSD are identical to >OpenBSD. So I expect they're wrong too.

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 1:18 AM, Theo de Raadt wrote: > Are you saying OpenBSD does it wrong, or that all the operating systems > do it wrong? I tested Linux and OpenBSD. Both wrong. The termios man pages from NetBSD and FreeBSD are identical to OpenBSD. So I expect they're wrong too.

Re: termios VMIN VTIME

2014-03-31 Thread Theo de Raadt
> > I *sounds* like the problem you're trying to solve** is some thing like > > I want to efficiently read data from a serial line, returning > > whenever at least > > 250 bytes are available or when more then 0.1s has passed. > > If no data is received, it should still return after

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Tue, Apr 1, 2014 at 12:23 AM, Philip Guenther wrote: > I *sounds* like the problem you're trying to solve** is some thing like > I want to efficiently read data from a serial line, returning > whenever at least > 250 bytes are available or when more then 0.1s has passed. > If no

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Mon, Mar 31, 2014 at 11:52 PM, Theo de Raadt wrote: > In the future, please submit concise reports rather than a link to > something vague which is part of a long conversation on some site out > there. It will indicate you are serious. I may do that. > Perhaps VMIN and VTIME were designed b

Re: termios VMIN VTIME

2014-03-31 Thread Philip Guenther
On Mon, Mar 31, 2014 at 5:01 PM, trifle menot wrote: > On Mon, Mar 31, 2014 at 11:17 PM, Philip Guenther wrote: > >> You haven't convinced me the design needs fixing, nor have you proved >> that the goal that you (sorta) describe can't already be solved with >> the existing APIs. > >> "What probl

Re: OpenBGPd - iBGP next-hop translation using IGP (OSPF)

2014-03-31 Thread Theo de Raadt
> There is also a GSoC project to get BFD into OpenBSD. So if a student is > interested in working on that that would be an oportunity. Honestly, I think many people are building hacks because they lack a carefully-integrated BFD. If we had it, it would not solve fair-share problems, but it would

Re: termios VMIN VTIME

2014-03-31 Thread trifle menot
On Mon, Mar 31, 2014 at 11:17 PM, Philip Guenther wrote: > You haven't convinced me the design needs fixing, nor have you proved > that the goal that you (sorta) describe can't already be solved with > the existing APIs. > "What problem are you trying to solve?" a) set VMIN = 250; don't read()

Re: termios VMIN VTIME

2014-03-31 Thread Theo de Raadt
> On stackoverflow I said: > > http://stackoverflow.com/questions/20154157/termios-vmin-vtime-and-blocking-non-blocking-read-operations/22771908#22771908 > > Any thoughts on fixing the design, in favor or opposed? In the future, please submit concise reports rather than a link to something vague

Re: taking a screenshot through cwm shortcut.

2014-03-31 Thread Mario St-Gelais
On Mon, Mar 31, 2014 at 10:57:38PM +, Stuart Henderson wrote: >On 2014-03-31, marst wrote: >> On Sun, Mar 30, 2014 at 07:52:52PM -0400, marst wrote: >>>I set up a shortcut in my cwm config that goes like this: >>>bind 4-p "/home/marst/bin/screenshot.sh" >>> >>>screenshot.sh goes like this: >>>

Re: termios VMIN VTIME

2014-03-31 Thread Philip Guenther
On Mon, Mar 31, 2014 at 2:41 PM, trifle menot wrote: > On stackoverflow I said: > > http://stackoverflow.com/questions/20154157/termios-vmin-vtime-and-blocking-non-blocking-read-operations/22771908#22771908 > > Any thoughts on fixing the design, in favor or opposed? You haven't convinced me the d

Re: building yesterday's (and today's) -current

2014-03-31 Thread Stuart Henderson
On 2014-03-31, Gregory Edigarov wrote: > Hi, > followed faq/current.html, > >===> man > pod2man --official --release="OpenBSD 5.5" --center=OpenSSL --section=3 > --name=ASN1_OBJECT_NEW > /usr/src/lib/libssl/man/../src/doc/crypto/ASN1_OBJECT_new.pod > > ASN1_OBJECT_new.3 > Perl API version v5.16

Re: taking a screenshot through cwm shortcut.

2014-03-31 Thread Stuart Henderson
On 2014-03-31, marst wrote: > On Sun, Mar 30, 2014 at 07:52:52PM -0400, marst wrote: >>I set up a shortcut in my cwm config that goes like this: >>bind 4-p "/home/marst/bin/screenshot.sh" >> >>screenshot.sh goes like this: >> >>#!/bin/sh >>scrot -s '%Y-%m-%d_$wx$h.png' # -e 'mv $f ~/documents/shot

Re: taking a screenshot through cwm shortcut.

2014-03-31 Thread marst
On Sun, Mar 30, 2014 at 07:52:52PM -0400, marst wrote: >I set up a shortcut in my cwm config that goes like this: >bind 4-p "/home/marst/bin/screenshot.sh" > >screenshot.sh goes like this: > >#!/bin/sh >scrot -s '%Y-%m-%d_$wx$h.png' # -e 'mv $f ~/documents/shots' -e 'feh $f' > >Ran by itself, the c

termios VMIN VTIME

2014-03-31 Thread trifle menot
On stackoverflow I said: http://stackoverflow.com/questions/20154157/termios-vmin-vtime-and-blocking-non-blocking-read-operations/22771908#22771908 Any thoughts on fixing the design, in favor or opposed?

Re: OpenBGPd - Exporting Communities to route server peers

2014-03-31 Thread Claudio Jeker
On Sun, Mar 30, 2014 at 01:08:12PM +0200, Thorleif Wiik [BCIX] wrote: > Hi, > > > were running OpenBGPd since a long a time as route servers. I guess those are configured as route-reflectors. Correct? > We now want to export certain BGP Communities to all route server peers. > > We already se

Re: OpenBGPd - iBGP next-hop translation using IGP (OSPF)

2014-03-31 Thread Claudio Jeker
On Mon, Mar 31, 2014 at 07:59:19PM +0100, Stuart Henderson wrote: > On 2014/03/31 09:31, Andy wrote: > > Hi Stuart, > > > > Does Henning, Claudio or any of the other developers have any plan to > > implement BGP equal cost multi-path support (maximum-paths) to OpenBGPd? > > No idea about anyone e

Dell Latitude E5440 won't stay suspended

2014-03-31 Thread Wade, Daniel
If I suspend the laptop it only suspends for a second or two and then it resumes by itself. Same issue with and without running X OpenBSD 5.5-current (GENERIC.MP) #42: Sun Mar 30 21:06:10 MDT 2014 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP real mem = 8474574848 (808

Re: how to query running process for its ulimit values

2014-03-31 Thread Philip Guenther
On Mon, Mar 31, 2014 at 11:10 AM, Imre Oolberg wrote: ... > But i wonder how i could ask the system how much are the so to say > ulimits of the running unbound process, e.g. number of open files? There's currently no way to do that from a non-privileged process and no canned way to do it from a p

Re: OpenBGPd - iBGP next-hop translation using IGP (OSPF)

2014-03-31 Thread Stuart Henderson
On 2014/03/31 09:31, Andy wrote: > Hi Stuart, > > Does Henning, Claudio or any of the other developers have any plan to > implement BGP equal cost multi-path support (maximum-paths) to OpenBGPd? No idea about anyone else's plans... > I guess it should be quite quick to add as OpenOSPFd already s

Re: OpenBSD users web page updates

2014-03-31 Thread Brad Smith
On 31/03/14 1:34 PM, Craig R. Skinner wrote: A few updates for the page: http://www.OpenBSD.org/users.html#isp * Fix broken Swebase link. * Add Devio.us * Add Grex * Add Polar Home It looks like Reverse.Net should be removed. Their website makes it pretty clear they don't run OpenBSD

Re: SunFire v210 for developer

2014-03-31 Thread Maurice Janssen
On 03/30/14 22:47, Maurice Janssen wrote: Hi, I have two SunFire V210 machines to offer to any developer (preferably in Europe) that can use such a machine for OpenBSD development. Both are dual CPU 1.0 GHz with 2 GB RAM. Just contact me off list please. Maurice I've had a couple replies,

Re: OpenBSD users web page updates

2014-03-31 Thread System Administrator
On 31 Mar 2014 at 18:13, Chi wrote: > On Mon, 31 Mar 2014 18:34:39 +0100 > skin...@britvault.co.uk (Craig R. Skinner) wrote: > > > Reverse.Net uses OpenBSD on AMD hardware to provide shell > accounts, > > website hosting, and domain name hosting. > > results to > Access Denied: > Because of hi

Re: OpenBSD users web page updates

2014-03-31 Thread Chi
On Mon, 31 Mar 2014 18:34:39 +0100 skin...@britvault.co.uk (Craig R. Skinner) wrote: > Reverse.Net uses OpenBSD on AMD hardware to provide shell accounts, > website hosting, and domain name hosting. results to -

how to query running process for its ulimit values

2014-03-31 Thread Imre Oolberg
Hi! I had trouble with unbound running out of resources, esp. open files limit and good people pointed me towards /etc/login.conf. It seems that unbound is much better now after implementing class for it unbound:\ :datasize-cur=2G:\ :datasize-max=2G:\ :maxproc-max=256:\

OpenBSD users web page updates

2014-03-31 Thread Craig R. Skinner
A few updates for the page: http://www.OpenBSD.org/users.html#isp * Fix broken Swebase link. * Add Devio.us * Add Grex * Add Polar Home Index: www/users.html === RCS file: /cvs/www/users.html,v retrieving revision 1.132 diff -

building yesterday's (and today's) -current

2014-03-31 Thread Gregory Edigarov
Hi, followed faq/current.html, ===> man pod2man --official --release="OpenBSD 5.5" --center=OpenSSL --section=3 --name=ASN1_OBJECT_NEW /usr/src/lib/libssl/man/../src/doc/crypto/ASN1_OBJECT_new.pod > ASN1_OBJECT_new.3 Perl API version v5.16.0 of Encode does not match v5.18.0 at /usr/libdata/pe

Re: upgrades no longer allow ftp for sets

2014-03-31 Thread Craig R. Skinner
On 2014-03-29 Sat 19:26 PM |, Ted Unangst wrote: > > > > Eventually, will base ftpd be removed? > > The program (some might say pogrom) to delete old shit doesn't really > need any more suggestions at this time. I'm happily using it & was wondering if I should plan to stop doing so.

Re: taking a screenshot through cwm shortcut.

2014-03-31 Thread Stuart Henderson
On 2014-03-30, marst wrote: > I set up a shortcut in my cwm config that goes like this: > bind 4-p "/home/marst/bin/screenshot.sh" > > screenshot.sh goes like this: > > #!/bin/sh > scrot -s '%Y-%m-%d_$wx$h.png' # -e 'mv $f ~/documents/shots' -e 'feh $f' is scrot in the PATH inherited by this scri

Re: OpenBGPd - iBGP next-hop translation using IGP (OSPF)

2014-03-31 Thread Andy
Hi Stuart, Does Henning, Claudio or any of the other developers have any plan to implement BGP equal cost multi-path support (maximum-paths) to OpenBGPd? I guess it should be quite quick to add as OpenOSPFd already supports this and the kernel FIB is ready. Actually quite surprised this isn

Re: taking a screenshot through cwm shortcut.

2014-03-31 Thread Dmitrij D. Czarkoff
marst said: > bind 4-p "/home/marst/bin/screenshot.sh" Why do you need shellscript for one-liner? > scrot -s '%Y-%m-%d_$wx$h.png' # -e 'mv $f ~/documents/shots' -e 'feh $f' If you uncomment the rest of the command, it won't do what you wanted it to do. Use something like this instead: bind 4-p

Re: w...@openbsd.org bounces

2014-03-31 Thread Jean-Philippe Ouellet
On Mon, Mar 31, 2014 at 03:15:43AM -0400, Jean-Philippe Ouellet wrote: > On Sun, Mar 30, 2014 at 05:15:36PM -0400, Jean-Philippe Ouellet wrote: > > $ grep -rF w...@openbsd.org www | wc -l > > 2558 > > > > Perhaps those should be changed then? > > > > I'd send a patch, but I think it'd be sill

Re: w...@openbsd.org bounces

2014-03-31 Thread Jean-Philippe Ouellet
On Sun, Mar 30, 2014 at 05:15:36PM -0400, Jean-Philippe Ouellet wrote: > $ grep -rF w...@openbsd.org www | wc -l > 2558 > > Perhaps those should be changed then? > > I'd send a patch, but I think it'd be silly since it'd just be > a mechanical change, and a pretty huge diff. I was informed o