syslogd error logging during startup

2017-04-27 Thread Alexander Bluhm
Hi, jung@ reported that syslogd's error messages are lost if it cannot open a logfile. Problem is there is interfering logic during startup whether to log to stderr or /dev/console. My log_setdebug() feature adds too much abstraction, use the global variable Started instead. Then all decisions

pf.conf Example Suggested Modify to X11 protection

2017-04-27 Thread Tom Smyth
Hello, I had a client that had a service running on TCP port 6001 behind an OpenBSD router the port was blocked because of the X11 firewall Rule that protects X11, I think that the rule (even though it is an example rule) could be made more specific to prevent the example rules from blocking traffi

netstart fix

2017-04-27 Thread Martin Pieuchot
When I changed netstart(8) in r1.172 to re-add the default route, when an interface was given as argument, I introduced a regression. The problem occurs if multiple default routes were previously configured. In this case executing "route delete default" without argument might remove the wrong rout

ksh: quiet clang warning

2017-04-27 Thread Todd C. Miller
This quiets the folowing warning without resorting to a cast. /usr/src/bin/ksh/eval.c:329:19: warning: implicit conversion from 'int' to 'char' changes value from 192 to -64 [-Wconstant-conversion] *dp++ = '@' + 0x80;

Issues with (efi)boot since 6.1

2017-04-27 Thread Nicolas Vollmar
I've already posted about this in user-misc, but I still need some help with this: I've been playing around with OpenBSD 6.0 on an up board (up-board.org) for a couple of months without any issues. Since upgrading to 6.1, I can't boot without manual interventions anymore. After the upgrade, boot n

Re: ftpd should not error out twice

2017-04-27 Thread Todd C. Miller
On Thu, 27 Apr 2017 11:00:52 +0200, Mike Belopuhov wrote: > Indeed, it supresses errors from PORT and the like, while > keeping the "530 Please login with USER and PASS.". > > Before: > > USER foo > 331 Password required for foo. > PORT 12567 > 530 Please login with USER and PASS

unifdef KADB

2017-04-27 Thread Martin Pieuchot
ok? Index: arch/alpha/alpha/machdep.c === RCS file: /cvs/src/sys/arch/alpha/alpha/machdep.c,v retrieving revision 1.177 diff -u -p -r1.177 machdep.c --- arch/alpha/alpha/machdep.c 13 Jan 2017 09:18:11 - 1.177 +++ arch/alpha/

Re: ftpd should not error out twice

2017-04-27 Thread Mike Belopuhov
On Tue, Apr 25, 2017 at 13:08 -0600, Todd C. Miller wrote: > I don't have any objection to this but if it is committed a > similar change should be made to check_login_epsvall. > > - todd Indeed, it supresses errors from PORT and the like, while keeping the "530 Please login with USER and PASS."