Better call poll - pkg_add / ftp can never timeout

2018-10-12 Thread sven falempin
Dear Reader I already send email about my issue with pkg_add staying up for a long time. I cannot change the sysctl because other connections need large inactivity. I finally got a 'decent' diff working, still not very good imho, tls_read shall provide something smart as poll reply the data amoun

Re: doas(1): Exit Status

2018-10-12 Thread Theo de Raadt
Dave Cameron wrote: > I believe this updated patch enumerates all possible cases, though I'm > not sure the style is ideal: > > -snip- > EXIT STATUS > doas may fail for one of the following reasons: > > • The config file /etc/doas.conf could not be parsed. > • The user attemp

Re: doas(1): Exit Status

2018-10-12 Thread Dave Cameron
On Fri, 12 Oct 2018 17:55:14 +0100 Jason McIntyre wrote: > On Fri, Oct 12, 2018 at 10:13:13PM +1300, Dave Cameron wrote: > > doas(1) currently states: > > -clip- > > EXIT STATUS > > The doas utility exits 0 on success, and >0 if an error > > occurs. It may fail for one of the following reas

Re: doas(1): Exit Status

2018-10-12 Thread Theo de Raadt
Well, the proposal is incorrect. doas *executes* the command, which then does whatever it does. It isn't doas doing anything anymore, so doas doesn't need to document anything. It has *executed* the other command and cannot speak on the matter of what that command will do. For instance, the -C

Re: doas(1): Exit Status

2018-10-12 Thread Ted Unangst
Dave Cameron wrote: > doas(1) currently states: > -clip- > EXIT STATUS > The doas utility exits 0 on success, and >0 if an error occurs. It may > fail for one of the following reasons: > > o The config file /etc/doas.conf could not be parsed. > o The user attempted to run

Re: bgpd fix mrt table dumps

2018-10-12 Thread Sebastian Benoit
ok Claudio Jeker(cje...@diehard.n-r-g.com) on 2018.10.12 13:08:15 +0200: > Some time ago I busted mrt dumps. This fixes them again. > > Run the mrt rib_dump_r runner in the poll loop before checking for queued > imsgs. This makes sure that data is produced and pushed out quickly. Only > run the r

Re: doas(1): Exit Status

2018-10-12 Thread Jason McIntyre
On Fri, Oct 12, 2018 at 10:13:13PM +1300, Dave Cameron wrote: > doas(1) currently states: > -clip- > EXIT STATUS > The doas utility exits 0 on success, and >0 if an error occurs. It may > fail for one of the following reasons: > > o The config file /etc/doas.conf could not be par

Re: 802.1q with 0 tag

2018-10-12 Thread Rivo Nurges
Hi! I'll look into the problems(vlan interface with 0 tag and issues priority differeces) you mentioned. I tested your idea of having vlan interface without tag and IP on top of physical interface, but IP traffic doesn't get picked up by parent. Extreme(Brocade) SLX does it. Depending on the ingr

bgpd fix mrt table dumps

2018-10-12 Thread Claudio Jeker
Some time ago I busted mrt dumps. This fixes them again. Run the mrt rib_dump_r runner in the poll loop before checking for queued imsgs. This makes sure that data is produced and pushed out quickly. Only run the runner when the mrt state is not MRT_STATE_REMOVE (since that would restart the dump)

doas(1): Exit Status

2018-10-12 Thread Dave Cameron
doas(1) currently states: -clip- EXIT STATUS The doas utility exits 0 on success, and >0 if an error occurs. It may fail for one of the following reasons: o The config file /etc/doas.conf could not be parsed. o The user attempted to run a command which is not permitted.