OpenBSD src changes summary for 2016-07-19 ==========================================
etc/netstart regress/sbin regress/sys regress/usr.sbin sbin/dhclient share/man sys/arch/arm/arm sys/dev/pci sys/kern sys/net sys/netinet sys/netinet6 sys/sys usr.bin/mail usr.bin/mandoc usr.bin/openssl usr.bin/patch usr.bin/ssh usr.sbin/ifstated usr.sbin/rcctl usr.sbin/ripd usr.sbin/switchctl usr.sbin/switchd usr.sbin/vmd == etc =============================================================== 01/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/etc netstart ~ netstart > Do not consider tap(4) a special interface and start if before other > pseudo-interfaces. > This unbreak vlan(4) on top of tap(4) since the refactoring to turn it > MP-safe. > ok claudio@, deraadt@ (mpi@) == regress =========================================================== 02/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/regress sbin ~ route/rttest1.ok ~ route/rttest10.ok ~ route/rttest11.ok ~ route/rttest12.ok ~ route/rttest14.ok ~ route/rttest15.ok ~ route/rttest16.ok ~ route/rttest17.ok ~ route/rttest18.ok ~ route/rttest19.ok ~ route/rttest2.ok ~ route/rttest21.ok ~ route/rttest3.ok ~ route/rttest4.ok ~ route/rttest5.ok ~ route/rttest6.ok ~ route/rttest7.ok ~ route/rttest8.ok ~ route/rttest9.ok > Update counters & unbreak now that rtrequest(RTM_ADD, ...) caches the > gateway. (mpi@) sys ~ net/rtable/srp_compat.h ~ net/rtable/delete/main.c > Adapt test to the srp_swap() area. (mpi@) usr.sbin + switchd/Makefile + switchd/OFP.pm + switchd/args-packet-jumbo.pm + switchd/run.pl > Add simple OpenFlow tests for switchd. (reyk@) + switchd/args-http.pcap + switchd/args-http.pm + switchd/args-icmp.pcap + switchd/args-icmp.pm > Add two more tests that use traffic that was captured with tcpdump. > These files serve as an example, no more .pcap files should be added here > (especially not large ones). (reyk@) == sbin ============================================================== 03/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sbin dhclient ~ bpf.c ~ dhclient.c > Narrow the BPF read filter rules so only packets sent to the > interface's LLADDR pass. Rely on dhclient's existing ability to > detect and react to LLADDR changes. > This limits the number of packets that get dropped as a result of > dhclient setting BIOCSFILDROP on the bpf descriptor. > Problem with bridges and multiple dhclients noted by stsp@. > ok mpi@ stsp@ deraadt@ henning@ (krw@) == share ============================================================= 04/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/share man ~ man9/mbuf.9 > Use a flag to indicate that a packet has been received on an IPv6 > anycast address. > This will allow us to split ip6_input() in two parts using a queue > in the middle. > ok jca@, florian@, bluhm@ (mpi@) == sys =============================================================== 05/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/sys arch/arm/arm ~ pmap7.c > Remove what appears to be a copy-paste error setting cur_ttb > in pmap_free_l1(). > from aalm@ - thanks > ok patrick@ (tom@) dev/pci ~ virtio_pci.c > virtio_pci: Always allow MSI/MSI-X > For virtio devices, ignore the black/white-listing depending on the PCI > bridge. This enables MSI-X with qemu's old "82441FX" pci-bridge. > Suggested by kettenis@ (sf@) kern ~ uipc_usrreq.c > instead of messing about with pointer arithmetic, add an empty array > to the end of the defer structure. solves sizing and alignment concerns. > (tedu@) net ~ route.c > Return EAGAIN for every deleted route when detaching an interface. > Previously the code was "too clever" and returned EAGAIN only for > cloning route assuming that other deletion did not modify the tree. > Analysed by and ok dlg@ (mpi@) ~ art.c ~ rtable.c > Revert use of the _SAFE version of SRPL_FOREACH() now that the offending > function has been fixed. > Functions passed to rtable_walk() must return EAGAIN if they delete an > entry from the tree, no matter if it is a leaf or not. (mpi@) ~ pf_lb.c > remove wrong and misleading comment, ok phessler (henning@) ~ pfvar.h > don't hide globals between function prototypes; ok phessler benno > (henning@) ~ pf_osfp.c ~ pf_ruleset.c > style: no spaces after # for define/include, ok phessler benno (henning@) netinet ~ in_pcb.c > NULLify a route pointer after calling rtfree(9). > This should theoretically be a no-op because we're freeing the PCB > right after, but it helps us debug a reference count problem found > by otto@. > ok mikeb@ (mpi@) ~ ip_carp.c > Fix the check supposed to prevent 'ip' and 'ip-stealth' balancing modes > from leaking the multicast address. > beck@ found the hard way that this made his second CARP master use a > wrong MAC address. > This is part of a bigger diff from Florian Riehm who is currently > working on a proper solution to fix balancing modes. > ok beck@, bluhm@ (mpi@) ~ tcp_output.c > Plug an mbuf leak in the error path of tcp signature in tcp_output(). > OK claudio@ henning@ (bluhm@) netinet6 ~ ip6_input.c > Use a flag to indicate that a packet has been received on an IPv6 > anycast address. > This will allow us to split ip6_input() in two parts using a queue > in the middle. > ok jca@, florian@, bluhm@ (mpi@) ~ ip6_input.c > In ip6_input() use a shortcut to detect our own address if the pf > state key is linked to a socket inp. > OK mpi@ henning@ (bluhm@) ~ ip6_input.c > protect a pf specific function with the correct #if. Fixes ramdisk > building. > (we got lucky before, because the variable that used to be checked was > always available) > OK bluhm@ (phessler@) sys ~ mbuf.h > Use a flag to indicate that a packet has been received on an IPv6 > anycast address. > This will allow us to split ip6_input() in two parts using a queue > in the middle. > ok jca@, florian@, bluhm@ (mpi@) == usr.bin =========================================================== 06/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin mail ~ quit.c ~ v7.local.c > Cleanup close(open idioms. > ok krw (deraadt@) mandoc ~ html.h ~ libmandoc.h ~ mandoc_aux.h ~ mandocdb.c ~ term_ps.c > Use __attribute__((__format__ throughout. > Triggered by a smaller patch from Christos Zoulas. (schwarze@) ~ read.c > Since the mdoc/man parser unification, the parser is always allocated > in mparse_alloc(), so delete all the curp->man == NULL checks. > Triggered by a patch from Christos Zoulas suggesting to add > yet another such check. (schwarze@) openssl ~ openssl.1 > strip back openssl ca: in particular remove some excessively wordy > sections, > move some other sections into more relevant places, and remove the example > ca file; (jmc@) patch ~ inp.c > Cleanup close(open idioms. > ok krw (deraadt@) ssh ~ channels.c ~ sshd_config.5 > Allow wildcard for PermitOpen hosts as well as ports. bz#2582, patch from > openssh at mzpqnxow.com and jjelen at redhat.com. ok markus@ (dtucker@) ~ sshd_config.5 > tweak previous; (jmc@) == usr.sbin ========================================================== 07/07 == http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.sbin ifstated ~ ifstated.h > remove bogus attributes from ifstated, spooted by guenther@ (benno@) rcctl ~ rcctl.sh > In rcctl ls, skip all files with a '.' in the name, not just rc.subr; > pkg_add renames files in this way when the checksums don't match at update > or removal time. [[ ]] suggestion from guenther@ to avoid the messy "case" > that I had in my first diff. Other feedback/suggestions from halex aja > millert, ok halex@ aja@. (sthen@) ripd ~ log.h > remove bogus attributes on fatal* spotted by guenther@ (benno@) switchctl + Makefile + parser.c + parser.h + switchctl.8 + switchctl.c > Import switchd(8), a basic WIP OpenFlow implementation for OpenBSD. > switchd consists of two parts: > 1. switchd(8) and switchctl(8), an OpenFlow controller or "vswitch". > 2. switch(4), an OpenFlow-aware kernel "bridge". > This the 1st part, the driver will be imported later. The code will > remain disabled for a while, but it helps development to have it in > the tree. switchd currently supports partial OpenFlow 1.0, but the > goal is to use OpenFlow 1.3.5 instead (switch(4) already does 1.3.5). > For more background information see: > http://www.openbsd.org/papers/bsdcan2016-switchd.pdf > https://youtu.be/Cuo0qT-lqig > With help from yasuoka@ goda@ > Import discussed with deraadt@ (reyk@) ~ parser.c > Remove unused variable (reyk@) ~ Makefile > The -DNAME=switch flag is an artifact from the PoC when I couldn't > decide on a name. Remove it and fix the name to switchd now. (reyk@) switchd + Makefile + control.c + genmap.sh + imsg_util.c + log.c + ofcconn.c + ofp.c + ofp.h + ofp10.c + ofp10.h + ofp13.c + ofp_map.h + packet.c + parse.y + proc.c + proc.h + switch.c + switchd.8 + switchd.c + switchd.conf.5 + switchd.h + timer.c + types.h + util.c > Import switchd(8), a basic WIP OpenFlow implementation for OpenBSD. > switchd consists of two parts: > 1. switchd(8) and switchctl(8), an OpenFlow controller or "vswitch". > 2. switch(4), an OpenFlow-aware kernel "bridge". > This the 1st part, the driver will be imported later. The code will > remain disabled for a while, but it helps development to have it in > the tree. switchd currently supports partial OpenFlow 1.0, but the > goal is to use OpenFlow 1.3.5 instead (switch(4) already does 1.3.5). > For more background information see: > http://www.openbsd.org/papers/bsdcan2016-switchd.pdf > https://youtu.be/Cuo0qT-lqig > With help from yasuoka@ goda@ > Import discussed with deraadt@ (reyk@) ~ switchd.conf.5 > Comment out device/switch(4) for now (reyk@) ~ ofcconn.c ~ switchd.c > Don't use .p_shutdown in the proc struct (reyk@) ~ switchd.c > L2 tun is tap now (reyk@) ~ ofcconn.c > A bit of cleanup and style changes. ofcconn needs more work. (reyk@) ~ ofcconn.c ~ ofp.c ~ ofp10.c > Correctly use ssize_t instead of size_t for read/write return values. > Pointed out by David Hill and clang. (reyk@) ~ Makefile ~ types.h > The -DNAME=switch flag is an artifact from the PoC when I couldn't > decide on a name. Remove it and fix the name to switchd now. (reyk@) vmd ~ virtio.c ~ vmm.c > Replace malloc() + memset() with calloc(). > ok mlarkin (natano@) =============================================================================== _______________________________________________ odc mailing list [email protected] http://www.squish.net/mailman/listinfo/odc
