[>]
http://marc.info/?l=openbsd-cvs&m=140655964913198&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-28 19:55:08
Module name: src
Changes by: jsg@cvs.openbsd.org 2014/07/28 09:00:27
Modified files:
sys/dev/pci : vga_pci.c vga_pci_common.c
sys/arch/macppc/pci: vgafb.c
sys/arch/sparc64/dev: machfb.c vgafb.c
Log message:
Limit the "aperture needed" printf to ramdisks via RAMDISK_HOOKS.
Originally with SMALL_KERNEL until sebastia@ pointed out that not
all ramdisks are built with SMALL_KERNEL.
ok deraadt@ kettenis@
[>]
http://marc.info/?l=openbsd-cvs&m=140656565915780&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-28 20:55:07
Module name: src
Changes by: tobias@cvs.openbsd.org 2014/07/28 10:40:32
Modified files:
sbin/dhclient : packet.c
usr.sbin/dhcrelay: packet.c
Log message:
merge dhcpd's packet.c revision 1.7:
Fix very hard to reach DoS attack vector, which would involve more than
8 billion network packets. Mixture of many many malformed and proper
packets could result in a division by zero.
ok krw@
[>]
http://marc.info/?l=openbsd-cvs&m=140656595715918&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-28 20:55:09
Module name: src
Changes by: tobias@cvs.openbsd.org 2014/07/28 10:45:35
Modified files:
sbin/dhclient : options.c
usr.sbin/dhcpd : options.c
Log message:
Fix memory exhaustion occurring on DHCP options with 0 length.
halex@ and krw@ pointed out that a NULL check before free can go, too.
ok deraadt@, halex@, krw@
[>]
http://marc.info/?l=openbsd-cvs&m=140657026817794&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-28 22:55:07
Module name: src
Changes by: tedu@cvs.openbsd.org 2014/07/28 11:57:18
Modified files:
lib/libcrypto/crypto: Makefile
lib/libssl/src/apps: progs.h
Removed files:
lib/libssl/src/crypto/srp: srp.h srp_grps.h srp_lcl.h srp_lib.c
srp_vfy.c
Log message:
Remove SRP code. It contains a bug (this should not surprise anyone), but
the details are under embargo. The original plan was to wait for the
embargo to lift, but we've been waiting for quite some time, and there's no
indication of when or even if it will end. No sense in dragging this out
any longer.
The SRP code has never been enabled in OpenBSD, though I understand it is
in use by some other people. However, in light of this and other issues,
we're officially saying SRP is outside the scope of libressl. (For now.)
[>]
http://marc.info/?l=openbsd-cvs&m=140657231618681&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-28 22:55:08
Module name: src
Changes by: miod@cvs.openbsd.org 2014/07/28 12:31:39
Modified files:
sys/arch/sparc/dev: dma.c dmavar.h if_le.c
Log message:
On SPARCbook systems, the ledma device node has a `cable-selection' property
specifying which media the on-board interface uses. We already query it to
set up proper register values; extend this to be able to pass a default
media to the le(4) child.
This makes SPARCbook system default to AUI without needing for a manual media
change.
tested by sebastia@
[>]
http://marc.info/?l=openbsd-cvs&m=140657942121752&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 00:55:08
Module name: src
Changes by: bluhm@cvs.openbsd.org 2014/07/28 14:30:01
Modified files:
sys/kern : subr_log.c
Log message:
I/O ktrace of sendsyslog(2) did not work. As uiomove() adjusts
iov_len to 0, we need a propper length calculation. While there,
use -1 for the file descriptor because 0 is reserved for stdin.
OK deraadt@ guenther@
[>]
http://marc.info/?l=openbsd-cvs&m=140657974821862&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 00:55:09
Module name: src
Changes by: deraadt@cvs.openbsd.org 2014/07/28 14:35:32
Modified files:
distrib/sets/lists/base: md.alpha md.amd64 md.armish md.armv7
md.aviion md.hppa md.hppa64 md.i386
md.landisk md.loongson md.luna88k
md.macppc md.octeon md.sgi md.socppc
md.sparc md.sparc64 md.vax md.zaurus
distrib/sets/lists/comp: mi
Log message:
sync
[>]
http://marc.info/?l=openbsd-cvs&m=140660264928185&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 07:55:06
Module name: src
Changes by: miod@cvs.openbsd.org 2014/07/28 20:57:09
Modified files:
distrib/notes/alpha: contents
distrib/notes/amd64: contents
distrib/notes/aviion: contents
distrib/notes/hppa: contents
distrib/notes/i386: contents
distrib/notes/loongson: contents
distrib/notes/macppc: contents
distrib/notes/octeon: contents
distrib/notes/sgi: contents
distrib/notes/socppc: contents
distrib/notes/sparc: contents
distrib/notes/sparc64: contents
distrib/notes/vax: contents
distrib/notes/zaurus: contents
Log message:
update sets sizes
[>]
g2k14: Ted Unangst on the Art of the Tedu **
obsd.info.14
undeadly.org(obsdave,1) — All
2014-07-29 11:55:06
http://undeadly.org/cgi?action=article&sid=20140729070721
Contributed by tbert on Tue Jul 29 07:07:41 2014 (GMT)
from the less-is-more dept.
Ted Unangst (tedu@) talks about teduing a goodly amount of code, among other things:
> Despite being in the same room as many other LibreSSL developers for the first time (since the beginning of LibreSSL at least), I didn't do too much work on that front. I did remove the compression feature (as made famous by the [CRIME attack](http://en.wikipedia.org/wiki/CRIME); not all protocols or deployments are vulnerable, but we're also aiming for a simpler feature set overall) and made a few other cleanups. While it's very helpful to be in the same room as other hackers to exchange ideas, having everyone pounding on the source at the same time is a little troublesome so I elected to stay out of the way.
> I did, however, take the chance to bounce some ideas for a ressl API off the other developers. Instead of continuing to use the OpenSSL API, the ressl API is entirely separate. Internally, ressl itself uses the OpenSSL API, but the interface presented to the user is quite different. Our particular focus is on absolving the user of the need to know about X.509 and ASN.1 internals; instead you simply ask ressl to verify the remote peer's hostame. And actually, you don't even need to do that because that's the default behavior. (Un)fortunately, jsing@ liked the idea so much he ran ahead and implemented it before I got the chance. One of the dangers of being at a hackathon, I guess.
>
> Besides that, I continued my hackathon tradition of deleting a lot code that most people probably never even knew existed. Say goodbye to asa, fpr, mkstr, xstr, oldrdist, fsplit, uyap, and bluetooth. Of these, you may possibly miss bluetooth support. Unfortunately, the current code doesn't work and isn't structured properly to encourage much future development.
>
> I reviewed a few filesystem diffs from pelikan@ for ext2fs and tobias@ for msdosfs. At the beginning of the hackathon I showed some developers a diff that changes the buffer cache to using a 2Q like strategy. That's gone through a few iterations, but won't make 5.6. Expect to see it soon, though.
>
> I made two changes to the kernel malloc(). The first was an idea deraadt@ had suggested some time ago. The current poison values (designed to detect use after free and other corruption) are rather limited, meaning that if a particular flag bit is set or unset, the incorrect code may continue to function. I change the poison values to inverted patterns, reversing all the bits. This proved to be very successful, finding many more bugs. Too successful, in fact, because there's not enough time to chase down and fix all the fallout before release, so that change has since been reverted.
>
> The second change was to add a size argument to [free(9)](http://www.openbsd.org/cgi-bin/man.cgi?query=free&apropos=0&sec=9&arch=default&manpath=OpenBSD-current). This is currently not used, as most callers pass 0 to indicate unknown, but will allow us to simplify some code on the free side and make some other fun changes as well.
>
> For userland [malloc(3)](http://www.openbsd.org/cgi-bin/man.cgi?query=malloc&apropos=0&sec=3&arch=default&manpath=OpenBSD-current), I did some work to accelerate threaded applications. I now have a stable first version of this ready, but it will wait for the next release as well.
[>]
http://marc.info/?l=openbsd-cvs&m=140663633805975&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 16:55:09
Module name: src
Changes by: mpi@cvs.openbsd.org 2014/07/29 06:18:41
Modified files:
sys/net : route.c route.h rtsock.c
Log message:
Revert the checks about RTF_LOCAL routes.
Even if in the end we would like to be more strict about what userland
can do with kernel-managed route entries, most of the tools out there
are not yet ready for this. Since RTF_LOCAL routes are for the moment
just like RTF_LLINFO routes without expire timer, allow userland tools
to remove/modify them. In case they are missing, the good old cloning
mechanism will recreate what you need.
bluhm@ and deraadt@ agree.
[>]
http://marc.info/?l=openbsd-cvs&m=140665066312093&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 20:55:08
Module name: src
Changes by: reyk@cvs.openbsd.org 2014/07/29 10:17:28
Modified files:
etc/examples : httpd.conf
usr.sbin/httpd : httpd.conf.5 httpd.h parse.y server_file.c
Log message:
Add extended directory index options: "[no] index" and "[no] auto index".
The option "directory auto index" implements basic directory listing
and is turned off by default.
ok deraadt@
[>]
http://marc.info/?l=openbsd-cvs&m=140665811415035&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 22:55:07
Module name: src
Changes by: tobias@cvs.openbsd.org 2014/07/29 12:21:30
Modified files:
sbin/dhclient : Tag: OPENBSD_5_5 options.c
usr.sbin/dhcpd : Tag: OPENBSD_5_5 options.c
Log message:
Fix memory exhaustion occurring on DHCP options with 0 length.
halex@ and krw@ pointed out that a NULL check before free can go, too.
ok deraadt@, halex@, krw@, jasper@
[>]
http://marc.info/?l=openbsd-cvs&m=140665821615068&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-29 22:55:08
Module name: src
Changes by: tobias@cvs.openbsd.org 2014/07/29 12:23:07
Modified files:
sbin/dhclient : Tag: OPENBSD_5_4 options.c
usr.sbin/dhcpd : Tag: OPENBSD_5_4 options.c
Log message:
Fix memory exhaustion occurring on DHCP options with 0 length.
halex@ and krw@ pointed out that a NULL check before free can go, too.
ok deraadt@, halex@, krw@, jasper@
[>]
http://marc.info/?l=openbsd-cvs&m=140670419227764&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-30 11:55:09
Module name: src
Changes by: reyk@cvs.openbsd.org 2014/07/30 01:09:38
Modified files:
usr.sbin/httpd : server_file.c
Log message:
Reserve an extra file descriptor per connection instead of per
request. This fixes fd accounting with persistent connections and
reduces the complexity of the implementation.
ok benno@
[>]
http://marc.info/?l=openbsd-cvs&m=140671473531140&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-30 14:55:08
Module name: src
Changes by: reyk@cvs.openbsd.org 2014/07/30 04:05:14
Modified files:
etc/examples : httpd.conf
usr.sbin/httpd : config.c httpd.conf.5 httpd.h parse.y server.c
server_http.c
Log message:
Add "location" keyword to specify path-specific configuration in
servers, for example auto index for a sub-directory only. Internally,
a "location" is just a special type of a "virtual" server.
[>]
http://marc.info/?l=openbsd-cvs&m=140672429202648&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-30 16:55:09
Module name: src
Changes by: espie@cvs.openbsd.org 2014/07/30 06:44:26
Modified files:
usr.sbin/pkg_add/OpenBSD: PkgAdd.pm
Log message:
prepare for post 5.6 packages, recognize special case where timestamp exist.
(specifically, this is a nop for 5.6, but it will allow changes to packages
without needing anything in pkg_add)
[>]
http://marc.info/?l=openbsd-ports-cvs&m=140673053405213&w=2
obsd.info.14
openbsd-ports-cvs(obsdave,2) — All
2014-07-30 18:55:15
Module name: ports
Changes by: naddy@cvs.openbsd.org 2014/07/30 08:28:24
Modified files:
mail/dovecot : Makefile
mail/dovecot/patches: patch-src_login-common_ssl-proxy-openssl_c
Added files:
mail/dovecot/patches:
patch-src_lib-ssl-iostream_iostream-openssl-context_c
patch-src_lib-ssl-iostream_iostream-openssl_c
Log message:
fix build after SSL compression removal; from brad@ et al.
[>]
http://marc.info/?l=openbsd-cvs&m=140673801308445&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-30 20:55:12
Module name: src
Changes by: jsg@cvs.openbsd.org 2014/07/30 10:33:11
Added files:
libexec/tradcpp: Makefile array.c array.h config.h directive.c
directive.h eval.c eval.h files.c files.h
inlinedefs.h macro.c macro.h main.c mode.h
output.c output.h place.c place.h tradcpp.1
utils.c utils.h version.h
Log message:
Add tradcpp 0.4, a standalone traditional whitespace preserving cpp
by David A. Holland of NetBSD.
[>]
http://marc.info/?l=openbsd-cvs&m=140673948009033&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-30 21:55:10
> CVSROOT: /cvs
> Module name: src
> Changes by: ajacoutot@cvs.openbsd.org 2014/07/30 10:54:09
>
> Modified files:
> usr.sbin/sysmerge: sysmerge.sh
>
> Log message:
> Properly warn when an example changes and the corresponding file is found
> under /etc.
>
> issue reported by Nathanael Rensen
> "fine" deraadt@
and ok rpe@
--
Antoine
[>]
http://marc.info/?l=openbsd-cvs&m=140675081613751&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-31 00:55:11
Module name: xenocara
Changes by: matthieu@cvs.openbsd.org 2014/07/30 14:06:30
Modified files:
distrib/notes : README.amd64 README.i386 README.loongson
README.luna88k README.sgi README.sparc
README.sparc64
Log message:
Various updates for 5.6:
- remove the discussion about aperture driver on i386/amd64; it is
handled by the installer
- change references to rc.conf to rc.conf.local(8)
[>]
http://marc.info/?l=openbsd-cvs&m=140675745516151&w=2
obsd.info.14
openbsd-cvs(obsdave,2) — All
2014-07-31 02:55:06
Module name: www
Changes by: sthen@cvs.openbsd.org 2014/07/30 15:57:19
Modified files:
faq/pf : authpf.html nat.html pools.html rdr.html
shortcuts.html tables.html
Log message:
Switch example addresses to the prefixes reserved for documentation in rfc5737.
From Sevan Janiyan, nick@ ok