vi(1): minor nit

2017-04-25 Thread Anton Lindqvist
Hi, In revision 1.41 of usr.bin/vi/common/exf.c the msg_cat function was removed but it looks like an extraneous argument from one of the removed function calls didn't end up being removed. Found while compiling with clang(1). Index: common/exf.c ===

Re: clang: ignore -fno-force-addr

2017-04-25 Thread Jeremie Courreges-Anglas
"Ted Unangst" writes: > Jeremie Courreges-Anglas wrote: >> >> clang already recognizes (and ignores) -fforce-addr but errors out >> on -fno-force-addr. This breaks the build of ports/databases/qdbm: >> >> >> http://build-failures.rhaalovely.net/amd64-clang/2017-04-14/databases/qdbm.log >>

Re: ftpd should not error out twice

2017-04-25 Thread Theo de Raadt
> form@ has mentioned this bug to me on multiple occasions, so > here it goes: after the USER command has been given, any other > command excluding PASS produces double error. form@ says that > it confuses some clients. I'm not certain why would a client > send something else than a PASS, NOOP or

Re: ftpd should not error out twice

2017-04-25 Thread Todd C. Miller
I don't have any objection to this but if it is committed a similar change should be made to check_login_epsvall. - todd

Re: ftpd should not error out twice

2017-04-25 Thread Mike Belopuhov
On Tue, Apr 25, 2017 at 12:27 -0600, Theo de Raadt wrote: > > > Notice how 530 and 500 were both returned for the TYPE command > > > that is not valid in this context. Now with the proposed fix: > > > > > > kemushi:~% telnet localhost 21 > > > Trying 127.0.0.1... > > > Connected to lo

Re: ftpd should not error out twice

2017-04-25 Thread Theo de Raadt
> > Notice how 530 and 500 were both returned for the TYPE command > > that is not valid in this context. Now with the proposed fix: > > > > kemushi:~% telnet localhost 21 > > Trying 127.0.0.1... > > Connected to localhost. > > Escape character is '^]'. > > 220 kemushi.esdener

Re: ftpd should not error out twice

2017-04-25 Thread Theo de Raadt
> Notice how 530 and 500 were both returned for the TYPE command > that is not valid in this context. Now with the proposed fix: > > kemushi:~% telnet localhost 21 > Trying 127.0.0.1... > Connected to localhost. > Escape character is '^]'. > 220 kemushi.esdenera.com FTP server

ftpd should not error out twice

2017-04-25 Thread Mike Belopuhov
form@ has mentioned this bug to me on multiple occasions, so here it goes: after the USER command has been given, any other command excluding PASS produces double error. form@ says that it confuses some clients. I'm not certain why would a client send something else than a PASS, NOOP or HELP that

Re: Perform H-FSC root queue allocation into the kernel

2017-04-25 Thread Mike Belopuhov
On Tue, Apr 25, 2017 at 18:02 +0200, Mike Belopuhov wrote: > Hi, > > Since only leaf queues can have packets assigned to them, H-FSC > needs a dedicated placeholder root queue. Right now we conjure > it up behind the user's back, but userland doesn't really have > to deal with this and can let ke

About Your Linux Monitoring Post

2017-04-25 Thread Mellisa Hutchina
Hi there, I work on the web team here at Opsview, we are an industry leading server monitoring company. You may be wondering if I am selling you something. There is no charge or cost involved in any of this. My team are responsible for creating web content and making s

Perform H-FSC root queue allocation into the kernel

2017-04-25 Thread Mike Belopuhov
Hi, Since only leaf queues can have packets assigned to them, H-FSC needs a dedicated placeholder root queue. Right now we conjure it up behind the user's back, but userland doesn't really have to deal with this and can let kernel take care of it itself. If you take a look at what troubles pfctl

Re: syslogd multiple tls listen sockets

2017-04-25 Thread Alexander Bluhm
On Sun, Apr 16, 2017 at 08:56:31PM +0200, Alexander Bluhm wrote: > This allows syslogd(8) to listen on multiple addresses for incomming > TLS connections. Updated diff, ok? bluhm Index: usr.sbin/syslogd/syslogd.8 === RCS file: /data

Re: uip_socket.c: issues when using sendmsg() with small send buffers and the new 6.1 control message (IP_SENDSRCADDR)

2017-04-25 Thread Jeremie Courreges-Anglas
"Markert, Alexander" writes: > Hi, Hi, > the length of the data to be sent and in addition the length of the > associated control message (e.g. the source address: IP_SENDSRCADDR) musn't > exceed the maximum size of the socket's send buffer (SO_SNDBUF). > Otherwise EMSGSIZE is returned. That

Re: cksum not working with both -a and -C flags together

2017-04-25 Thread Craig Skinner
On Tue, 28 Mar 2017 11:56:19 -0600 "Todd C. Miller" wrote: > On Tue, 28 Mar 2017 09:33:53 -0600, "Todd C. Miller" wrote: > > > It seems to me that in -C mode it should really process all the > > checksums that match the specified file(s), but the documentation > > does not actually specify what th